Home | History | Annotate | Download | only in benchmarks

Lines Matching defs:Shape

64 //   flog/shape/baseshape.js
65 // flog/shape/sphere.js
66 // flog/shape/plane.js
415 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {};
417 Flog.RayTracer.Shape.Sphere = Class.create();
419 Flog.RayTracer.Shape.Sphere.prototype = {
428 info.shape = this;
465 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {};
467 Flog.RayTracer.Shape.Plane = Class.create();
469 Flog.RayTracer.Shape.Plane.prototype = {
487 info.shape = this;
525 shape: null,
686 var shape = scene.shapes[i];
688 if(shape != exclude){
689 var info = shape.intersect(ray);
713 var shininess = Math.pow(10, info.shape.material.gloss + 1);
744 if(this.options.renderReflections && info.shape.material.reflection > 0)
747 var refl = this.testIntersection(reflectionRay, scene, info.shape);
758 info.shape.material.reflection
773 shadowInfo = this.testIntersection(shadowRay, scene, info.shape);
774 if(shadowInfo.isHit && shadowInfo.shape != info.shape /*&& shadowInfo.shape.type != 'PLANE'*/){
776 var dB = (0.5 * Math.pow(shadowInfo.shape.material.transparency, 0.5));
782 if(this.options.renderHighlights && !shadowInfo.isHit && info.shape.material.gloss > 0){
784 info.shape.position,
790 info.shape.position
825 var sphere = new Flog.RayTracer.Shape.Sphere(
837 var sphere1 = new Flog.RayTracer.Shape.Sphere(
849 var plane = new Flog.RayTracer.Shape.Plane(