#55 Saving memory in ViewableFE class in viewer3d

open
Jerome Robert
None
1
2007-10-15
2007-10-15
Jerome Robert
No

Discussion

  • Denis Barbier
    Denis Barbier
    2007-12-11

    Logged In: YES
    user_id=94642
    Originator: NO

    I gave it a try, but picking raises an exception: Exception occurred during Behavior execution:
    java.lang.IllegalStateException: IndexedGeometryArray: cannot access indices directly in BY_REFERENCE_INDICES mode
    at javax.media.j3d.IndexedGeometryArray.getCoordinateIndex(IndexedGeometryArray.java:907)
    at com.sun.j3d.utils.picking.PickResult.intersectITA(PickResult.java:1292)
    at com.sun.j3d.utils.picking.PickResult.intersect(PickResult.java:784)
    at com.sun.j3d.utils.picking.PickResult.generateIntersections(PickResult.java:610)
    at com.sun.j3d.utils.picking.PickResult.numIntersections(PickResult.java:400)
    at com.sun.j3d.utils.picking.PickTool.pickGeomAllSortedIntersect(PickTool.java:867)
    at com.sun.j3d.utils.picking.PickTool.pickAllSorted(PickTool.java:542)
    at org.jcae.viewer3d.ViewBehavior.basicPickPoint(ViewBehavior.java:372)
    at org.jcae.viewer3d.ViewBehavior.pickPoint(ViewBehavior.java:416)
    at org.jcae.viewer3d.ViewBehavior.defaultMode(ViewBehavior.java:176)
    at org.jcae.viewer3d.ViewBehavior.processMouseEvent(ViewBehavior.java:117)
    at com.sun.j3d.utils.behaviors.vp.OrbitBehavior.processAWTEvents(OrbitBehavior.java:311)
    at com.sun.j3d.utils.behaviors.vp.ViewPlatformAWTBehavior.processStimulus(ViewPlatformAWTBehavior.java:228)
    at javax.media.j3d.BehaviorScheduler.doWork(BehaviorScheduler.java:172)
    at javax.media.j3d.J3dThread.run(J3dThread.java:256)