Skip to content

Conversation

@tlf30
Copy link
Contributor

@tlf30 tlf30 commented Dec 13, 2020

This PR adds support for the GLTF KHR_lights_punctual extension which allows lights from gltf files to be imported.
https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_lights_punctual

Please feel free to give feedback. I am currently looking for advice on implementing the intensity field from the gltf spec into the jme lights.

GLTF model taken from the KHR_light_punctual repo listed above.

@tlf30 tlf30 marked this pull request as ready for review January 15, 2021 02:35
@tlf30
Copy link
Contributor Author

tlf30 commented Jan 16, 2021

Still having an issue with rotation on spot lights.

@Markil3
Copy link
Contributor

Markil3 commented Feb 1, 2021

I have a fix for spotlight rotations, as I detail here. However, the fix is useful enough that I've suggested we may move it to a seperate PR.

@Markil3 Markil3 mentioned this pull request Feb 2, 2021
@tlf30
Copy link
Contributor Author

tlf30 commented Feb 25, 2021

Currently blocked on #1466

@stephengold stephengold added this to the v3.4.0 milestone Feb 25, 2021
@tlf30
Copy link
Contributor Author

tlf30 commented Mar 23, 2021

#1466 was merged, I will update this ASAP.

@tlf30
Copy link
Contributor Author

tlf30 commented Mar 23, 2021

OK, I think this is ready for review.

@stephengold stephengold merged commit 303e22e into jMonkeyEngine:master Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants