home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
vrml2gl.zip
/
EXAMPLE
/
VRML2GL.CFG
< prev
Wrap
Text File
|
1997-03-17
|
2KB
|
27 lines
# The VRML2gl profile uses the same rules as VRML. The profile name MUST be
# called 'vrml2gl.cfg'. An explanation of the profile is as follows:
FUNC_PREFIX vglDraw # Names functions 'void <SFString>X29( void );'.
FILE_PREFIX vglObj # Names files '<SFString>X29.c'.
SEPARATOR TRUE # TRUE -> 'Separator' is unchanged.
# FALSE -> 'Separator' = 'SeparatorTransform'.
LIGHTS_OFF FALSE # TRUE -> lights get shut off after 'Separator'.
# FALSE -> lights remain on once turned on.
IGNORE_LIGHTS TRUE # TRUE -> all light nodes are ignored.
# FALSE -> generate lights in the source code.
GL_COLOR FALSE # TRUE -> use glColorMaterial(); and glColor3f();.
# FALSE -> use regular mglMaterialfv(); calls.
BUILD LOOP # STATIC -> plot comands as recieved.
# LOOP -> use loops and arrays to build objects.
MIN_LOOP 100 # This is the minimum size mesh to LOOP.
PRECISION 4 # Number of digits to the right of the decimal place.
AMBIENT TRUE # FALSE -> ignore ambient materials.
DIFFUSE TRUE # FALSE -> ignore diffuse materials.
SPECULAR FALSE # FALSE -> ignore specular materials.
EMISSIVE FALSE # FALSE -> ignore emissive materials.
TRANSPARENCY FALSE # FALSE -> ignore transparency materials.
SHININESS FALSE # FALSE -> ignore shininess materials.