Setting Separate properties for each triangle in obj Mesh #1658
-
Hi, I am trying to implement radiosity and then render those triangles using the Mitsuba Renderer. Currently I am loading the scene, separating each triangle from obj Mesh and after calculating radiosity, saving each of them into separate obj and then loading into Mitsuba to render using max_depth=1. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
HI @USharma002 You can define face attributes and then use them as a texture by using the |
Beta Was this translation helpful? Give feedback.
HI @USharma002
You can define face attributes and then use them as a texture by using the
mesh_attribute
plugin: https://mitsuba.readthedocs.io/en/stable/src/generated/plugins_textures.html#mesh-attribute-texture-mesh-attribute. You can then query that texture manually or pass it to a BSDF plugin.