//created=30 Sep 07//description=Texture baking in Blender and rendering in an applet.//title=Texture Baking//publish=true import SGCamera.*;import Raytracing.*;import Tuple.*; SGCamera cam;Raytracer tracer; void setup(){ size(550,500,P3D); cam = new SGCamera(this,10,10,0,0,0,0, SGCamera.ORBIT, SGCamera.DOLLY);//we aren't going to do any intersection tests, so don't bother to build a treetracer = new Raytracer(this, new ListAccelerator());frameRate(30);tracer.openFile("rocketCons6.mra",cam);cam.lookAt(0,0,0); } public void draw(){background(50);cam.feed();tracer.draw();}