Matrices and Vertex Buffers and ...

Started by
2 comments, last by intrest86 22 years, 3 months ago
Ok, first let me say any help would be greatly appreciated! What I have as a vertex buffer filled with a TriangleList of Transformed and Lit Vertices in Fullscreen mode. I made all of this work, but now when I try to apply matrices nothing happens. Zip, nada... There are so many things that can go wrong that I am not sure what to tell you, so if you need any more info just tell me.
Turring Machines are better than C++ any day ^_~
Advertisement
How is it defined?

  #define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZ|D3DFVF_TEX1)  
G''day!

Transformed vertices ignore the world matrix. The world matrix exists to transform the vertices from model space, but TL vertices are already in screen space so it''s not needed.


Stay Casual,

Ken
Drunken Hyena
Stay Casual,KenDrunken Hyena
Hey, thanks for the replys so far!

Public Const FVF = D3DFVF_XYZRHW Or D3DFVF_DIFFUSE Or D3DFVF_TEX1

VB of course... no flaming me please.

About transformed vertices not using the world matrix, what about the view matrix?
Turring Machines are better than C++ any day ^_~

This topic is closed to new replies.

Advertisement