THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/04/2011 at 19:33, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Mac OSX ;
Language(s) : C++ ;
BackfaceCulling() is not accurately telling me whether a non-planar poly is displayed. It works fine for planar polys.
The normal passed to BackfaceCulling() is calculated using CalcFaceNormal(). Its orientation is the same as the normal displayed in the editor for a selected poly.
Below is a non-planar poly at its Backface Culling visibility threshold for the scene camera (within 0.001°). The normal for switching backfacing visibility should be vertical in this view.
How is this normal internally calculated by C4D?