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

Lines Matching refs:Material

56 //   flog/material/basematerial.js
57 // flog/material/solid.js
58 // flog/material/chessboard.js
315 if(typeof(Flog.RayTracer.Material) == 'undefined') Flog.RayTracer.Material = {};
317 Flog.RayTracer.Material.BaseMaterial = Class.create();
319 Flog.RayTracer.Material.BaseMaterial.prototype = {
343 return 'Material [gloss=' + this.gloss + ', transparency=' + this.transparency + ', hasTexture=' + this.hasTexture +']';
350 Flog.RayTracer.Material.Solid = Class.create();
352 Flog.RayTracer.Material.Solid.prototype = Object.extend(
353 new Flog.RayTracer.Material.BaseMaterial(), {
375 Flog.RayTracer.Material.Chessboard = Class.create();
377 Flog.RayTracer.Material.Chessboard.prototype = Object.extend(
378 new Flog.RayTracer.Material.BaseMaterial(), {
415 initialize : function(pos, radius, material) {
418 this.material = material;
446 info.color = this.material.getColor(0,0);
467 initialize : function(pos, d, material) {
470 this.material = material;
494 if(this.material.hasTexture){
499 info.color = this.material.getColor(u,v);
501 info.color = this.material.getColor(0,0);
708 var shininess = Math.pow(10, info.shape.material.gloss + 1);
739 if(this.options.renderReflections && info.shape.material.reflection > 0)
753 info.shape.material.reflection
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){
823 new Flog.RayTracer.Material.Solid(
835 new Flog.RayTracer.Material.Solid(
847 new Flog.RayTracer.Material.Chessboard(