CosmoPlayer works with Netscape Navigator 2 or 3.0 or Internet Explorer 3.0. An editor, such as emacs or vi is also needed to write the worlds. For worlds too complex to be edited by hand, a 3D authoring tool can be used to create complex animations and other features designed specifically to help the casual user create VRML worlds.
#VRML V2.0 utf8
This tells the browser that this is a VRML version 2 file and that it uses the UTF8 (International Standards Organization standard that allows characters in the file to be read by a text editor) encoding. The following is a very simple example of a VRML 2 world displaying a red cone:
#VRML V2.0 utf8
Transform {
translation 4 5 0
children Shape {
appearance Appearance {
material Material {
diffuseColor 1 0 0
}
}
geometry Cone {}
}
}
The proceeding example would need to be saved to a file with the
extension wrl (i.e., filename.wrl). Then simply start Netscape
or Internet Explorer 3.0, on atom if working on the computers at UNLV,
and open the file. CosmoPlayer will automatically pop up displaying a
red cone.Certain basic geometric shapes such as the cone, sphere, box and cylinder are automatically recognized, but VRML also allows the creator flexibility to make more complex objects. This is done by either rendering solid faces given points or by simply drawing lines connecting the points.
[an error occurred while processing this directive]