java3d
  1. java3d
  2. JAVA3D-625

By reference mode not supported in GeometryInfo constructor from an IndexedGeometryArray

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.1
    • Fix Version/s: not determined
    • Component/s: j3d-core-utils
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      625

      Description

      The constructor of GeometryInfo from a GeometryArray doesn't work properly with
      an IndexedGeometryArray with the "by reference" mode enable.

      This throws the following exception :

      Exception in thread "main" java.lang.IllegalStateException:
      IndexedGeometryArray: cannot access indices directly in BY_REFERENCE_INDICES mode
      at
      javax.media.j3d.IndexedGeometryArray.getCoordinateIndices(IndexedGeometryArray.java:932)
      at
      com.sun.j3d.utils.geometry.GeometryInfoGenerator.processIndexedArray(GeometryInfoGenerator.java:795)
      at
      com.sun.j3d.utils.geometry.GeometryInfoGenerator.create(GeometryInfoGenerator.java:126)
      at
      com.sun.j3d.utils.geometry.GeometryInfoGenerator.create(GeometryInfoGenerator.java:87)
      at com.sun.j3d.utils.geometry.GeometryInfo.<init>(GeometryInfo.java:233)

      It seems that this is an issue with GeometryInfoGenerator because the method
      processGeometryArray() handle the "by reference" mode but the method
      processIndexedArray() doesn't.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            java3d-issues
            Reporter:
            ylliac
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: