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

Lines Matching defs:material

56 //   flog/material/basematerial.js
57 // flog/material/solid.js
58 // flog/material/chessboard.js
321 if(typeof(Flog.RayTracer.Material) == 'undefined') Flog.RayTracer.Material = {};
323 Flog.RayTracer.Material.BaseMaterial = Class.create();
325 Flog.RayTracer.Material.BaseMaterial.prototype = {
349 return 'Material [gloss=' + this.gloss + ', transparency=' + this.transparency + ', hasTexture=' + this.hasTexture +']';
356 Flog.RayTracer.Material.Solid = Class.create();
358 Flog.RayTracer.Material.Solid.prototype = Object.extend(
359 new Flog.RayTracer.Material.BaseMaterial(), {
381 Flog.RayTracer.Material.Chessboard = Class.create();
383 Flog.RayTracer.Material.Chessboard.prototype = Object.extend(
384 new Flog.RayTracer.Material.BaseMaterial(), {
422 material: null,
426 this.material = new Flog.RayTracer.Material.SolidMaterial(
435 return 'Material [gloss=' + this.gloss + ', transparency=' + this.transparency + ', hasTexture=' + this.hasTexture +']';
446 initialize : function(pos, radius, material) {
449 this.material = material;
477 info.color = this.material.getColor(0,0);
498 initialize : function(pos, d, material) {
501 this.material = material;
525 if(this.material.hasTexture){
530 info.color = this.material.getColor(u,v);
532 info.color = this.material.getColor(0,0);
739 var shininess = Math.pow(10, info.shape.material.gloss + 1);
770 if(this.options.renderReflections && info.shape.material.reflection > 0)
784 info.shape.material.reflection
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){
854 new Flog.RayTracer.Material.Solid(
866 new Flog.RayTracer.Material.Solid(
878 new Flog.RayTracer.Material.Chessboard(