Page 1 of 1

OSL problem with C4D Octane - getFaceTransformMatrix

Posted: Wed Apr 19, 2023 11:55 am
by SSmolak
Hi, I noticed that OSL for Octane has problem with recognize polygon face normal direction which works in other software.

getFaceTransformMatrix seems to be missing or bad implemented because there is no way to check proper polygon orientation like in this code :

objI = transform(getFaceTransformMatrix(), I);

It do nothing in Cinema 4D but works fine in 3ds Max.

Re: OSL problem with C4D Octane - getFaceTransformMatrix

Posted: Wed Apr 19, 2023 12:00 pm
by aoktar
Very interesting because OSL compilation and evaluating is CORE based. Plugin is just working as an interpreter. Normals maybe different on 3dsmax or connected transform node is different. It's all I can think