sakurazuka
June 8th, 2007, 11:39 AM
I have this little problem. I'm going through this direct x course book and everything would be fine exept the examples in this book use d3d8/d3dx8 whereas I'm using d3d9/d3dx9. In one of the examples the author shows a way of rendering indexed primitives after setting their indexes with the SetIndices() method which, in DX8, takes 2 params and not 1 as of DX9. The problem is that the second parameter is essential because all the vertexes are defined in one array and I can't control the start of indexing without it. Is there another method to set the offset for the vertices?
(PS. I hope anyone understood what I'm trying to say... It doesn't seem too obvious to me when I'm reading it again...)
(PS. I hope anyone understood what I'm trying to say... It doesn't seem too obvious to me when I'm reading it again...)