Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Thu, 7 Feb 2008 07:40:01 -0800,    group: microsoft.public.win32.programmer.directx.sdk        back       


D3DXCreateMesh   
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.
date: Thu, 7 Feb 2008 07:40:01 -0800   author:   Jack Confused

Re: D3DXCreateMesh   
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
date: Thu, 7 Feb 2008 10:37:21 -0700   author:   The March Hare [MVP] erland

Re: D3DXCreateMesh   
"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.
date: Thu, 7 Feb 2008 10:20:01 -0800   author:   Jack Confused

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us