Hello,
Does anybody can run "obj2cg.java" program, which comes with java3d demo?? I
run with the following command line
(java obj2cg galleon.obj galleon.cg) and I get the exception like this.

Exception in thread "main" java.lang.IllegalStateException: GeometryArray:
cannot directly access data in BY_REFERENCE mode
        at
javax.media.j3d.GeometryArray.getCoordinates(GeometryArray.java:2713)
        at
com.sun.j3d.utils.compression.CompressionStream.addGeometryArray(Compression
Stream.java:1049)
        at
com.sun.j3d.utils.compression.CompressionStream.<init>(CompressionStream.jav
a:1293)
        at ObjectFileCompressor.getStream(ObjectFileCompressor.java:179)
        at ObjectFileCompressor.compressScene(ObjectFileCompressor.java:171)
        at ObjectFileCompressor.compress(ObjectFileCompressor.java:118)
        at obj2cg.main(obj2cg.java:62)


Can somebody tell me why is this exception coming please??? I have no
problem running any other demo programs but, this one. This "obj2cg.java"
program comes with java 3D API 1.3 Beta 1
version(java3d-1_3-beta1-win-directx-sdk.exe). Is anybody have the same
problem like me??

Maung.

===========================================================================
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".

Reply via email to