Rob Nugent wrote:

I have a quick question:

Is it valid to change the child mask of a Switch from the preRender
method of a
Canvas3D ?

Yes.


If so, will the result show up in that frame ?

No. I should be next frame.



I'm thinking of writing something akin to DistanceLOD that will work for multiple Views/Canvas3Ds, and I wondered if this might be a valid approach.


It is highly recommend to set scenegraph attribute in Behavior callback
instead of preRenderer()/postRenderer() if possible.

- Kelvin
------------
Java 3D Team
Sun Microsystems Inc.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to