
D3D and Matrixes
Is it smart to write my own Matrix Routines and do the Translation and Rotation Stuff myself, could I make it faster, also, any tutorials on it, thanks in advance!

You should try to utilize the transformations in whatever API you're programming for as much as possible. This because the drivers are usually optimized to use special code for AMD and PIII. It also makes it easier to take advantage of hardware accelerated transforms.
It probably is possible to make faster code by yourself, but remember that the vendors have several people working on making the drivers as fast as possible. And you're all alone.
If you really want to make faster code you will most likely have to cut some corners and sacrifice precision to do so.
Now I don't say you shouldn't learn how to make your own transformations, it's very good to understand what goes on with the math. But if you want speed you're probably better of using the driver's built in functions.
Edited by - Spellbound on 2/20/00 2:59:26 PM
It probably is possible to make faster code by yourself, but remember that the vendors have several people working on making the drivers as fast as possible. And you're all alone.

Now I don't say you shouldn't learn how to make your own transformations, it's very good to understand what goes on with the math. But if you want speed you're probably better of using the driver's built in functions.
Edited by - Spellbound on 2/20/00 2:59:26 PM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement