SolidKit3D.Drawing.ShapeRenderer.DrawSmoothCAShadedShape
From Solid Graphics Wiki
(Redirected from ShapeRenderer.DrawSmoothCAShadedShape)
| ||||||||
The DrawSmoothCAShadedShape function draws a shape using smooth shading with crease angle. The smooth shading with crease angle is suitable for shapes which have smoothly curved surfaces and also sharp edges.
The function uses OpenGL functions for drawing the shape, so the shape is drawn into active/current OpenGL rendering context window.
public static void DrawSmoothCAShadedShape( Shape shape, VectorList normals );
Parameters
| shape | The shape to render. |
| normals | Shape points normal vectors. The vectors can be calculated using the Shape.CalculateNormals method. Number of normal vectors in the list must be three times the count of triangles in the shape. |
See Also
