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

Lines Matching defs:Shape

59 //   flog/shape/baseshape.js
60 // flog/shape/sphere.js
61 // flog/shape/plane.js
410 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {};
412 Flog.RayTracer.Shape.Sphere = Class.create();
414 Flog.RayTracer.Shape.Sphere.prototype = {
423 info.shape = this;
460 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {};
462 Flog.RayTracer.Shape.Plane = Class.create();
464 Flog.RayTracer.Shape.Plane.prototype = {
482 info.shape = this;
520 shape: null,
681 var shape = scene.shapes[i];
683 if(shape != exclude){
684 var info = shape.intersect(ray);
708 var shininess = Math.pow(10, info.shape.material.gloss + 1);
739 if(this.options.renderReflections && info.shape.material.reflection > 0)
742 var refl = this.testIntersection(reflectionRay, scene, info.shape);
753 info.shape.material.reflection
768 shadowInfo = this.testIntersection(shadowRay, scene, info.shape);
769 if(shadowInfo.isHit && shadowInfo.shape != info.shape /*&& shadowInfo.shape.type != 'PLANE'*/){
771 var dB = (0.5 * Math.pow(shadowInfo.shape.material.transparency, 0.5));
777 if(this.options.renderHighlights && !shadowInfo.isHit && info.shape.material.gloss > 0){
779 info.shape.position,
785 info.shape.position
820 var sphere = new Flog.RayTracer.Shape.Sphere(
832 var sphere1 = new Flog.RayTracer.Shape.Sphere(
844 var plane = new Flog.RayTracer.Shape.Plane(