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

fix(viewport): Prevent flickering during viewport flip operations #1813

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

sedghi
Copy link
Member

@sedghi sedghi commented Feb 5, 2025

fyi @IbrahimCSAE

The change addresses the handling of flip operations to reduce flickering during rendering.

Rendering improvements:

  • packages/core/src/RenderingEngine/Viewport.ts: Added a check for flipHorizontal or flipVertical to ensure the view presentation requires a flip, which triggers another re-render to take effect. This aims to reduce flickering by waiting for the camera and flip operations to complete together before rendering.

Copy link

netlify bot commented Feb 5, 2025

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit 732cdef
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/67a3bd3d3946f600084b0cae
😎 Deploy Preview https://deploy-preview-1813--cornerstone-3d-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@IbrahimCSAE
Copy link
Collaborator

Thanks

@sedghi sedghi merged commit 4170a06 into main Feb 5, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants