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
326 if(typeof(Flog.RayTracer.Material) == 'undefined') Flog.RayTracer.Material = {};
328 Flog.RayTracer.Material.BaseMaterial = Class.create();
330 Flog.RayTracer.Material.BaseMaterial.prototype = {
354 return 'Material [gloss=' + this.gloss + ', transparency=' + this.transparency + ', hasTexture=' + this.hasTexture +']';
361 Flog.RayTracer.Material.Solid = Class.create();
363 Flog.RayTracer.Material.Solid.prototype = Object.extend(
364 new Flog.RayTracer.Material.BaseMaterial(), {
386 Flog.RayTracer.Material.Chessboard = Class.create();
388 Flog.RayTracer.Material.Chessboard.prototype = Object.extend(
389 new Flog.RayTracer.Material.BaseMaterial(), {
427 material: null,
431 this.material = new Flog.RayTracer.Material.SolidMaterial(
440 return 'Material [gloss=' + this.gloss + ', transparency=' + this.transparency + ', hasTexture=' + this.hasTexture +']';
451 initialize : function(pos, radius, material) {
454 this.material = material;
482 info.color = this.material.getColor(0,0);
503 initialize : function(pos, d, material) {
506 this.material = material;
530 if(this.material.hasTexture){
535 info.color = this.material.getColor(u,v);
537 info.color = this.material.getColor(0,0);
744 var shininess = Math.pow(10, info.shape.material.gloss + 1);
775 if(this.options.renderReflections && info.shape.material.reflection > 0)
789 info.shape.material.reflection
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){
859 new Flog.RayTracer.Material.Solid(
871 new Flog.RayTracer.Material.Solid(
883 new Flog.RayTracer.Material.Chessboard(