RFR: 8234920: Add SpotLight to the selection of 3D light types
kcr at openjdk.java.net
Tue Dec 22 17:43:06 UTC 2020
On Fri, 30 Oct 2020 11:52:03 GMT, Nir Lisker <nlisker at openjdk.org> wrote:
> Is the old implementation worth looking at, or is is completely different?
No, the Java 3D implementation was done using fixed-function pipeline (not shaders), so not really a good starting point.
> Another API point is how to implement the direction - a Point3D or 3 doubles.
Yes, we need to sort this one out for `SpotLight`. This is a direction vector similar to the rotation axis in `Rotate`, so using `Point3D` for this property seems most consistent.
More information about the openjfx-dev