Creating the Scene

After setting up the 3-D environment-choosing a device driver, creating the 3-D device and viewport, setting the rendering state, and so on-Helworld.c calls a series of functions to populate this 3-D environment with objects, frames, and lights:

·The MyScene Function

·The MakeMyFrames Function

·The MakeMyLights Function

·The SetMyPositions Function

·The MakeMyMesh Function

·The MakeMyWrap Function

·The AddMyTexture Function