Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
290 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?


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

1 Reply

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...