Prod.: Engine, ver.: 6020, ID: 60001414, Wish : A property to control the lighting smoothness of polyfaces

Wish : A property to control the lighting smoothness of polyfaces

Article60001414
TypeWish
ProductEngine
Version6020
Date Added6/9/2011
FixedYes [6/9/2011]
Submitted bystavros meimaroglou
Keywords

Subject

A property to control the lighting smoothness of polyfaces

Summary

A property to control the lighting smoothness of polyfaces

Solution

In version 6021 a new property SmoothAngle was added in vdPolyFace , vdGroundSurface and vdDocument

Get/Set the angle in degrees between 0 and 90 used to calculate normals for each vertex in each face when rendering a polyface object.
Defines the maximun angle which is compared with the angles between the planes of neighboring faces in order to filter out the normals of the planes that will added in the average calculation.
In case of a vdPolyface or vdGroundSurface object, set it to -1 in order the normals to be smoothing according to the vdDocument.SmoothAngle property.
Set it to 0 in order the normals not to be smoothing.
Set it to 90 in order the normal of each vertex to be calculated as the average value with all the neighboring faces normals.


 


The original file in Render with SmoothAgle 0
 


The original file in Render with SmoothAgle 20
 


The original file in Render with SmoothAgle 60
 


The original file in Render with SmoothAgle 90