DxDotNet
Neophyte
Germany
3 Posts |
Posted - Sep 07 2005 : 03:14:43 AM
|
-----------English/Englisch------------
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 :-)
Thanks,
Holger
-----------German/Deutsch------------
Wie kann man es schaffen, zwei Meshes zu einer zusammen zu fassen?
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,
Holger |
|
Spodi
Warrior
USA
142 Posts |
Posted - Sep 07 2005 : 11:24:23 PM
|
Hello.
I highly reccomend you check out these following links:
http://www.dotnetforums.net/ http://gpwiki.org/forums/
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. :)
|
vbGORE |
|
|
DxDotNet
Neophyte
Germany
3 Posts |
Posted - Sep 20 2005 : 3:57:21 PM
|
Thanx Spodi,
I will see what these forums can do for me :-)
|
|
|
|
|