1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <title>ReferenceLookupTableCtr</title> 7 <link rel="stylesheet" href="../css/mainpage.css" type="text/css" /> 8 </head> 9 <body> 10 <h1><ReferenceLookupTableCtr></h1> 11 <h2>Description</h2> 12 <p> 13 Reference path to a lookup table.<BR> Takes <b><LookupTableSetContentReferenceCtr></b> as a child element. 14 </p> 15 <h2><LookupTableSetContentReferenceCtr></h2> 16 <p> 17 <p> 18 <LookupTableSetContentReferenceCtr> takes the reference path string as its value.<br> The reference path string is listed in the following format.<BR> 19 <pre>LookupTableSetContents["reference_table_set_name"]@file:abosolute_path_to_reference_file(.clts)</pre> 20 </p> 21 <p> 22 The part following @file: is not given if there is a reference table set inisde the same file. 23 </p> 24 </p> 25<h2>Example Output</h2> 26 27<table> 28<tr> 29<td><pre> 30<Materials><br> 31 <MaterialCtr Name="lambert2" IsCompressible="true" IsFragmentLightEnabled="true" IsVertexLightEnabled="false" IsHemiSphereLightEnabled="false" IsHemiSphereOcclusionEnabled="false" IsFogEnabled="false" TextureCoordinateConfig="Config0120" TranslucencyKind="Opaque" ShaderProgramDescriptionIndex="-1" ShaderBinaryKind="Default"><br> 32 <ShaderReference /><br> 33 <MaterialColor VertexColorScale="1"><br> 34 <Emission R="0" G="0" B="0" A="0" /><br> 35 <Ambient R="1" G="1" B="1" A="0" /><br> 36 <Diffuse R="1" G="1" B="1" A="1" /><br> 37 <Specular0 R="1" G="1" B="1" A="0" /><br> 38 <Specular1 R="0" G="0" B="0" A="0" /><br> 39 <Constant0 R="0" G="0" B="0" A="1" /><br> 40 <Constant1 R="0" G="0" B="0" A="1" /><br> 41 <Constant2 R="0" G="0" B="0" A="1" /><br> 42 <Constant3 R="0" G="0" B="0" A="1" /><br> 43 <Constant1 R="0" G="0" B="0" A="1" /><br> 44 <Constant5 R="0" G="0" B="0" A="1" /><br> 45 </MaterialColor><br> 46 <Rasterization CullingMode="BackFace" IsPolygonOffsetEnabled="false" PolygonOffsetFactor="0" PolygonOffsetUnit="0" /><br> 47 <TextureCoordinators><br> 48 <TextureCoordinatorCtr SourceCoordinate="0" MappingMethod="UvCoordinateMap" ReferenceCamera="0" MatrixMode="DccMaya" ScaleS="1" ScaleT="1" Rotate="0" TranslateS="0" TranslateT="0" /><br> 49 </TextureCoordinators><br> 50 <TextureMappers><br> 51 <PixelBasedTextureMapperCtr><br> 52 <TextureReference>Textures["Number.1"]@file:Textures/Number.1.ctex</TextureReference><br> 53 <StandardTextureSamplerCtr MinFilter="Linear" MagFilter="Linear" WrapS="Repeat" WrapT="Repeat" MinLod="0" LodBias="0"><br> 54 <BorderColor R="0" G="0" B="0" A="1" /><br> 55 </StandardTextureSamplerCtr><br> 56 </PixelBasedTextureMapperCtr><br> 57 </TextureMappers><br> 58 <FragmentShader LayerConfig="ConfigurationType0"><br> 59 <BufferColor R="0" G="0" B="0" A="1" /><br> 60 <FragmentBump BumpTextureIndex="Texture0" BumpMode="NotUsed" IsBumpRenormalize="false" /><br> 61 <FragmentLighting FresnelConfig="No" IsClampHighLight="false" IsDistribution0Enabled="false" IsDistribution1Enabled="false" IsGeometricFactor0Enabled="false" IsGeometricFactor1Enabled="false" IsReflectionEnabled="false" /><br> 62 <FragmentLightingTable><br> 63 <ReflectanceRSampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br><strong> 64 <ReferenceLookupTableCtr TableName="LookupTable_1"><br> 65 <LookupTableSetContentReferenceCtr>LookupTableSetContents["LookupTableSetContentCtr1"]@file:LookupTableSetContentCtr1.clts</LookupTableSetContentReferenceCtr><br> 66 </ReferenceLookupTableCtr><br></strong> 67 </ReflectanceRSampler><br> 68 <ReflectanceGSampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 69 <NullLookupTableCtr /><br> 70 </ReflectanceGSampler><br> 71 <ReflectanceBSampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 72 <NullLookupTableCtr /><br> 73 </ReflectanceBSampler><br> 74 <Distribution0Sampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 75 <NullLookupTableCtr /><br> 76 </Distribution0Sampler><br> 77 <Distribution1Sampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 78 <NullLookupTableCtr /><br> 79 </Distribution1Sampler><br> 80 <FresnelSampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 81 <NullLookupTableCtr /><br> 82 </FresnelSampler><br> 83 </FragmentLightingTable><br> 84 <TextureCombiners><br> 85 <TextureCombinerCtr CombineRgb="Modulate" CombineAlpha="Modulate" ScaleRgb="One" ScaleAlpha="One" Constant="Constant0" BufferInputRgb="PreviousBuffer" BufferInputAlpha="PreviousBuffer"><br> 86 <SourceRgb Source0="FragmentPrimaryColor" Source1="Texture0" Source2="Constant" /><br> 87 <OperandRgb Operand0="Color" Operand1="Color" Operand2="Color" /><br> 88 <SourceAlpha Source0="PrimaryColor" Source1="Texture0" Source2="Constant" /><br> 89 <OperandAlpha Operand0="Alpha" Operand1="Alpha" Operand2="Alpha" /><br> 90 </TextureCombinerCtr><br> 91 </TextureCombiners><br> 92 <AlphaTest IsTestEnabled="false" TestFunction="Always" TestReference="0" /><br> 93 </FragmentShader><br> 94 <FragmentOperation><br> 95 <DepthOperation IsTestEnabled="true" TestFunction="Less" IsMaskEnabled="true" /><br> 96 <BlendOperation Mode="NotUsed" LogicOperation="Copy"><br> 97 <RgbParameter BlendFunctionSource="SourceAlpha" BlendFunctionDestination="OneMinusSourceAlpha" BlendEquation="FuncAdd" /><br> 98 <AlphaParameter BlendFunctionSource="One" BlendFunctionDestination="Zero" BlendEquation="FuncAdd" /><br> 99 <BlendColor R="0" G="0" B="0" A="1" /><br> 100 </BlendOperation><br> 101 </FragmentOperation><br> 102 </MaterialCtr><br> 103</Materials><br> 104</pre></td> 105</tr></table> 106 <hr><p>CONFIDENTIAL</p></body> 107</html>