3D Graphics

InfoInfo
Search:    

top: UI and graphics

The current implementation of airglow-3d is based on [WWW]OpenGL.

The first step for producing 3D graphics is to create a widget which is a sub-type of 'gl-window. It should be provided with a draw procedure, where the actual 3D API calls are made.


;; Template for a 3D application.

(define (draw w p)
    ;; 3D rendering code.
 )

(define 3d-window (widget ;; width, height etc
                          'super 'gl-window
                          'draw draw))

The airglow-3d library is split into several sub-libraries. Each of these sub-libraries take care of the following functional areas:

rendering, texturing, lighting, shading, matrix transformations, geometry and camera control.

(Documenting the entire 3D library seems to be an enormous task! Please look at the source files in samples/airglow/3d and scheme/airglow/3d for more information)

This is a Wiki Spot wiki. Wiki Spot is a non-profit organization that helps communities collaborate via wikis.