hmm, I refer to "object" as runtime version of the "class" instance.
Anyway more to the point, I would specialize Vehicule from
either Group or TransformGroup. Extending Vehicule from Shape3D is out of
question since you mention that Vehicule is a -group- of shapes.
Which is best optimised ? I don't know, but it probably look simpler if
you extend it out of TransformGroup. I only hope that when I compile 
my scenegraph Java3D does such optimisation for me.

Regards,
rOnn c.

On Fri, 19 Feb 1999, Rayan Jreije wrote:

> Maybe i'll have to clarify one point.
> I want to create my own Primitive "Classes"  and not "Objects".
> I want to create  a new class let's say called "Vehicule" which is a
> specific group of shapes, whose size and positions are parametrized.
> 
> What's the best to do?
> Should vehicule extend Group?
> Should it Extend Transform group?
> or Should It extend Shape3d?
> (Note that Vehicule is a complex shape and thus can't be just one simple
> Quad Array or Triangular array)
> 
> I hope this illustration makes my question clearer.
> Cheers,
> 

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to