Overview of VRML2
 
 
 

The VRML2 translator lets you export Maya scene files into VRML2 format. NURBS surfaces are tessellated to polygons and then output.

NoteThe VRML2 translator does not output all of the Maya feature set.

VRML2 Features

Outputs

  • polygon geometry
  • NURBS surfaces - tessellated into either triangles or quads
  • hierarchy structure if wanted
  • VRML2 primitives (if tagged)
  • shader parameters
  • textures - SGI RGBA image format
  • rigid TRS animation
  • vertex animation
  • Camera information
  • Light information

Commands

There is a MEL command included in the VRML2 translator. This command, vrml2Tags, let you define dynamic attributes onto objects that the translator queries and uses to define the output file.

Attributes

The following dynamic attributes can be defined and used with this translator.

  • userAnimated boolean: On = force vertex animation processing
  • VRML2Primitive: long, cube/plane
  • VRML2Billboard: long, camera facing/Y facing/Z facing

Files required to use this plug-in

The files required for use of this plug-in are:

Source code can be found in:

(Linux) /devkit/obsolete/games/vrml2Export

(Windows) Program Files\Autodesk\Maya2011\devkit\obsolete \games\vrml2Export

(Mac OS X) Applications/maya2011/devkit/obsolete/games/vrml2Export

Limitations