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

Provide default AmbientLight

    XMLWordPrintable

    Details

      Description

      Take a look at the code in the attachment. It sets a MeshView with TriangleMesh and PhongMaterial of RED color and adds it to the scene.

      What you get is black rectangle.

      It is not obvious that in order to see the color of the material you have to set AmbientLight.

      I believe there should be default white AmbientLight if no ambient light is specified to the scene. It would make easier for developers to start with 3D in JavaFX.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ckyang Chien Yang (Inactive)
              Reporter:
              mrkam Alexander Kuznetcov (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: