Hello,

If my SceneGraph contains CompressedGeometry objects,
I  get :

java.lang.ClassCastException: javax.media.j3d.CompressedGeometry
        at
com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.NodeState.writeObj
ect(NodeState.java:61)
        at
com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.BehaviorState.writ
eObject(BehaviorState.java:72)
        at
com.sun.j3d.utils.scenegraph.io.retained.Controller.writeObject(Controll
er.java:294)
        at
com.sun.j3d.utils.scenegraph.io.retained.RandomAccessFileControl.writeOb
ject(RandomAccessFileControl.java:399)
        at
com.sun.j3d.utils.scenegraph.io.retained.RandomAccessFileControl.writeNo
deComponents(RandomAccessFileControl.java:358)
        at
com.sun.j3d.utils.scenegraph.io.retained.RandomAccessFileControl.writeBr
anchGraph(RandomAccessFileControl.java:219)
        at com.sun.j3d.utils.scenegraph.io.SceneGrStarted Thread
aphFileWriter.writeBranchGraph(SceneGraphFileWriter.java:129)
        at
com.sun.j3d.utils.scenegraph.io.SceneGraphFileWriter.writeBranchGraph(Sc
eneGraphFileWriter.java:117)


while writing to stream with SceneGraphIO.
I'm using j3d 1.3b2 .
I think there is missing CompressedGeometryState in the package.


Regards,
Andreas

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