I am looking at a sample in the DX7 SDK. The sample is TrivFS (although the same exact questions are the same for the TrivWin windowed version). This sample is under their D3DX section, and gets installed in your start menu.
The sample uses the vertex format D3DFVF_LVERTEX, which indicates the vertices are pre-lit (they do not have DX apply lighting to them), but are untransformed. In otherwords the vertices use a set color and the vertices are in model coordinates. The 3 vertices for the triangle have diffuse colors of red, green, and blue.
So I have 2 questions:
1) Why is the triangle black? Shouldn't the format of the vertex just make the color of these vertices red, green, and blue. I expected a blended triangle.
2) Do the World, View, and Projection matrices have default values? SetTransform is NEVER called in this example.
Can someone please tell me what I am missing here? I am a newbie to D3D, and this one has me stumped.
------------------
-Kentamanos