Who has the most complete camera function library?
BlitzMax Forums/OpenGL Module/Who has the most complete camera function library?
| ||
Does somebody have a camera library that is not work in progress and prevents gimbal lock? Even better would be a function that works like this myCamera:TCamera = CreateCamera() (This could be Leadwerks or MiniB3D) dostuff myCamera matchGLCamtoExistingCam(myCamera) <- That would be magic! A user on the Leadwerks forum has tried to do something very similar. See: http://forum.leadwerks.com/viewtopic.php?f=2&t=4272 |
| ||
Hey Reda, I wrote a short tutorial on how an OGL Camera Class could look like way back in 2005. It DOES prevent Gimbal Lock but it's very basic and doesn't have any other fancy features if I recall correctly. On the other hand I guess that will make it rather easy to adapt the code for your project. (It is very well commented, too!) You can find it along with source code and executable on my website: http://www.eizdealer.net/#coding Daniel |
| ||
That's really nice. Thanks. I love you little site. |