Simple RWX object without 3D program - Create a panel of 2 by 2 meters


This panel is build up out of 4 points linked between them to form a face.

Open your text editor (for example notepad) and define the start of the RWX like this :

modelbegin
clumpbegin

For a good understanding of the positioning of the points, one has to understand that X stands for the width, Y stands for the height and Z stands for the depth.
The order of the 3 values given to each of the vertex is always the same : X Y Z

For your RWX to be correctly centered and put on the floor, the centre axis will have to be in X0 Y0 and if there is no thickness, also Z0.
The 4 vertex of the panel RWX


Within your Active Worlds virtual world, 1=10 meters or .1=1 meter.

Place the vertex of the panel, like this in comment their corresponding number as indicated in the drawing :

modelbegin
clumpbegin
vertex
vertex
vertex
vertex
-.1
 .1
 .1
-.1
 .2
 .2
  0
  0
 0
 0
 0
 0
#1
#2
#3
#4


Now all points have to be linked between eachother to form the face of the panel, still with the left-to-right in mind, imaginating the object in front of you (see drawing). Three points connecting between eachother are forming a triangle, four points connecting between eachother are forming a quad.

quad 1 2 3 4

At this point, the panel is only visible from one side. To make it also visible from the other side, the face of the backside will have to be added or put your object double-faced.
This second option is in our opinion a better solution, but to explain the functioning of a RWX script, we will choose to add a face which will be visible from the back :

quad 4 3 2 1

You have at this moment :

modelbegin
clumpbegin
vertex
vertex
vertex
vertex
-.1
 .1
 .1
-.1
 .2
 .2
  0
  0
 0
 0
 0
 0
#1
#2
#3
#4
quad 1 2 3 4
quad 4 3 2 1

clumpend
modelend



Introduction | RWX page 2 | RWX page 3| RWX page 4| RWX page 5

Tutorials Active Worlds

Valid HTML 4.01 Transitional