Original Post
Hi, 'm new to DirectX and following the DirectX SDK Tutorials.
For now I am able to draw cubes, pyramids and other shapes. I can turn a cube around an axis and let another cube bounce around.
But how can i draw two indipendent shapes and move them differently (i.e. a cube and a pyramid)?
I assume I need two Vertex Buffers and two Index Buffers but I wasn't able to write an executable code.
I've attached the Tutorials code, maybe somebody can point me to the right direction, because I wasn't able to find anything useful in the net.
Thanks, Ritti
[attachment=5261:Tutorial05.txt]
For now I am able to draw cubes, pyramids and other shapes. I can turn a cube around an axis and let another cube bounce around.
But how can i draw two indipendent shapes and move them differently (i.e. a cube and a pyramid)?
I assume I need two Vertex Buffers and two Index Buffers but I wasn't able to write an executable code.
I've attached the Tutorials code, maybe somebody can point me to the right direction, because I wasn't able to find anything useful in the net.
Thanks, Ritti
[attachment=5261:Tutorial05.txt]