Ok I have a newbish question(never had to do this(use DXLoadMeshFromX))...I've combined all my static game objects into one mesh and now I want to break up the consolidated mesh into smaller meshes...And I'm wondering, How do I get the number of faces for D3DXCreateMesh? Is this something that has to been known before hand? Pseudocode of what I want to do: ID3DXMesh1 = D3DXCreateMesh() Fill out Mesh one with data ID3DXMesh2 = D3DXCreateMesh(dunno how to get face?, I know how many vertices there are) copy a few of ID3DXMesh1 vertices to ID3DXMesh2; Thx ahead of time.
On Thu, 7 Feb 2008 07:40:01 -0800, Jack Confused wrote: > Ok I have a newbish question(never had to do this(use > DXLoadMeshFromX))... I recommend posting in ../graphics. As you can see by reviewing the history here, it's mostly me and Chuck who reply here and I work with dshow not D3D. -- Please read this before replying: 1. Dshow & posting help: http://tmhare.mvps.org/help.htm 2. Trim & respond inline (please don't top post or snip everything) 3. Benefit others: follow up if you are helped or you found a solution
"The March Hare [MVP]" wrote: > On Thu, 7 Feb 2008 07:40:01 -0800, Jack Confused wrote: > > > Ok I have a newbish question(never had to do this(use > > DXLoadMeshFromX))... > > I recommend posting in ../graphics. As you can see by reviewing the > history here, it's mostly me and Chuck who reply here and I work with dshow > not D3D. Ok, thx.