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

Add SpotLight to the selection of 3D light types

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • jfx13
    • jfx17
    • javafx
    • None

    Description

      The 3D API offer AmbientLight and PointLight lights. DirectX and OpenGL offer, in addittion, SpotLight and DirectionalLight.

      This issue deals with the addition of SpotLight. A SpotLight behaves like a PointLight with 2 differences:
      1. It has a direction.
      2. It has an inner and an outer angles that defined the spread of the light beam in the specified direction.

      PointLight will subclass LightBase.

      See also the D3D9 docs: https://docs.microsoft.com/en-us/windows/win32/direct3d9/light-types

      Attachments

        Issue Links

          Activity

            People

              nlisker Nir Lisker
              nlisker Nir Lisker
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: