I think I was a little unclear about what I was needing. Getting the geometry
isn't the problem, My application constructs it as a TriangleFanArray (not a
simple primitive), and I am using the getCoordinates() method to pull the data.
The problem is exporting it in a useable format.
What I've had to settle for is, writing it out in .RAW format, then using
Crossroads to convert it to OBJ or DXF so I can import it into Maya. (the
surface I'm building in an hour in Java3D would take days to draw by hand in
Maya)
My problem is solved, but I still think it's importiant to have export classes
to complement the existing loader classes.
Thanks for your reply
Don
Marco Lohse wrote:
> Hi Don,
> just try
> myGeom1 = Cylinder.getShape(Cylinder.BODY).getGeometry();
> myGeom2 = Cylinder.getShape(Cylinder.BOTTOM).getGeometry();
> myGeom3 = Cylinder.getShape(Cylinder.TOP).getGeometry();
> then you have to cast to specific GeometryArray type (like TriangleFanArray)
> and any getCoordinate[s](..)-function. it is nearly the same for other
> primitives, just have a look in the docs, Greets, Marco.
>
> ----- Original Message -----
> From: Casteel, Don <[EMAIL PROTECTED]>
> > I'd love to find out how to export in OBJ format.
> >
> > Please let me know how you are doing this !!
> >
>
> ===========================================================================
> 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".
===========================================================================
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".