To quote from an email of February 1998:

***********************************************************************

An issue has been raised as to how multiple views are handled with LOD
and with Billboard behavior.  As has been pointed out, the fact that
Billboard and LOD are behaviors that operate on the scene graph makes
it difficult to support multiple views, each with a different
orientation or level of detail.

We realize that this is a hole in the current design and have added
the following new method to the Behavior node object to address this
issue.

        protected View getView()

        Returns the primary view associated with this behavior. This
        method is useful with certain types of behaviors (e.g.,
        Billboard, LOD) that rely on per-View information and with
        behaviors in general in regards to scheduling (the distance
        from the view platform determines the active behaviors). The
        "primary" view is defined to be the first View attached to a
        live ViewPlatform, if there is more than one active View. So,
        for instance, Billboard behaviors would be oriented toward this
        primary view, in the case of multiple active views into the
        same scene graph.

This method will be part of the impending public early access release.
We will be releasing an updated API specification at the same time.
Subsequent versions of the API will address the issue of providing
more complete support for multiple views, but the current version is
somewhat limited in this respect.

Hope this helps.

--
Kevin Rushforth
Java 3D Team
Sun Microsystems
***********************************************************************



David HALLE wrote:
>
> Hi all,
>
> I want to know if a LOD behavior will worked with several views? I
> mean, will the shape of my object be different in each view depending
> on the distance of the camera to this object??? Or is it attached only
> to one view??
> I think this was discussed here before, I can't remember the
> result....sorry.
>
> Regards,
>
> ===
> David.
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com

--
-----
Dennis J Bouvier
[EMAIL PROTECTED]
Find the Java 3D Tutorial "Getting Started with the Java 3D API" at
http://sun.com/desktop/java3d/collateral

Reply via email to