Lan,

>
> I went through the j3d archive regarding the Switch Node and came back
> still confused. Here are my questions.
>
> I read that putting link leaves under the switch node has performance
> problem. Has this problem solved yet?
>

I don't think there is a performance issue here. Can you elaborate more ?

> The Shape3D objects under a switch node will not be rendered when they are
> switched off.
> If I have links under a switch node, when they are switched off, the
> Shape3D that these links pointing to will not be rendered, correct?

Yes, if those are the only links pointing to the SharedGroup above that
Shape3D.

>
> Will these Shape3Ds pointed by links also sent to the video card, and then
> determined which to render there? In another words, can I use switch node

No, the check is done within Java 3D.

> to do a occlusion culling for the Shape3Ds that pointed by link leaves?

Yes, please refer to perf_guide.txt

      - Switch Nodes for Occlusion Culling
             If the application is a first person point of view
        application, and the environment is well known, Switch nodes
        may be used to implement simple occlusion culling.  The
        children of the switch node that are not currently visible may
        be turned off.  If the application has this kind of knowledge,
        this can be a very useful technique.

Hope this helps.

        Chien Yang
        Java 3D Team.


===========================================================================
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