Re: D3DXCreateText and subsets

Tech-Archive recommends: Fix windows errors by optimizing your registry



[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>
.



Relevant Pages

  • Re: 10 bit per channel color with DirectX 9.0
    ... [Please do not mail me a copy of your followup] ... channel, you can't. ... Pilgrimage: Utah's annual demoparty ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Direct3D 8.1 pipeline poster available
    ... [Please do not mail me a copy of your followup] ... Pilgrimage: Utah's annual demoparty ... ``Ain't it funny that they all fire the pistol, ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: TIFF Files -> DX9 Texture
    ... [Please do not mail me a copy of your followup] ... is a nuisance, ... Pilgrimage: Utah's annual demoparty ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Compiler error creating managed c++ directx app
    ... [Please do not mail me a copy of your followup] ... well I haven't used managed C++ to do any D3D programming; ... Pilgrimage: Utah's annual demoparty ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: Mesh Animation using CD3DFrame
    ... [Please do not mail me a copy of your followup] ... you load specificaly from a seperate .x file? ... Pilgrimage: Utah's annual demoparty ...
    (microsoft.public.win32.programmer.directx.graphics)