THere is nothing special to do to make a OrientedShape3D object always
face the viewer. This magic happens at runtime.
So you create an OrientedShape3D and add the geometry(ies) and
appearance
as needed. Take a look at the example that comes with the JDK.
There is a detailed discussion and example in the latest (soon to be
released) version of the tutorial. Keep an eye on the collateral
page for it: http://java.sun.com/products/java-media/3d/collateral
Also, there are a couple of known bugs related to OrientedShape3D.
These should be fixed in the next release (1.2.1_02) of the API.
Christian Bartel wrote:
>
> Hi!
>
> Could you be so kind and help me out with a peace of code? I have found the
> orientedShape3D in the API-doc, but I am not quite sure about how to use it.
> What point have I do give the contructor to make it be oriented to the
> camera? I am far to new to Java3D...
>
--
---------------------------
Dennis J Bouvier
[EMAIL PROTECTED]
Find the Java 3D Tutorial "Getting Started with the Java 3D API" at
http://java.sun.com/products/java-media/3d/collateral
===========================================================================
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".