Skip to content

Improve the cubemap preview #107975

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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 force-pushed the cube-preview-improved branch 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.

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.

2 participants