For now, you can use an empty Group node (a Group node with no children,
not a null reference).  In Java 3D 1.2, we will allow null children, so that
you don't have to create a dummy node.

--
Kevin Rushforth
Java 3D Team
Sun Microsystems

[EMAIL PROTECTED]


>Date:         Tue, 14 Sep 1999 12:37:42 -0700
>From: Tim Bray <[EMAIL PROTECTED]>
>Subject:      [JAVA3D] DistanceLOD with only one child, why not?
>To: [EMAIL PROTECTED]
>
>I have hundreds of (reasonably simple) objects in the scene, and rendering
>was just fine until I pasted Text3D labels on all of 'em.  So I wired in
>a DistanceLOD on each Text3D to make it appear when you got close.  (Also
>a Billboard, looks cool, leaping into existence and swivelling around).
>Works fine, except for what to show in the distance?  I tried doing an empty
>Shape3D, but, well, no geometry, sigh, exceptions.  So now I'm doing a short
>transparent line which works fine and doesn't seem to slow down the renderer
>at all, but it feels silly.  I tried doing a DistanceLOD with only one child,
>because that seems like the *right* thing - show this when the viewer's close,
>otherwise not.  But that doesn't seem to work either.  Is there a well-known
>Right Thing To Do?  Seems to me that a DistanceLOD whose switch has only
>one child would be very reasonable. -Tim
>
>===========================================================================
>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