Canvas3D : Tests

There are three test files currently available with the downloadable zipped code of Canvas3D. Here are the different views demonstrated with their corresponding source code for the different tests. After the installation, you may execute these tests using the Tcl command source, for e.g. % source test1.txt will execute the first test. Make sure that you are executing this command in the right directory, i.e. the Tests directory, or else you will need to specify the full path in the source command.


Test 1 : Creating a simple box with lena.ppm image as texture on all its sides. To view this box from different angles. Click here to see the source code for this test.


Test 2 : Rotating spheres and boxes with different textures. Click here to see the source code for this test.


Test 3 : Plain wireframed objects with color. Click here to see the source code for this test.


Ankit Patel (apatel@cs.cornell.edu)