20 years, 3 months ago
Highlights
I am talking about a mesh .. a Text Mesh that isID3DXMesh* Text = 0;D3DXCreateText(device, hdc, "Text", 0.001f, 0.4f, &Text, 0, 0);.. and then you callText->DrawSubset(0)…
20 years, 3 months ago
20 years, 3 months ago
When creating a font with D3DXCreateText(), you have to call the DrawSubset() method in order to draw the text. My question is, where do you give your font an index number for t…
20 years, 3 months ago
I am trying to draw a reflection of a teapot in my program. The teapot shows, as does the mirror I'm trying to reflect it in. The program exits with no errors, but yet the teapo…
20 years, 3 months ago
I have a Vertex buffer: // Front left wall v[0] = Vertex(0.0f, 0.0f, 2.0f, 0.0f, 0.0f, -1.0f, 0.0f, 1.0f); v[1] = Vertex(4.0f, 4.0f, 2.0f, 0.0f, 0.0f, -1.0f, 1.0f, 0.0f); v[2] =…
20 years, 3 months ago
Latest Activity
See all in DiscussionsI am talking about a mesh .. a Text Mesh that isID3DXMesh* Text = 0;D3DXCreateText(device, hdc, "Text", 0.001f, 0.4f, &Text, …
20 years, 3 months ago
When creating a font with D3DXCreateText(), you have to call the DrawSubset() method in order to draw the text. My …
20 years, 3 months ago
For the depth buffer I have the format as: d3dpp.AutoDepthStencilFormat = D3DFMT_D24S8;If that fails, it tries again to make a …
20 years, 3 months ago