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

Lesson 11 mouse inversion #2

Open
parente opened this issue Mar 18, 2011 · 1 comment
Open

Lesson 11 mouse inversion #2

parente opened this issue Mar 18, 2011 · 1 comment

Comments

@parente
Copy link

parente commented Mar 18, 2011

This isn't anything critical, but I figured I'd report it at least.

Compare the effect click-and-drag has on the original Learning WebGL demo with PhiloGL:

http://learningwebgl.com/lessons/lesson11/index.html
http://senchalabs.github.com/philogl/PhiloGL/examples/lessons/11/

  1. Rotate the moon 90 degrees about its initial vertical axis.
  2. Click-and-drag up and down.

In the original, the up-and-down motion rotates the moon about the viewport horizontal axis. In the PhiloGL demo, the up-down drag rotates about the original model horizontal axis (whic is no longer aligned with the viewport).

@philogb
Copy link
Contributor

philogb commented Mar 18, 2011

Yes, I'm thinking that besides the update method in O3D.Model (that only updates the matrices for the model leaving all vertices on their original position) there should be a updateComponents (or something like that) that would leave the matrices as-is but would update all vertices and normals for the object.

Thanks for reporting this :)

philogb added a commit that referenced this issue Oct 20, 2011
Fix restoring the viewport to its original size after picking sub-scene.
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

No branches or pull requests

2 participants