Home | History | Annotate | Download | only in benchmarks

Lines Matching full:shape

64 //   flog/shape/baseshape.js
65 // flog/shape/sphere.js
66 // flog/shape/plane.js
421 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {};
423 Flog.RayTracer.Shape.BaseShape = Class.create();
425 Flog.RayTracer.Shape.BaseShape.prototype = {
446 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {};
448 Flog.RayTracer.Shape.Sphere = Class.create();
450 Flog.RayTracer.Shape.Sphere.prototype = {
459 info.shape = this;
496 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {};
498 Flog.RayTracer.Shape.Plane = Class.create();
500 Flog.RayTracer.Shape.Plane.prototype = {
518 info.shape = this;
556 shape: null,
717 var shape = scene.shapes[i];
719 if(shape != exclude){
720 var info = shape.intersect(ray);
744 var shininess = Math.pow(10, info.shape.material.gloss + 1);
775 if(this.options.renderReflections && info.shape.material.reflection > 0)
778 var refl = this.testIntersection(reflectionRay, scene, info.shape);
789 info.shape.material.reflection
804 shadowInfo = this.testIntersection(shadowRay, scene, info.shape);
805 if(shadowInfo.isHit && shadowInfo.shape != info.shape /*&& shadowInfo.shape.type != 'PLANE'*/){
807 var dB = (0.5 * Math.pow(shadowInfo.shape.material.transparency, 0.5));
813 if(this.options.renderHighlights && !shadowInfo.isHit && info.shape.material.gloss > 0){
815 info.shape.position,
821 info.shape.position
856 var sphere = new Flog.RayTracer.Shape.Sphere(
868 var sphere1 = new Flog.RayTracer.Shape.Sphere(
880 var plane = new Flog.RayTracer.Shape.Plane(