|
|
So you have a VRML capable Browser and want to create fantastic VRML scenes that will blow people's minds. I will tell you something now... prepare to be at your computer for a while. A typical VRML scene can take thousands of pages of number encoding and scaling and stuff like that. But that type of coding is for really BIG SCENES that have A LOT of objects. So if you are feeling put down by the fact that VRML takes a long time don't worry. The stuff in this tutorial will give you the basics of making and coloring objects for VRML, and these object don't take much space and take very little time to create. So let's begin...
To begin open, your text editor, and type this line of code... #VRML V1.0 ascii This is the very first line of code you need in order to have you VRML work. This code basically tells that browser that the file you requested is a VRML file and that it needs to load the proper program to read the file. Let's break down this line of code just so you know what it is doing. The # in the code line is a comment statement. This is a line that the VRML viewer will ignore. VRML means that the file is a VRML file and the V1.0 is the version number of VRML that you are using (each edition has different coding for certain things). ascii tells the computer to translate the code into a standard language. All VRML files must begin with this line. After the beginning line has been typed in, the next step is to start coding the objects needed for the scene.
|
|