Creating the Scene

After setting up the 3D environment—choosing a device driver, creating the 3D device and viewport, setting the rendering state, and so on—Helworld.c calls a series of functions to populate this 3D 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