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

Fixed CV view #3983

Closed
wants to merge 3 commits into from
Closed

Fixed CV view #3983

wants to merge 3 commits into from

Conversation

JoshuaStorm
Copy link

See #3974
This time on correct branch.

"Fixes #3878

Transition between 2D and CV views has a bit of a jump due to leaving orthographic view, similar to the jerkiness of 2D view entering orthographic view. I will look into fixing that as well, but that may be worth a separate PR."

@pjcozzi
Copy link
Contributor

pjcozzi commented Jun 7, 2016

@lilleyse do you plan to review this?

@lilleyse
Copy link
Contributor

lilleyse commented Jun 7, 2016

Oh yes, somehow this slipped by. I'll review soon.

@lilleyse
Copy link
Contributor

lilleyse commented Jun 8, 2016

The 3D to CV transition looks good, though maybe the atmosphere should fade out as the Earth rotates down.

The 2D to CV is still a little weird. Maybe the perspective shift should happen first, and then rotate the globe.

@JoshuaStorm
Copy link
Author

Updated. At this point, 2D to CV is a considerably better transition as I switched to shift perspective first. However, this results in a weird jerk forward before the transition and I can't quite find what is causing this.

@pjcozzi
Copy link
Contributor

pjcozzi commented Jun 15, 2016

@lilleyse what is the latest?

@lilleyse
Copy link
Contributor

I'm also noticing the jump from 2D to CV. Maybe it's because the initial CV view is titled, but should be straight when switching from 2D.

@JoshuaStorm
Copy link
Author

JoshuaStorm commented Jun 15, 2016

I have come upon a somewhat hacky fix: the issue seems to be that from orthographic view the scene.camera.position does not seem to reflect what the viewer actually sees.

A fix for this was just a hardcoded fine tuning of the z position of the camera. This results in a fluid transition if the user allowed 2D view to go fully transition into orthographic view. Otherwise, there is a slight jump you will see.

@lilleyse
Copy link
Contributor

The effect looks good, but I am occasionally seeing crashes if I go from 2D to CV.

@lilleyse
Copy link
Contributor

Actually those seem to be unrelated.

@pjcozzi
Copy link
Contributor

pjcozzi commented Jun 23, 2016

What's the plan here? Can we get this in shape for 1.23 or just bail on it?

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.

Default CV view is now straight down like 2D
3 participants