Jump to content
  • Advertisement
Sign in to follow this  
Grattier

[MDX] Concatenate many mesh.cylinders together?

This topic is 4519 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Because I don't know how to transform mesh and I can't find my answer anywhere, now i just want to know How to make a big mesh from many mesh.. I mean.. I create many cylinders one besides other and the final result is a big strange cylinder... I want this big cylinder to be only 1 big mesh... removing every faces in the cylinder. Anyone know? Thanks [Edited by - Grattier on January 10, 2006 4:55:04 PM]

Share this post


Link to post
Share on other sites
Advertisement
D3DXConcatenateMeshes() is what you're after. Although, from looking at your post you might be using MDX, so you'll have to look up the equivalent.

If you are using MDX, then I'd like to remind you of the forum guidelines:
Quote:
If you're using Managed DirectX, stick MDX somewhere in the title
A lot of people don't use MDX, you'll save them some time by showing that you're using MDX upfront.


hth
Jack

Share this post


Link to post
Share on other sites
Is this somehow related to the 'wood log rendering' question you posted earlier? Because if it is, I don't know if you should be putting all the cylinders into one big mesh... At least I cannot tell why you would want to do this :) Could you tell us what you're trying to accomplish?

Also, the method on the PrtEngine might do what you want, but it's part of the Precomputed Radiance Transfer system of the SDK (check out the samplebrowser for more info). So it may not be wise to use it out of context, as it may have some undocumented behaviour specific to PRT. On the other hand, I can't find an alternative in the SDK and if it works for you, use it by all means :)

Quote:
Ok sorry... I'm noob to DirectX and i don't know what's the difference between Managed and not ...


Managed DirectX is the library that allows you to work with DirectX from C#, VB.NET or any other .NET language. Basically when you're programming in C#, you're most likely using Managed DirectX (MDX for short). If you're coding in C++, you're probably using normal (unmanaged) DirectX.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!