-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Add preview Sun and Environment #46315
Conversation
Both or either?
Heck yeah, that's an extremely common use case for me xDDDD |
Its individual (sun and environment). About hiding I am not sure, its not very easy to do this, lets see how much demand there is.
Yes this should have been added long ago. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just need to squash the commits together now.
@fire I think it should work with touchscreen already, but its not a bad idea, we could add this eventually. I wont modify this PR further since its meant to be an MVP, you guys can work over it later if more features are needed. |
* Adds both a preview sun and preview environment to the 3D editor. * They are valid as long as a DirectionalLight3D and WorldEnvironment are not in the scene. * If any is added to the scene, the respective preview is disabled. * Changed WorldEnvironment to better handle multiple node versions. * Added a function in SceneTree to get the first node in a group. * Fixed button minimum size to also consider font height if no text is there, this broke with the TextSever PR.
bac4734
to
d6a9cff
Compare
The menu button used here looks grayed out, I think it would be better if we used the white version (next to "Perspective"). For the preview sun, is it intentional that there is no way to input specific angles, and that the only way to change its orientation is to drag it around? I think it would be nice to have a way to input azimuth and angular altitude. Also, right now the tool allows the sun to have a non-zero Z rotation, but rotation around Z does nothing for DirectionalLight, it should probably be zeroed automatically. None of the above is a blocker for merging, it can be improved later. |
Thanks! |
@aaronfranke I tried the white version first, but in contrast with the other icons, it was standing out much, so instead I used the grayed out version. May go for something intermediate maybe. Entering angles is doable, but lets see if users ask for it first. |
Hmm, this was working when I tested it earlier, but now the sky flashes any time I try to rotate the sun. I tried deleting bug.mp4 |
@aaronfranke it was happening before this PR too, may have to do with something else. Will have to ask @clayjohn to take a look. |
ps. having tried the feature, I hope it stays, I like how it helps one find, what post - proc. one needs <3 The feature is amazing, but when do we get default sky contribution = 0 <3 . . Thx . . . . |
@jasperbrooks79: Your comment above about stylized characters and blue tint sounds like godotengine/godot-proposals#348 |
I know, I've been thinking I'm a noob user, of the engine . . And, there are many much more smart, cool people here, I will post less, it's in good hands <3 . . |
@jasperbrooks79 Your feedback on this feature was good and appreciated, don't worry! The proposal linked by @Zireael07 is indeed related, and there might be new opportunities with the feature included in this PR to address it (e.g. adding a neutral sky preset a bit like "LookDev" mode in Blender). Let's play test the feature a bit and see how it articulates with existing proposals or potential new ones that could be written. |
I can't wait, this feature was really interesting and, cool . . So, 9.6 - 9.7 / 10, for feature . . but, of course we want more . . Thx . . . ps. Is it really fair, we have to wait this long for amazing, mind - blowing soft-ware . . I, despair . . </3 . . when's, tomorrow <3 . . . . |
I am aware that users might ask adding more options to environment such as panoramas or physical sky, but this aims to be a MVP. If what is there does not suffice and more features are requested by many users, we will add them.