From: Brian Furtaw (brian++at++sgi.com)
Date: 05/30/2002 04:25:33
When you turn the pfSwitch off the CULL traversal removes it from the
pfDisplayList so that pfSwitch node and its children are not accessable
during the DRAW traversal.
Brian
Dimi wrote:
>
> Hi,
> I noticed that when setting a pfSwitch node to OFF its pre/postDraw
> callbacks dont get called.
> Is there a way to bypass this and let its callback function to be
> called.
> I would like to be able to call its pre/postCallback functions at least
> once after setting the node
> to OFF, to manually remove (using pfDeleteGLHandle) the textures under
> the scene graph of the
> pfSwitch node (it can only be done when there is a valid graphics
> context like in the pfDraw callbacks),
> and remove the whole scene graph afterwards in the app() using pfDelete.
>
> Thanks
> Dimi
--
----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
Brian Furtaw (brian++at++sgi.com) Mailstop: DSE-2612
Graphics Guru Office:(301)572-3293 Fax: (253)323-8182
12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision
Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device
Drivers
This archive was generated by hypermail 2b29 : Thu May 30 2002 - 04:40:15 PDT