ssbh_editor icon indicating copy to clipboard operation
ssbh_editor copied to clipboard

Visualization of stage lighting vectors

Open zrksyd opened this issue 2 years ago • 4 comments

When a light00.nuanmb is loaded in the stage lighting section, a way to visualize the stage lighting vectors. Specifically for the rotations but you could also visualize translations and scales too. It would also help to have the names of each vector display similar to the bone names.

zrksyd avatar Jan 29 '23 21:01 zrksyd

Can you elaborate on what information you would want to see in a vizualization? The current renderer is primarily focused on character rendering, which just needs the direction vector. Programs typically represent directions as XYZ euler angles or as a 3D directional arrow in the viewport. Creating a meaningful visualization for the translation and scale would require researching what those values actually do in game. One possible theory is that directional lights are restricted to a region of influence. I believe smash 4 had a similar system, but I don't recall looking into it much.

ScanMountGoat avatar Jan 29 '23 21:01 ScanMountGoat

image I was thinking something like this

zrksyd avatar Jan 29 '23 22:01 zrksyd

I actually like that idea.

Lilothestitch16 avatar Jan 29 '23 23:01 Lilothestitch16

Using arrows with the names seems like a good approach. There will need to be some UI changes to control the visualization. Lighting applies to the entire scene, so it probably doesn't need to be more advanced than some checkboxes to toggle the light shapes on/off in render settings. It depends on how many lights there are for a typical stage.

ScanMountGoat avatar Feb 01 '23 19:02 ScanMountGoat