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

Home » Public Forums » archive » Re: How to control the order of the objects to draw [using object graphics]
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: How to control the order of the objects to draw [using object graphics] [message #64905] Wed, 28 January 2009 13:09 Go to previous message
Mark[1] is currently offline  Mark[1]
Messages: 66
Registered: February 2008
Member
By default, the Object Graphics system controls visibility of
overlapping objects according to the position in the Z direction. So
if you want object A drawn in front of object B, put A above B
(greater Z).

It's a bit more complicated for IDLgrVolumes--for more info, search
this group for the word "pimento".

There are are a few object properties that modify this behaviour. The
effect of depth can be modfied by changing an IDLgrModel's
DEPTH_TEST_FUNCTION property. The effect of depth can be disabled by
setting an IDLgrModel's DEPTH_WRITE_DISABLE to 1; in this case the
visibility of objects in that model is controlled by position in the
container. Line-type atoms can be made to appear in front of filled
atoms at the same using the DEPTH_OFFSET function.

However I suggest you start by leaving the depth-cuing properties at
their default values and using depth (Z position) to control
visibility.

Mark
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: From IDL to JS or PHP or C++
Next Topic: How To Display Hinode Fits files Through IDL object Graphics

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

Current Time: Fri Oct 10 13:24:50 PDT 2025

Total time taken to generate the page: 0.40261 seconds