Demo3
/* Demo2 jTrace file * by Damian Newport * 16/03/2001 */ /* Draws 3 cylinders one alone each axis, * finds the intersection of them 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, intersect, cylb){} node nodeb (nodea, intersect, 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