home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vrml2gl.zip / EXAMPLE / VRML2GL.CFG < prev   
Text File  |  1997-03-17  |  2KB  |  27 lines

  1. # The VRML2gl profile uses the same rules as VRML. The profile name MUST be
  2. # called 'vrml2gl.cfg'. An explanation of the profile is as follows:
  3.  
  4. FUNC_PREFIX       vglDraw     # Names functions 'void <SFString>X29( void );'.
  5. FILE_PREFIX       vglObj      # Names files '<SFString>X29.c'.
  6. SEPARATOR         TRUE        # TRUE -> 'Separator' is unchanged.
  7.                               # FALSE -> 'Separator' = 'SeparatorTransform'.
  8. LIGHTS_OFF        FALSE       # TRUE -> lights get shut off after 'Separator'.
  9.                               # FALSE -> lights remain on once turned on.
  10. IGNORE_LIGHTS     TRUE        # TRUE -> all light nodes are ignored.
  11.                               # FALSE -> generate lights in the source code.
  12. GL_COLOR          FALSE       # TRUE -> use glColorMaterial(); and glColor3f();.
  13.                               # FALSE -> use regular mglMaterialfv(); calls.
  14. BUILD             LOOP          # STATIC -> plot comands as recieved.
  15.                               # LOOP -> use loops and arrays to build objects.
  16. MIN_LOOP          100         # This is the minimum size mesh to LOOP.
  17. PRECISION         4           # Number of digits to the right of the decimal place.
  18.  
  19. AMBIENT           TRUE        # FALSE -> ignore ambient materials.
  20. DIFFUSE           TRUE        # FALSE -> ignore diffuse materials.
  21. SPECULAR          FALSE       # FALSE -> ignore specular materials.
  22. EMISSIVE          FALSE       # FALSE -> ignore emissive materials.
  23. TRANSPARENCY      FALSE       # FALSE -> ignore transparency materials.
  24. SHININESS         FALSE       # FALSE -> ignore shininess materials.
  25.  
  26.  
  27.