Added compute and visualization of triangle and vertex normals
This commit is contained in:
@@ -93,10 +93,14 @@ class OSGSHADOW_EXPORT OccluderGeometry : public osg::Drawable
|
||||
( delta * _triangleNormals[edge._t2] );
|
||||
}
|
||||
|
||||
void setUpInternalStructures();
|
||||
|
||||
void removeDuplicates();
|
||||
void removeDuplicateVertices();
|
||||
void computeNormals();
|
||||
void buildEdgeMaps();
|
||||
|
||||
Vec3List _vertices;
|
||||
Vec3List _normals;
|
||||
Vec3List _triangleNormals;
|
||||
UIntList _triangleIndices;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user