Shawn,

One of the optimizations in BranchGroup.compile() is to flatten
the graph. Currently in Java3D 1.3, only non-modifiable TransformGroups
will be removed, and the transformation will be recursively applied
down the graph as low as into the geometry if

        . the geometry is not readable AND
        . the geometry is not being shared by more than one Shape3D  AND
        . the geometry is not BY-REF AND
        . the Shape3D is not pickable or collidable AND
        . the Shape3D does not have TransparencyAttributes



Charmaine Lee
Sun Microsystems



> Delivered-To: [EMAIL PROTECTED]
> X-Accept-Language: en
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Date: Tue, 29 Jan 2002 20:19:17 -0500
> From: "Kendall, Shawn" <[EMAIL PROTECTED]>
> Subject: [JAVA3D] TransformGroup Flatten/Removal
> To: [EMAIL PROTECTED]
>
> Has anyone out there written a util that takes a graph, and flattens it?
>
> That is, removes all the TransformGroups by recursively applying them
> down the graph into the Shape3D leaves.
> Just wondering before we go and do it. :-)
>
> --
> ___________________________________________________________
>
> "It is ridiculous to claim that video games influence children. For
> instance, if Pac-man affected kids born in the eighties, we should by
> now have a bunch of teenagers who run around in darkened rooms and pop
> pills while listening to monotonous electronic music.." - anon
>
> Shawn Kendall               Full Sail Real World Education
> Course Director             3300 University BLVD
> Real Time 3D for Gaming     Winter Park FL 32792
> [EMAIL PROTECTED]       http://www.fullsail.com
> ___________________________________________________________
>
> ===========================================================================
> 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".

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