Camera target and roll

Someone had asked how to target an object with a camera and still be able to roll the camera in the papervision3D environment. Someone had suggested rolling everything else in the scene instead, but I figured there was an easier way. This was actually not all that hard to do, but required a different approach. It was tricky to figure out, I had tried a few things, and as it turns out the right way is the easiest. Check it out:

In order to do this it requires using the FreeCamera3D camera class and a couple of tricks. This example is also taking advantage of my Bezier3D class to make the target transitions smooth. Source code coming tomorrow, and a class before long.

You can contact me on Twitter.

Recent & Popular Articles

Browse All >