rendering multiple textured meshes in single scene
Hi! Sorry for the basic question. I'm attempting to render one image of a scene with several meshes that each have a different image texture. I haven't been able to figure out how to do this with the DIB-R or NMR. Is this functionality built in and if so could you please point me to the documentation for it and/or examples. Thank you so much!
Hi @alex-helm batching is an incoming feature (watch for release ! :D), meanwhile here is a little tips for you:
you can concatenate vertices of multiple meshes on the dim=0, offset the indices stored inside faces (using the cumulative sum of the number of vertices of previous meshes) and concatenated them on dim=0.
Hi @Caenorst where are the batching features in 2022? 😊 for the solution mentioned here, how to deal with multiple meshes with multiple texture maps..? Thank you!
Hi @zoezhou1999 , there are some batching features in Kaolin (most ops in mesh are batched by default). for the rendering with multiple texture maps is depend on the size of those texture maps, you can see the approach taken in our camera and rasterization tutorial