Original Post
I keep having to read over the sections initializing and setting up the indices, vertex, and index buffer. I find the concept a little intimidating code wise, though the concept isn't hard.
I'd like to try to do something to better help my understanding by taking the original rectangle that was made and setting up two more along the left and right side.
1st rect vetexes:
-1,1,0
1,-1,0
-1,-1,0
1,1,0
2nd:
-1,1,1
-1,-1,0
-1,-1,1
-1,1,0
3rd:
1,1,0
1,-1,1
1,-1,0
1,1,1
Now, what I can't grasp is after I create these points, do try have to be made in order? Or following the culling rules? Can I put the drawing in the same effect start and end? How so I properly I initialize this in the vertex and index buffer?
I'm trying to grasp the concept of how and why but I'm not getting enough answers from the book.
I'd like to try to do something to better help my understanding by taking the original rectangle that was made and setting up two more along the left and right side.
1st rect vetexes:
-1,1,0
1,-1,0
-1,-1,0
1,1,0
2nd:
-1,1,1
-1,-1,0
-1,-1,1
-1,1,0
3rd:
1,1,0
1,-1,1
1,-1,0
1,1,1
Now, what I can't grasp is after I create these points, do try have to be made in order? Or following the culling rules? Can I put the drawing in the same effect start and end? How so I properly I initialize this in the vertex and index buffer?
I'm trying to grasp the concept of how and why but I'm not getting enough answers from the book.