Path-Tracing engine uses special material model Graphic3d_BSDF (see Graphic3d_MaterialAspect::BSDF(), ::SetBSDF). Current implementation of Graphic3d_MaterialAspect::SetColor() doesn't alter BSDF definition as it might be non-trivial to apply. Consider defining BSDF property on your own.
Fri, 12/16/2022 - 21:13
And how exactly you change material (code short l snippet)?
Sat, 12/17/2022 - 20:58
of course - sorry, I forgot:
As stated before it works with Raytrace but not in Global Illumination.
My goal is to make different color glass
Sat, 12/17/2022 - 22:35
Path-Tracing engine uses special material model Graphic3d_BSDF (see Graphic3d_MaterialAspect::BSDF(), ::SetBSDF). Current implementation of Graphic3d_MaterialAspect::SetColor() doesn't alter BSDF definition as it might be non-trivial to apply. Consider defining BSDF property on your own.
Sat, 12/17/2022 - 23:21
Great - it works! I made the detour over
what didn't work.
Do it direct works just fine!
Thanks!!