Hi Christoph,
> I'm writing on a modelling kit for numerical calculation. For that, I
> will display for example a cube with lines and points. Is there a
> posibility to modifiy the behaviour by displaying the lines and points
> for the same shapeobject? Or I have to build two shapes, one for the
> lines, the another for the points?
In order to solve your problem, you need to construct two separate
Shape3D nodes. The Shape3D nodes can reference two separate
GeometryArray objects (one for lines and one for points) but the
same Appearance bundle. Or if the Appearance bundles need to be
somewhat different, you can create two separate Appearances that
reference many of the same attributes objects.
Then, you can write a single behavior that operates on both Shape3D
nodes.
Hope this helps.
Thanks,
Travis Bryson
> Date: Mon, 18 Jan 1999 11:27:06 +0100
> From: Christoph Helmert <[EMAIL PROTECTED]>
> MIME-Version: 1.0
> To: [EMAIL PROTECTED]
> Subject: [java3d] Wireframe and Points
> Content-Transfer-Encoding: 7bit
>
> I'm writing on a modelling kit for numerical calculation. For that, I
> will display for example a cube with lines and points. Is there a
> posibility to modifiy the behaviour by displaying the lines and points
> for the same shapeobject? Or I have to build two shapes, one for the
> lines, the another for the points?
>
> Regards
>
> Christoph
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/