Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Q: DX9, Mesh A + Mesh B = Mesh C


Q: DX9, Mesh A + Mesh B = Mesh C

Author
Message
DxDotNet
DxDotNet
Forum God
Forum God (674 reputation)Forum God (674 reputation)Forum God (674 reputation)Forum God (674 reputation)Forum God (674 reputation)Forum God (674 reputation)Forum God (674 reputation)Forum God (674 reputation)Forum God (674 reputation)

Group: Forum Members
Posts: 2, Visits: 2
-------------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

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search