Home | History | Annotate | Download | only in v8-v5

Lines Matching defs:Shape

59 //   flog/shape/baseshape.js
60 // flog/shape/sphere.js
61 // flog/shape/plane.js
416 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {};
418 Flog.RayTracer.Shape.BaseShape = Class.create();
420 Flog.RayTracer.Shape.BaseShape.prototype = {
441 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {};
443 Flog.RayTracer.Shape.Sphere = Class.create();
445 Flog.RayTracer.Shape.Sphere.prototype = {
454 info.shape = this;
491 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {};
493 Flog.RayTracer.Shape.Plane = Class.create();
495 Flog.RayTracer.Shape.Plane.prototype = {
513 info.shape = this;
551 shape: null,
712 var shape = scene.shapes[i];
714 if(shape != exclude){
715 var info = shape.intersect(ray);
739 var shininess = Math.pow(10, info.shape.material.gloss + 1);
770 if(this.options.renderReflections && info.shape.material.reflection > 0)
773 var refl = this.testIntersection(reflectionRay, scene, info.shape);
784 info.shape.material.reflection
799 shadowInfo = this.testIntersection(shadowRay, scene, info.shape);
800 if(shadowInfo.isHit && shadowInfo.shape != info.shape /*&& shadowInfo.shape.type != 'PLANE'*/){
802 var dB = (0.5 * Math.pow(shadowInfo.shape.material.transparency, 0.5));
808 if(this.options.renderHighlights && !shadowInfo.isHit && info.shape.material.gloss > 0){
810 info.shape.position,
816 info.shape.position
851 var sphere = new Flog.RayTracer.Shape.Sphere(
863 var sphere1 = new Flog.RayTracer.Shape.Sphere(
875 var plane = new Flog.RayTracer.Shape.Plane(