Re: D3DXCreateText and subsets
- From: legalize+jeeves@xxxxxxxxxxxxxxxxx (Richard [Microsoft Direct3D MVP])
- Date: Tue, 28 Mar 2006 09:19:00 -0800
[Please do not mail me a copy of your followup]
"M" <m@xxxx> spake the secret code
<uulK49mUGHA.5852@xxxxxxxxxxxxxxxxxxxx> thusly:
How do I create more subsets for the ID3DXMesh obtained from D3DXCreateText
function? I'd like to be able to use a different material on the extruded
parts of the 3D text.
Create an array of D3DXATTRIBUTERANGE structures, one per subset, and
populate them accordingly. Then call ID3DXMesh::SetAttributeTable to
update the subsets in the mesh.
--
"The Direct3D Graphics Pipeline"-- code samples, sample chapter, FAQ:
<http://www.xmission.com/~legalize/book/>
Pilgrimage: Utah's annual demoparty
<http://pilgrimage.scene.org>
.
- References:
- D3DXCreateText and subsets
- From: M
- D3DXCreateText and subsets
- Prev by Date: Re: Cannot compile a shader
- Next by Date: Re: Maximum allowed size for a D3D target surface?
- Previous by thread: D3DXCreateText and subsets
- Next by thread: Re: Cannot compile a shader
- Index(es):
Relevant Pages
|