> Date: Thu, 24 Jan 2002 23:06:28 -0500 > From: Maung Min <[EMAIL PROTECTED]> > > Is there any program can save or export CompressedGeometry file type? What I > mean is how can I create CompressedGeometry file, which represent a > graphical object. For example, I want to get the CompressedGeometry file > type which represents a cube or a ball(simple one). So, when I write Java3D > program(create Geometry object with this CompressedGeometry file) and load > up the 3D image.
You can use the compress(CompressionStream stream, CompressedGeometryFile f) method of GeometryCompressor to write to a CompressedGeometryFile. See the obj2cg example program in programs/examples/GeometryCompression. The cgview example program in the same directory shows how to read a CompressedGeometryFile and put the file contents into a scene graph. -- Mark Hood =========================================================================== 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".