Followers 0

# Best way to render complex model

## 5 posts in this topic

Hello,

I have an interesting question on my opinion and I dont know an answer yet.

I want to hold in memory and render a models which consist from big amount of different meshes (for ex. a big space ship) It has a lot of decks and dirrerent stuff inside and outside. Of course I want to have possibility to remove and add any item to/from this ship in any time.

Each mesh has its own matrix. So, when I start moving a ship I had to multiply all matrices to move all objects correctly. But If I have a lot of matrices I could not do everything in time because multiplying all matrices could take a lot of time and in that case I will have lags.

If I merge all meshes in 3ds max I loose possibility to move separate objects.

So, my question is: what is the effective render algorithm if I want to have models consists from huge amount of other objects?

I don`t want to have a monolithic ship or any other object. I want to have possibility to remove any part away in any time.

Who has the same problem, please, say which way you choose to render meshes!

1

##### Share on other sites

Yourself

Thanks for clarification. I forgot for occlusion algorithms, but I want to ask is occlusion will work for objects, which are inside model and not behind it?

0

##### Share on other sites

You can try out a BSP tree culling, and then start having Occlussion culling if that is needed. and i dont know how many objects you are having in your sceen, but you can easily optimize the

matrix multiplication with SIMD & Parrarlism. this will probably have a good effect for you.

But as the previous answer said, is that, there is no "common" way for this, try out some stuff and find the best solution for yourself.

2

##### Share on other sites

Thaks for clarifying this problem. Now its more clear.

0

## Create an account

Register a new account

Followers 0

• 12
• 28
• 14
• 11
• 34