Projection Matrix vs. Animation Speed
I am building a Mac OS X (Carbon) app to create script-based movies of a scaffold model (drawn using gluSphere and gluCylinder objects). The model is animated by manipulating the modelview – rather than the projection – matrix between each frame. The movie making process begins by setting an identity projection matrix (camera's line-of-sight), which looks effectively into the z-axis (protruding from the monitor); the projection matrix remains untouched throughout the entire movie. The animation is quite choppy for even the simplest models. But if the projection matrix is set just a tiny bit off (from identity), then the animation moves about 10x more smoothly.
I find the animation is choppy anytime the projection looks directly into any of the axes (+/- x, +/- y, +/- z); any other arbitrary projection results in a very smooth animation.
Does anybody have a clue as to why such a small deviation in the projection matrix improves the animation so dramatically?
Thanks in advance.
-- Jeff
I find the animation is choppy anytime the projection looks directly into any of the axes (+/- x, +/- y, +/- z); any other arbitrary projection results in a very smooth animation.
Does anybody have a clue as to why such a small deviation in the projection matrix improves the animation so dramatically?
Thanks in advance.
-- Jeff
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Projection matrix : Strange thing ? | Ole | 4 | 2,751 |
Sep 13, 2003 02:38 AM Last Post: Ole |
|
| switching projection modes | Muffinking | 1 | 1,967 |
Aug 10, 2003 08:34 PM Last Post: OneSadCookie |
|
| Interpolating Ortho projection to 3d | arekkusu | 8 | 4,957 |
Feb 27, 2003 04:53 AM Last Post: codemattic |
|
| Projection / Zbuffer problems... | ChrisD | 6 | 3,927 |
Aug 3, 2002 04:45 AM Last Post: codemattic |
|

