Original Post
hi i've recently started reading a book about direct x, and have been reading it and going through it's example code along with the sample code that comes with the sdk. i've started with the direct3d, and am starting to play around with it. i took the sample tutorial from the sdk called lights, which is basically a hollow cylindar rotating about the Y axis. i figured a good way to start playing with direct3d would be to make it display two cylindars, one translated to the right and rotating differently. to do this, after the call to DrawPrimitive that draws the original cylindar, i created another world matrix and applied the rotation and translations to it, and called DrawPrimitive again. my question is, if i'm drawing multiple shapes do i have to set up a world matrix for each shape? i'm thinking the answer is yes, but i just want to make 100% sure so that i don't miss something, because this seems to be one of the more fundamental concepts. thanks