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

Implement vertical exaggeration of 3D Tiles in 2D and Columbus View modes #11721

Open
jjhembd opened this issue Dec 22, 2023 · 0 comments
Open

Comments

@jjhembd
Copy link
Contributor

jjhembd commented Dec 22, 2023

Feature

#11655 enabled vertical exaggeration of 3D Tiles. However, the current shader-based implementation only works in SceneMode.SCENE3D.

To make it work in SceneMode.SCENE2D and SceneMode.COLUMBUS_VIEW, the curvature term czm_eyeEllipsoidCurvature will need to be set to zero. This will require some changes in VerticalExaggerationStageVS to avoid division by zero. Additionally, czm_eyeHeight will need to be investigated to verify it is still valid in 2D modes; otherwise, VerticalExaggerationStageVS can transition between czm_eyeHeight and czm_eyeHeight2D

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

1 participant