Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8092311

Consider adding vecmath package (Java 3D math library) to JavaFX

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • 8
    • javafx

    Description

      Requested by Don Scales:

      I find it very useful using the vecmath routines in Java3D. It helps in designing
      and writing code if the vertices, normals and texture coordinates are stored and
      managed in their appropriate types - Point3f, Vector3f and TexCoord2f.
      I use lots of arrays in my code and therefore have arrays of Point3f etc.

      I have been using Buffer - FloatBuffer, ByteBuffer more and more in my code
      and like the way you can efficiently access the data in different formats.
      I have been looking at using PointBuffer3f for a buffer of 3D points and then
      passing the associated float buffer to the lower level routines such as
      TriangleMesh.

      I have not been able to write PointBuffer3f, I suspect native language routines
      might be required. I am interested in what you think about vecmath.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ckyang Chien Yang (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Imported: