GwieF.com : project.gwief.com : Demos : beta 0.15 : Demo2
logo

Demo2

</COMMENT>


/*	Demo2 jTrace file
 *	by Damian Newport
 *	16/03/2001
 */

/*	Draws 3 cylinders one alone each axis,
 *	then rotates and scales the whole group
 */

shape cyla (cylinder){
rotatex(90);
color (1,0,0);
}

shape cylb (cylinder){
rotatez(90);
color (0,1,0);
}

shape cylc (cylinder){
color (0,0,1);
}

light lighta {
position(4,6,-8);
color(1,1,1);
intensity(6);
}

node nodea (cyla, add, cylb){}
node nodeb (nodea, add, cylc){
rotatex(40);
rotatey(30);
scale(1.5,1.5,1.5);
}

startnode nodeb;

Download this jTrace file

To view this you need the Java2 Plugin available from http://java.sun.com/products/plugin