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

Provide default AmbientLight

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: