hey, i am using d3dx and i want to know how to use a matrix to rotate, scale and translate primitives, can someone help me out?
-----------------------------
doctor_b@doctor.com
-----------------------------doctor_b@doctor.com
oh yeah also, if anyone can help me in creating a view matrix too, that would help, so i can get started on making a 1st person 3d world type thing, thanks
-----------------------------
doctor_b@doctor.com
-----------------------------
doctor_b@doctor.com
-----------------------------doctor_b@doctor.com
March 14, 2000 03:25 PM
Hey this is what you do,
1) see the dx manual. it''s got stuff on rotations.
2) if you need code: go to ....mssdk\samples\multimedia\src\d3dim\d3dframe\ in your install of SDK.
there is matrix helper funcs for rotation,scaling, translate,view matrix.
if your a C++ freak, write a class to wrap matrixs together.
If you need actual code, I can help. (send another post.)
Gotta go.
1) see the dx manual. it''s got stuff on rotations.
2) if you need code: go to ....mssdk\samples\multimedia\src\d3dim\d3dframe\ in your install of SDK.
there is matrix helper funcs for rotation,scaling, translate,view matrix.
if your a C++ freak, write a class to wrap matrixs together.
If you need actual code, I can help. (send another post.)
Gotta go.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement