Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualization of stage lighting vectors #141

Open
zrksyd opened this issue Jan 29, 2023 · 4 comments
Open

Visualization of stage lighting vectors #141

zrksyd opened this issue Jan 29, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@zrksyd
Copy link
Contributor

zrksyd commented Jan 29, 2023

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.

@ScanMountGoat
Copy link
Owner

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.

@zrksyd
Copy link
Contributor Author

zrksyd commented Jan 29, 2023

image
I was thinking something like this

@Lilothestitch16
Copy link

I actually like that idea.

@ScanMountGoat ScanMountGoat added the enhancement New feature or request label Feb 1, 2023
@ScanMountGoat
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants