X Tutup
Skip to content

Improve the cubemap preview#107975

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
BlueCube3310:cube-preview-improved
Sep 23, 2025
Merged

Improve the cubemap preview#107975
Repiteo merged 1 commit intogodotengine:masterfrom
BlueCube3310:cube-preview-improved

Conversation

@BlueCube3310
Copy link
Contributor

@BlueCube3310 BlueCube3310 commented Jun 25, 2025

Changes how the cubemap preview works in an attempt to make it more intuitive.

Rotating the preview now works the same way as in the 3d editor, using the right mouse button as well as the same orientation. Vertical rotation is also limited from -90 to 90 degrees.

The preview's normal direction is also flipped to display the cubemap with the proper rotation.

master PR
old new

TODO:

  • Hide and lock the mouse cursor,
  • Show comparison images.

@BlueCube3310 BlueCube3310 added this to the 4.x milestone Jun 25, 2025
@BlueCube3310 BlueCube3310 force-pushed the cube-preview-improved branch 2 times, most recently from 200c727 to 148649b Compare June 26, 2025 14:26
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me.

@BlueCube3310 BlueCube3310 force-pushed the cube-preview-improved branch from 148649b to 34d30b7 Compare July 11, 2025 17:22
@BlueCube3310 BlueCube3310 requested a review from a team as a code owner July 11, 2025 17:22
@BlueCube3310 BlueCube3310 modified the milestones: 4.x, 4.6 Jul 21, 2025
@BlueCube3310 BlueCube3310 requested a review from a team September 21, 2025 19:19
@Repiteo Repiteo merged commit 800bce8 into godotengine:master Sep 23, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Sep 23, 2025

Thanks!

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

X Tutup