If I understood the original question right, what you want is a behavior
similar to LOD ( and you know how to use LOD).
But this behavior should not simply use the distance to set the appropriate
value on the switch.

What I did was to extend LOD and implement the processStimulus method
to project object points onto the view plane (I think that which points
will depend on your application. One can use an axis-aligned bounding box,
for instance, and compute the area.)

The computed value can then be compared with an array and set the switch.

E.


                                        -Enylton Machado Coelho
                                         [EMAIL PROTECTED]
                                 [ http://www.cc.gatech.edu/~machado ]

>MIME-Version: 1.0
>Date: Mon, 14 May 2001 13:21:56 -0700
>From: Ahmed Shakil <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] Level-Of-Detail.
>To: [EMAIL PROTECTED]
>
>look int the the Switch class
>
>-----Original Message-----
>From: Magnus Olofsson [mailto:[EMAIL PROTECTED]]
>Sent: Friday, May 11, 2001 7:49 AM
>To: [EMAIL PROTECTED]
>Subject: [JAVA3D] Level-Of-Detail.
>
>
>Dear All.
>
>Has anyone out there used LOD where the size of the shape on screen
>determines the LOD?
>I want to use a lower level of detail for things that are anyway too small
>for the user to appreciate the higher level of detail.
>
>     /Magnus

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