A DWG file is a database of 2D or 3D drawings created with AutoCAD. It contains vector image data and metadata describing the contents of the file. DWG files are related to .DXF files, which are ASCII versions of DWG files.
VRML (Virtual Reality Modeling Language, pronounced vermal or by its initials, originally—before 1995—known as the Virtual Reality Markup Language) is a standard file format for representing 3-dimensional (3D) interactive vector graphics, designed particularly with the World Wide Web in mind.
VRML is a text file format where, e.g., vertices and edges for a 3D polygon can be specified along with the surface color, UV mapped textures, shininess, transparency, and so on. URLs can be associated with graphical components so that a web browser might fetch a webpage or a new VRML file from the Internet when the user clicks on the specific graphical component. Animations, sounds, lighting, and other aspects of the virtual world can interact with the user or may be triggered by external events such as timers. A special Script Node allows the addition of program code (e.g., written in Java or ECMAScript) to a VRML file.
VRML files are commonly called "worlds" and have the *.wrl extension (for example island.wrl). VRML files are in plain text and generally compress well using gzip, useful for transferring over the internet more quickly (some gzip compressed files use the *.wrz extension). Many 3D modeling programs can save objects and scenes in VRML format.
In the seventh part of the series, we explore two open formats aimed at putting 3D data on the web, which found use in the CAD spaceRead more