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

Home » Public Forums » archive » Re: z-buffer and /noerase ?
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: z-buffer and /noerase ? [message #41691 is a reply to message #41675] Tue, 09 November 2004 09:43 Go to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
sandrokan wrote:
> Ave, IDL users!
>
> I've got two contour maps that should be drawn over an image, and I'm using
> contour with /noerase key.
>
> One could expect that the second contour would be drawn over the first one.
> Strangely, if I use "set_plot, 'z'" command, the order is reversed (the
> first one is over the second one). Please see this code:
>
>
>
> pro test3
> device, decomposed=0
> loadct, 13
> set_plot, 'z'
> erase
> a=dist(50) gt 10
> contour, a, levels=[.5], color=200, /noerase
>
> contour, a-1, levels=[-.5], color=100, /noerase
>
> a=tvrd()
> set_plot, 'win'
>
> tv, a
> end
>
>
> I got a yello line (color=200) instead of the plue line (color=100).
> This problem does not happen if I use the win device....
>
>
> Thank you very much for any explanation. I use IDL5.2...
>
>
> A
>
>
Hi,

Try switching z-buffering off (I think it is sticky, so don't forget to turn it
back on which is the default.)

DEVCIE, z_buffering = 0

Ben
[Message index]
 
Read Message
Read Message
Previous Topic: Re: ion java-Servlets?
Next Topic: Re: 8 to 24 bit conversion

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

Current Time: Thu Dec 04 12:00:49 PST 2025

Total time taken to generate the page: 1.11683 seconds