Sign in to follow this  
FranT

Zoom issue in orthographic camera

Recommended Posts

Hello everyone,
I'm quite a newbie in babylon and I've been reading a lot to understand how things work.
 
Finally, I could make a scene work with an ortho camera, including the possibility of zooming with the mouse wheel. But when I zoom out, an effect appears that I can not understand: the camera goes to the opposite side despite the frustrum is always positive. I tried many different things but I can not understand what is happening.
 
I created an example in babylon playground: http://www.babylonjs-playground.com/#U543PM#1
Just zoom out with the mouse wheel and see what happens.
 
I know that I am missing something, but I have no idea of what it is, so any idea or suggestion is welcome.
 
Thanks in advance.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.