Jump to content

Camera Matrix Animations


jessepmason
 Share

Recommended Posts

Hello everybody!

I am trying to transition between a perspective camera and a orthographic camera seamlessly..while I have gotten close just animating the parameters like the .fov, targets and .orthoTop etc.

I just cant seem to perfectly match a perspective camera and a orthographic camera so I thought maybe to just animate the cameras matrix... is that possible?

I made a playground to show my failed attempt at animating the matrices:

http://www.babylonjs-playground.com/#15MTKL#1

 it only seems to  update at the end of the animation instead of every frame

Thanks a ton!

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...