comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: strange behaviour with z-buffer
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: strange behaviour with z-buffer [message #11938] Tue, 09 June 1998 00:00 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
> You must configure the Z-graphics buffer to be exactly like
> your window. This means you need to make the resolution
> and number of colors the same. (The Z-buffer has 256 colors
> by default, which can be a very nice feature when making
> GIF files. In fact, is one reason why I almost always use
> the Z-buffer to make GIF files.) To make the Z-buffer
> exactly like your current graphics window, try this:
>
> ncolors = !D.N_Colors - 1
> Set_Plot, 'Z'
> Device, Set_Resolution=[!D.X_Size, !D.Y_Size], $
> Set_Colors=ncolors

Different devices can also have different default font sizes, so one needs to
be careful of this.

____________________________________________________________
Mark Rivers (773) 702-2279 (office)
CARS (773) 702-9951 (secretary)
Univ. of Chicago (773) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars.uchicago.edu (e-mail)

or:
Argonne National Laboratory (630) 252-0422 (office)
Building 434A (630) 252-0405 (lab)
9700 South Cass Avenue (630) 252-1713 (beamline)
Argonne, IL 60439 (630) 252-0443 (FAX)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL and COM
Next Topic: Upgrade from 3.6

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 03:07:09 PDT 2025

Total time taken to generate the page: 0.40062 seconds