Page 1 of 1

Measuring the surface area assigned to a given material type

PostPosted: Wed Dec 06, 2017 10:01 pm
by MB
We have a Lua script that helps move an Octane model into Unity with all its lights and materials in tact. I'm finding it very difficult to match the illumination levels found in Octane, inside Unity, since we are lighting the unity scene with emissive materials. The brightness in Unity is a function of the surface area of the material, I would thus like to control the brightness of the Unity emission material as a function of its surface area. I need to calculate this in Octane if possible and incorporate it into the data we are sending to Unity where the material is actually created.

Is there any way to measure in Octane how many square meters there is of a given material, our obj files are broken into layers by material if that helps. Or any other ideas on how to solve this problem would be very welcome.