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

Add support for vertex normals for meshes, in addition to smoothing groups

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:

      Description

      I've been doing quite a bit of testing with creating new meshes. I have discovered that although smoothing groups are often very helpful (a useful and very important option), sometimes, even with a well implemented smoothing group generator (from face/vertex normals), incorrect smoothing groups and artifacts are often generated. It would be very useful to be able to explicitly specific face/vertex normals for meshes, in addition to the option of smoothing groups.

      Along similar lines, August Lammersdorf of Interactive Mesh notes:
      "Even if a 3D file format supports smoothing groups, e.g. 3DS and OBJ (Collada, VRML2, and X3D don't), its use isn't mandatory. Alternatively normals or a crease angle might be delivered. Will JavaFX 3D provide a smoothing group generator utility, as normals are not implemented yet? Otherwise importer/loader have to include such a feature."

      (Note that we do have a good smoothing group generator utility for internal testing. However, even with such a smoothing group utility, one does not always get the visual result that one expects, compared to the originally modeled mesh.)

        Attachments

        1. correct_normals.jpg
          30 kB
          John Yoon
        2. duke_smoothingGroup_possibleNumericalError.jpg
          72 kB
          John Yoon
        3. duke_wave_JavaFX.jpg
          71 kB
          John Yoon
        4. duke_wave_maya.jpg
          225 kB
          John Yoon
        5. incorrectly_generated_smoothing_groups_in_JavaFX.jpg
          62 kB
          John Yoon

          Issue Links

            Activity

              People

              Assignee:
              ckyang Chien Yang (Inactive)
              Reporter:
              jyoon John Yoon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: