Discussion:
Moving, rotating objects..
(too old to reply)
p***@gmail.com
2009-02-28 06:13:24 UTC
Permalink
Hi All,

I am new to DirectX and graphics programming.
I am using DirectX 9 and created a very basic application
which draws some triangles using c#.
I am not able to find good documentation support for managed
DirectX.
Now I need to do some more operations like moving one
particular triangle which user selects, then scaling and rotating..
Can some one help me by providing sample code (or) steps to do
(or) some link where I can find related information?

Thanks in advance!!!

Prince
legalize+ (Richard [Microsoft Direct3D MVP])
2009-02-28 15:36:41 UTC
Permalink
[Please do not mail me a copy of your followup]
Post by p***@gmail.com
I am new to DirectX and graphics programming.
I am using DirectX 9 and created a very basic application
which draws some triangles using c#.
I am not able to find good documentation support for managed
DirectX.
Now I need to do some more operations like moving one
particular triangle which user selects, then scaling and rotating..
Can some one help me by providing sample code (or) steps to do
(or) some link where I can find related information?
You can try reading my book "The Direct3D Graphics Pipeline" and in
particular consult the data flow poster for a mental model of how
everything works:
<http://www.xmission.com/~legalize/book/download/index.html>

As for vertex transformations, try reading my chapter on that:
<http://www.xmission.com/~legalize/book/download/06-Vertex%20Transformations.pdf>
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>

Legalize Adulthood! <http://blogs.xmission.com/legalize/>
Loading...