Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in _menu_load_objects() (line 579 of /home/drbiz/public/tools.realism.com/includes/menu.inc).

Revision of Material from Thu, 06/15/2017 - 21:04

<div class="node-signature"><div class="node-inheritance"><span class='node-name'>Material</span> : <span class='implementation-names'>XSeen</span> {</div>
<div class='node-fields'>
<div class="node-field"><div class="field-type">SFColor</div><div class="field-access">[in,out]</div><div class="field-name">colorDiffuse</div><div class="field-default">(.8 .8 .8)</div><div class="field-range">...</div></div>
<div class="node-field"><div class="field-type">SFColor</div><div class="field-access">[in,out]</div><div class="field-name">colorEmissive</div><div class="field-default">(.8 .8 .8)</div><div class="field-range">...</div></div>
<div class="node-field"><div class="field-type">SFColor</div><div class="field-access">[in,out]</div><div class="field-name">colorSpecular</div><div class="field-default">(.8 .8 .8)</div><div class="field-range">...</div></div>
<div class="node-field"><div class="field-type">SFFloat</div><div class="field-access">[in,out]</div><div class="field-name">shininess</div><div class="field-default">[0,1]</div><div class="field-range"></div></div>
<div class="node-field"><div class="field-type">SFFloat</div><div class="field-access">[in,out]</div><div class="field-name">transparency</div><div class="field-default">[0,1]</div><div class="field-range"></div></div>
</div><br>
}</div>
<br />This node applies uniform coloring to the geometry. It must be a child of an <strong>Appearance</strong> node.</p><p><em>colorDiffuse</em>, <em>colorEmissive</em>, <em>colorSpecular</em> define the diffuse, emissive, and specular color components of the surface. These act in concert with ImageTexture to determine the final apperance of the image. This may also be modified by shaders applied after the color and texture.</p><p>The reflectivity of the surface is specified by the <em>shininess</em> field. Its value ranges [0,1] with 0 being fully matte and 1 being highly reflective.</p><p>The overall opactity of the object is specified by the <em>transparency</em> field with the range of [0,1]; where 0 being fully opaque and 1 being fully transparent.</p>