Scene(.sce) File Format _-----------------------_ #comment viewport position[%d,%d] resolution[%d,%d] projection fov[%f] nearclip[%f] farclip[%f] eyespacing[%lf] # stereo, distance between eyes # Default: 0.04 bgcolor[%i,%i,%i] # background color background texture_file # background flat image skybox 3X2_texture_file # six piece environment map fog start[%f] end[%f] density[%f] color[%i,%i,%i] function[exp | exp2 | linear] mapmin[%f,%f,%f] # minimum/maximum "geographic" location for mapmax[%f,%f,%f] # viewer position and light adjustment position[%f,%f,%f] # initial viewer position rotation[%f,%f,%f] # initial viewer orientation positionchange[%f] # viewer movement speed factor rotationchange[%f] # viewer rotation speed factor light position[%f,%f,%f,%f] ambient[%i,%i,%i] diffuse[%i,%i,%i] specular[%i,%i,%i] # Material State # emission[%i,%i,%i] ambient[%i,%i,%i] diffuse[%i,%i,%i] specular[%i,%i,%i] shininess[%f] import model_file(.obj) importdir directory # import all model(.obj) files in directory terrain gray_texture_file amplitude[%f] position[%f,%f,%f] 3Dengine Notes ---------------- Any attributes may be left off and will be set to default values. Attributes may be specified in any order. Textures may be raw PPM, raw PGM, JPEG, or TARGA(raw or RLE).