cgkit Tutorials & Examples

Tutorials

Code examples

A minimal scene

Sharing material definitions

Creating a hierarchy and using expressions

Visualizing vertex positions and normals

  • How to iterate over all objects in the scene
  • How to iterate over mesh vertices and faces
  • How to access primitive variables such as normals
  • How to process the two storage types "varying" vs "user"/"uniform int XYZfaces[3]"
  • How to draw 3D marker and lines
How to use the spacedevice module