• ### Popular Now

• 12
• 27
• 9
• 9
• 20

#### Archived

This topic is now archived and is closed to further replies.

# Matrices and Vertex Buffers and ...

This topic is 5923 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

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.

##### Share on other sites
How is it defined?

  #define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZ|D3DFVF_TEX1)

##### Share on other sites
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

##### Share on other sites
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?