ptrvilya / blendify

Lightweight Python framework that provides a high-level API for creating and rendering scenes with Blender.
https://virtualhumans.mpi-inf.mpg.de/blendify/
GNU General Public License v3.0
408 stars 12 forks source link

Rendering a mesh with multiple textures saved in jpg files #5

Open AndreAmaduzzi opened 1 year ago

AndreAmaduzzi commented 1 year ago

Hello, I am rendering ShapeNet models. Some of them have multiple textures saved in .jpg files. How to include all of them in a blendify Mesh?

Thanks, Andrea

vguzov commented 1 year ago

Hello Andrea, That's a cool idea! Unfortunately, Blendify doesn't support multiple textures for single mesh as of now, but we can add this in the future versions. Could you please tell us, why exactly those meshes have multiple textures? Do they consist of several materials or each of those textures denote some material property (e.g. metallic, shiny, etc.)? If you can provide the example of such mesh and textures, that would be even better!

AndreAmaduzzi commented 1 year ago

Hello Vladimir, I'm glad to read your quick response. I am referring to ShapeNet models. Some of them have multiple materials, each of them associated with a specific jpg file specifying its texture. There are many examples of such models in the dataset. Some of them may be: class: 03001627, model_id: 3ff879e891701079ea07bd8096c66582 class: 03001627, model_id: 3ff4401d898b488a601104cd2d998272