Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
265 views
in Technique[技术] by (71.8m points)

graphics - Seperating a Model into Meshes for Depth Ordered Rendering

So I have one big mesh which models a building. I would like to chop the mesh into parts by floor and hallway to make geographically distinct "scenes" which I can cull/order before rendering to reduce render time. I used 3DS Max to "Slice" the model into various meshes however in the scene explorer it still only shows 1 object. When I export the scene to fbx and read it in Assimp it only reads in 1 mesh.

TLDR: How do I split a model in 3DS Max (or similar) such that it exports as multiple meshes which I can selectively render?

question from:https://stackoverflow.com/questions/65601604/seperating-a-model-into-meshes-for-depth-ordered-rendering

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The solution is to "Slice" the model, in my case I used the Slice Plane to get clean cuts. Then To use a "Mesh Edit" modifier and "Detach" each individual component.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...