Jump to content

Zoom issue in orthographic camera


FranT
 Share

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.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...