Beginner's Exercises in Skandha4

 


Contents

Lesson 1: Creating a Simple Scene

Light, Camera, ... Object
Material
Position

Lesson 2: Animation

Frame Loop
Interaction
Per Frame Hook

Lesson 3: Making Things

Points
Square Facets
Texture

Lesson 4: A Second Approach to Building with Facets

Making Triangles
Applying Normals
Scaling Texture Coordinates

Skandha4, a 3-D graphics server, can be used to build, view and interact with graphic objects.  It also includes a variety of useful modules (e.g. a module for creating a basic graphic user interface or GUI).  These modules are described in detail in the Programmer Docs for Skandha4.  To start programming in Skandha4, you should have some understanding of Lisp syntax (a useful link to look at is Lisp Primer).  Xlisp, the language of Skandha4, differs in several aspects from Common Lisp.  The most notable difference is implementation of objects (see Xlisp Tutorial), which is widely used in these exercises.  You may find it useful to check syntax details in Xlisp Tutorial and consult Xlisp Reference and Objects Primer while reading these exercises and writing your own programs.