[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

2458.0. "Background maps - XBM or something else ?" by EEMELI::VALTONEN () Mon Mar 02 1992 07:57

    For V1.1 I was among those asking scanned background maps.
    Now XBM bitmap files seem to provide this capability...
    However as unsupported feature?
    
    Question: 
    
    I've once again customer RFI requesting "physical map support".
    How I could answer this today?
    Is XBM background map support going to be supported in future
    release?                       
T.RTitleUserPersonal
Name
DateLines
2458.1support for scanned in backdropsTOOK::PELAGATTIAnneTue Mar 10 1992 14:231
Scanned in backdrops will be supported in V1.2.  
2458.2Great this closes one obstacle of selling MCCEEMELI::VALTONENWed Mar 11 1992 06:368
    Thanks a lot.
    
    Earlier replies to same question were "unsupported" which got me
    worried.
    
    This has been waited for over 1 and 1/2 years.
    
    Olli
2458.3QUIVER::CHILDSEd ChildsWed Mar 11 1992 16:0810
| Scanned in backdrops will be supported in V1.2.  

    I was talking to a V1.2 field test site, Dow Chemical, last week.  He
    said he saw an MCC demo with scanned backdrops and the demostrator said
    this was available with V1.2.  He has been unable to locate the
    documentation on how to use his floor plan as a backdrop.  I said I
    would follow up on his question.  He currently has the T1.2.4 EFT kit
    installed.

    What should I tell him?
2458.4Remember the docs are in FT, too. ;^)TOOK::MCPHERSONSave a tree: kill an ISO working group.Wed Mar 11 1992 17:1733
It's not in the docs.  I hope that the documentation people will chime in herea
and let you know when/where/what about the documentation.

Do you want instructions here to convery to Dow?

The map backdrop MUST be X11 format.  There are limitations with using the X11
backdrop files (as you will soon find): E.g. they start duplicating themselves
if they're smaller than the window size; They don't scroll when you move the
viewport around, so if you're not careful your icons will move with respect to
the backdrop when you scroll around, etc.

* Get the picture into X11 bitmap format and save it somewhere
From the IMPM:
 * open a new domain (e.g. MYDOMAIN)
 * don't put anything in it
 * save map (e.g. into MCC_MAPS:MY_DOMAIN_BACKGROUND.XBM)
Outside of MCC
* edit the map file for the domain (you created it with the "save map"
  operation).
* underneath the second line (it should say "domain .MYDOMAIN"), insert the
  line:
     background_pixmap mcc_maps:my_domain_background.xbm
	(where "mcc_maps:my_domain_background.xbm" is the full filespec for the
                X11 bitmap file you want to appear in the background.
* exit - without making any more changes!
From the IMPM
 * Now open the domain "MYDOMAIN" from the IMPM and you should see the X11
   bitmap backdrop. Ta Da.


If this doesn't work, then you didn't hear it from me.  ;^)

/doug
2458.5Tell Him...BSYBEE::EGOLFJohn C. Egolf LKG2-2/T02 x226-7874Wed Mar 11 1992 17:2436
Re .-1
| What should I tell him?

	Tell him that he has FT documentation that is never as complete
	as documentation for the released product.    Tell  him  if  he
	wants to insert an XBM file as  a  backdrop during field test ,
	that he needs to edit the map file and...

Map Backdrops:

	Within  the  V1.2 Iconic Map, you can, in  addition  to  vector
	formatted backdrops, you can have bitmap (.XBM) backdrop maps.

	The two backdrops operate differently.  

	The  vector  format  maps  allow  you  to paste a  map  in  the
	background  and  as  you  navigate  thru  the  domain,  the map
	backdrop  will  change accordingly.  You can see the vector map
	in the navigation window as well.

	The bitmap  backdrops are more easily created.  You can scan in
	maps or easily  create  then  with DECpaint or comparible tool.
	These maps do not  change  as  the  window  (or  view  within a
	domain) changes.  You cannot  see  these maps in the navigation
	window.  These maps should be  used for single window displays;
	windows in which all interested objects fit.

	Sample V1.2 map file to show how to include XBM backdrop
	Note: This is a "version 0" map format

 version 0
 domain jce
 background_pixmap sys$login:INTEROP_FLOOR.XBM
 last_x 0.000000 last_y 3.569646


2458.6Improvement needed.STRASB::EBLEMon Mar 16 1992 14:2914
    Hi,
    	I also test the X11 backdrops. It works as said in this note. Do
    you plan for version 1.2 or whatever to modify it ? Mainly I think it
    is mandatory to see this backdrop moving as you move the map. It will
    also be good to have an option saying : "No duplicate even if the
    backdrop is smaller than the map size.".
    
    	The vector formatted backdrops seems to be the real solution. So
    the best answer will be to have a tool converting scanned images (X11
    format or DDIF) into vector format. Is there something planned in this
    area (in DECmcc or elsewhere CDA ...) ?
    
    Thanks for your answers.
    
2458.7TOOK::R_SPENCENets don't fail me now...Mon Mar 16 1992 18:448
    The behaviour of the X11 backdrops are not changing for V1.2
    
    I agree that it would be nice for it to move when you scroll the
    window but it isn't going to be that way. Sorry.
    
    If you need to have a backdrop move, then vector is the only way.
    
    /srob
2458.8Beware of behavoir when using .XBM filesFOUR62::LICAUSEAl Licause (338-5661)Wed Jul 08 1992 17:1023
I've read the previous responses and have used the information to create a
domain using .XBM files.  All well and good and after understanding the 
limitations can explain same to the customer.

However, I noticed some additinal objectionable behavior.

I have a top level domain call .US....I open this domain by default when
starting MCC and have used the default united_states map supplied with MCC.

My office is located near the Atlantic Ocean and  I have place all of my
domains near there for demo purposes. 

If I have a subdomain or even a detached (unrelated domain) defined and have
a bit mapped background associated with it, I've noticed that when I open the
domain with the bit mapped background, then try to return to my top level
domain, either by stepping back up through the domains, or open .US directly,
the water or background area still has the .XBM image.

This is V1.2 SSB MCC on VMS.....not very nice behavior!

I hope this is fixed or at least an alternative is offered for V2.0!

Al