Home | History | Annotate | Download | only in benchmarks

Lines Matching defs:Material

61 //   flog/material/basematerial.js
62 // flog/material/solid.js
63 // flog/material/chessboard.js
320 if(typeof(Flog.RayTracer.Material) == 'undefined') Flog.RayTracer.Material = {};
322 Flog.RayTracer.Material.BaseMaterial = Class.create();
324 Flog.RayTracer.Material.BaseMaterial.prototype = {
348 return 'Material [gloss=' + this.gloss + ', transparency=' + this.transparency + ', hasTexture=' + this.hasTexture +']';
355 Flog.RayTracer.Material.Solid = Class.create();
357 Flog.RayTracer.Material.Solid.prototype = Object.extend(
358 new Flog.RayTracer.Material.BaseMaterial(), {
380 Flog.RayTracer.Material.Chessboard = Class.create();
382 Flog.RayTracer.Material.Chessboard.prototype = Object.extend(
383 new Flog.RayTracer.Material.BaseMaterial(), {
420 initialize : function(pos, radius, material) {
423 this.material = material;
451 info.color = this.material.getColor(0,0);
472 initialize : function(pos, d, material) {
475 this.material = material;
499 if(this.material.hasTexture){
504 info.color = this.material.getColor(u,v);
506 info.color = this.material.getColor(0,0);
713 var shininess = Math.pow(10, info.shape.material.gloss + 1);
744 if(this.options.renderReflections && info.shape.material.reflection > 0)
758 info.shape.material.reflection
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){
828 new Flog.RayTracer.Material.Solid(
840 new Flog.RayTracer.Material.Solid(
852 new Flog.RayTracer.Material.Chessboard(