Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 Q: DX9, Mesh A + Mesh B = Mesh C
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  


3 Posts

Posted - Sep 07 2005 :  03:14:43 AM  Show Profile  Reply with Quote

How is it possible to combine two meshes to a single mesh?

The reason is that I have to show hundreds of small meshes
and the performance of rendering one big mesh with identical
number of vertices is quite better.
(I've tried it out using vertex buffers to make a mesh)

Now I want to take two meshes A and B, which were created with
a 3D software and loaded as *.x-file by the directx loadmesh
function, and put them together to a third mesh C.
(Mesh A + Mesh B = Mesh C, if possible including previous
transformation, materials and texture .)

If anyone has any suggestions or ideas to manage this, or if
there is a tutorial, sourcecode etc. please help :-)




Wie kann man es schaffen, zwei Meshes zu einer zusammen zu

Ich habe herausgefunden, das es enorm Laufzeiteffektiver ist eine
große Mesh zu verwenden, statt mehrere hundert von kleinen, trotz
gleicher Anzahl von Vertices. Das habe ich per Vertex-Buffer ge-
testet, doch damit kann man nur begrenzt schöne Meshes bauen.

Jetzt will ich zwei Meshes (A, B) mit der DirectX LoadMesh Funktion
als *.x Datei laden, transormieren und anschließend zu einer Mesh C
zusammenfassen ohne die Materialien oder Texturen zu verlieren.

Hat das schon mal jemand gemacht oder gesehen wie's geht oder
eine Idee oder Tutorial oder ein Stück Quellcode oder sonstwas? :-)

Vielen Dank im Voraus,



141 Posts

Posted - Sep 07 2005 :  11:24:23 PM  Show Profile  Visit Spodi's Homepage  Send Spodi an AOL message  Click to see Spodi's MSN Messenger address  Send Spodi a Yahoo! Message  Reply with Quote

I highly reccomend you check out these following links:

DotNetForums is a huge, widely popular forum dedicated to purely .NET, and since you are using VB.NET obviously, this is where you want to go. If it is something game related, you can also check out GPWiki forums (Game Programming Wiki).

Reason I say these forums is, since this is a technical question, you wont get the answer you want as soon as you want - this forum isn't too active unfortunately.

Hope that helps. :)

Go to Top of Page


3 Posts

Posted - Sep 20 2005 :  3:57:21 PM  Show Profile  Reply with Quote

Thanx Spodi,

I will see what these forums can do for me :-)

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.08 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.