Piotrek Alchemik wrote:
I'm looking for any sample of code how to change drawing my mesh.
I have one box and i'd like to change point 0,0,0 starting not from one
of the corners, but i'd like to start at bottom of my cube at width/2
point? Is there any way to do that?
Thanks in advance
You can use a transformation matrix on the device or change the vertices
of the mesh manually. In the DX SDK, there are a couple of examples
doing this.
BTW, there are a couple of DX newsgroups:
microsoft.public.win32.programmer.directx.managed
microsoft.public.win32.programmer.directx.graphics
HTH,
Andy
--
To email me directly, please remove the *NO*SPAM* parts below:
*NO*SPAM*xmen40@*NO*SPAM*gmx.net