Matrix Operations not Being applied?
Dear all,
I''m having trouble with SetTransform. I generate a view, world, and projection matrix, but when I render my test triangle, nothing changes. Seems like my matrix settings are not being applied. Anyone have any idea why they would be? I''m really not doing anything intresting, just rendering a triangle with a texture on it :-)...
Jesse
Are you using pre-transformed vertices (rhw)?
Well dont.
Well dont.
quote:
MSDN says:
If you include the D3DFVF_XYZRHW flag in your vertex format description, you are telling the system that your application is using transformed and lit vertices. This means that Microsoft® Direct3D® doesn''t transform your vertices with the world, view, or projection matrices, nor does it perform any lighting calculations. It assumes that your application has taken care of these steps. This fact makes transformed and lit vertices common when porting existing 3-D applications to Direct3D. In short, Direct3D does not modify transformed and lit vertices at all. It passes them directly to the driver to be rasterized.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement