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

Design and implement components to edit material values (vectors etc) #600

Open
tonihele opened this issue Apr 28, 2024 · 5 comments
Open

Comments

@tonihele
Copy link
Contributor

Design and implement components to edit material values (vectors etc). I think we are mainly missing editors for matrices and vectors. And int & float arrays and array vectors. It is difficult for a new comer to understand how to input these values. Like the decimal separator is always "." and what is a vector separator etc...

Challenge is to design components that provide ease to use but also efficient for those who'd just prefer to write the value quickly.

These are distributed from com.jme3.gde.materials.multiview.widgets.WidgetFactory.

@neph1
Copy link
Contributor

neph1 commented Apr 30, 2024

Would make it easier if we could get some reference design. How do others do it?

@tonihele
Copy link
Contributor Author

tonihele commented Apr 30, 2024 via email

@neph1
Copy link
Contributor

neph1 commented May 1, 2024

Here's Unity for some inspiration.
Screenshot from 2024-05-01 07-25-42

Having sliders for floats is not a bad idea. There's plenty of space.
Maybe make inserting values into Vector4f manually an extra step. They take up the most space.

@neph1
Copy link
Contributor

neph1 commented May 4, 2024

I've begun with a slider for floats that are bound 0-1.

Edit: So regarding this. Is it really just Metallic, Roughness, Glossiness? Maybe not worth it.

@neph1
Copy link
Contributor

neph1 commented May 7, 2024

Should we just remove the option to set values for the color? The selector allows fine grained editing of RGB values.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants