Difference between revisions of "Team Guardian Cube Mapping"

From CDOT Wiki
Jump to: navigation, search
Line 3: Line 3:
 
xmlns:w="urn:schemas-microsoft-com:office:word"
 
xmlns:w="urn:schemas-microsoft-com:office:word"
 
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
 
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
xmlns="http://www.w3.org/TR/REC-html40">
+
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=windows-1252"><meta name=ProgId content=Word.Document><meta name=Generator content="Microsoft Word 12"><meta name=Originator content="Microsoft Word 12"><link rel=File-List
 
+
href="How%20to%20implement%20Environmental%20Cube%20Mapping_files/filelist.xml"><&#33;--[if gte mso 9]><xml><o:DocumentProperties><o:Author>CloudScorpion</o:Author><o:LastAuthor>CloudScorpion</o:LastAuthor><o:Revision>2</o:Revision><o:TotalTime>1971</o:TotalTime><o:Created>2011-04-14T09:44:00Z</o:Created><o:LastSaved>2011-04-14T09:44:00Z</o:LastSaved><o:Pages>3</o:Pages><o:Words>1044</o:Words><o:Characters>5954</o:Characters><o:Lines>49</o:Lines><o:Paragraphs>13</o:Paragraphs><o:CharactersWithSpaces>6985</o:CharactersWithSpaces><o:Version>12.00</o:Version></o:DocumentProperties></xml><&#33;[endif]--><link rel=themeData
<head>
+
href="How%20to%20implement%20Environmental%20Cube%20Mapping_files/themedata.thmx"><link rel=colorSchemeMapping
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
+
href="How%20to%20implement%20Environmental%20Cube%20Mapping_files/colorschememapping.xml"><&#33;--[if gte mso 9]><xml><w:WordDocument><w:SpellingState>Clean</w:SpellingState><w:GrammarState>Clean</w:GrammarState><w:TrackMoves>false</w:TrackMoves><w:TrackFormatting/><w:PunctuationKerning/><w:ValidateAgainstSchemas/><w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid><w:IgnoreMixedContent>false</w:IgnoreMixedContent><w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText><w:DoNotPromoteQF/><w:LidThemeOther>EN-CA</w:LidThemeOther><w:LidThemeAsian>X-NONE</w:LidThemeAsian><w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript><w:Compatibility><w:BreakWrappedTables/><w:SnapToGridInCell/><w:WrapTextWithPunct/><w:UseAsianBreakRules/><w:DontGrowAutofit/><w:SplitPgBreakAndParaMark/><w:DontVertAlignCellWithSp/><w:DontBreakConstrainedForcedTables/><w:DontVertAlignInTxbx/><w:Word11KerningPairs/><w:CachedColBalance/></w:Compatibility><w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel><m:mathPr><m:mathFont m:val="Cambria Math"/><m:brkBin m:val="before"/><m:brkBinSub m:val="&#45;-"/><m:smallFrac m:val="off"/><m:dispDef/><m:lMargin m:val="0"/><m:rMargin m:val="0"/><m:defJc m:val="centerGroup"/><m:wrapIndent m:val="1440"/><m:intLim m:val="subSup"/><m:naryLim m:val="undOvr"/></m:mathPr></w:WordDocument></xml><&#33;[endif]--><&#33;--[if gte mso 9]><xml><w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
<meta name=ProgId content=Word.Document>
+
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
<meta name=Generator content="Microsoft Word 12">
+
LatentStyleCount="267"><w:LsdException Locked="false" Priority="0" SemiHidden="false"
<meta name=Originator content="Microsoft Word 12">
+
UnhideWhenUsed="false" QFormat="true" Name="Normal"/><w:LsdException Locked="false" Priority="9" SemiHidden="false"
<link rel=File-List
+
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/><w:LsdException Locked="false" Priority="39" Name="toc 1"/><w:LsdException Locked="false" Priority="39" Name="toc 2"/><w:LsdException Locked="false" Priority="39" Name="toc 3"/><w:LsdException Locked="false" Priority="39" Name="toc 4"/><w:LsdException Locked="false" Priority="39" Name="toc 5"/><w:LsdException Locked="false" Priority="39" Name="toc 6"/><w:LsdException Locked="false" Priority="39" Name="toc 7"/><w:LsdException Locked="false" Priority="39" Name="toc 8"/><w:LsdException Locked="false" Priority="39" Name="toc 9"/><w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/><w:LsdException Locked="false" Priority="10" SemiHidden="false"
href="How%20to%20implement%20Environmental%20Cube%20Mapping_files/filelist.xml">
+
UnhideWhenUsed="false" QFormat="true" Name="Title"/><w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/><w:LsdException Locked="false" Priority="11" SemiHidden="false"
<!--[if gte mso 9]><xml>
+
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/><w:LsdException Locked="false" Priority="22" SemiHidden="false"
<o:DocumentProperties>
+
UnhideWhenUsed="false" QFormat="true" Name="Strong"/><w:LsdException Locked="false" Priority="20" SemiHidden="false"
  <o:Author>CloudScorpion</o:Author>
+
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/><w:LsdException Locked="false" Priority="59" SemiHidden="false"
  <o:LastAuthor>CloudScorpion</o:LastAuthor>
+
UnhideWhenUsed="false" Name="Table Grid"/><w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/><w:LsdException Locked="false" Priority="1" SemiHidden="false"
  <o:Revision>2</o:Revision>
+
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"
  <o:TotalTime>1971</o:TotalTime>
+
UnhideWhenUsed="false" Name="Light Shading"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"
  <o:Created>2011-04-14T09:44:00Z</o:Created>
+
UnhideWhenUsed="false" Name="Light List"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"
  <o:LastSaved>2011-04-14T09:44:00Z</o:LastSaved>
+
UnhideWhenUsed="false" Name="Light Grid"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"
  <o:Pages>3</o:Pages>
+
UnhideWhenUsed="false" Name="Medium Shading 1"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"
  <o:Words>1044</o:Words>
+
UnhideWhenUsed="false" Name="Medium Shading 2"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"
  <o:Characters>5954</o:Characters>
+
UnhideWhenUsed="false" Name="Medium List 1"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"
  <o:Lines>49</o:Lines>
+
UnhideWhenUsed="false" Name="Medium List 2"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"
  <o:Paragraphs>13</o:Paragraphs>
+
UnhideWhenUsed="false" Name="Medium Grid 1"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"
  <o:CharactersWithSpaces>6985</o:CharactersWithSpaces>
+
UnhideWhenUsed="false" Name="Medium Grid 2"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"
  <o:Version>12.00</o:Version>
+
UnhideWhenUsed="false" Name="Medium Grid 3"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"
</o:DocumentProperties>
+
UnhideWhenUsed="false" Name="Dark List"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"
</xml><![endif]-->
+
UnhideWhenUsed="false" Name="Colorful Shading"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"
<link rel=themeData
+
UnhideWhenUsed="false" Name="Colorful List"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"
href="How%20to%20implement%20Environmental%20Cube%20Mapping_files/themedata.thmx">
+
UnhideWhenUsed="false" Name="Colorful Grid"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"
<link rel=colorSchemeMapping
+
UnhideWhenUsed="false" Name="Light Shading Accent 1"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"
href="How%20to%20implement%20Environmental%20Cube%20Mapping_files/colorschememapping.xml">
+
UnhideWhenUsed="false" Name="Light List Accent 1"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"
<!--[if gte mso 9]><xml>
+
UnhideWhenUsed="false" Name="Light Grid Accent 1"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"
<w:WordDocument>
+
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"
  <w:SpellingState>Clean</w:SpellingState>
+
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"
  <w:GrammarState>Clean</w:GrammarState>
+
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/><w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/><w:LsdException Locked="false" Priority="34" SemiHidden="false"
  <w:TrackMoves>false</w:TrackMoves>
+
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/><w:LsdException Locked="false" Priority="29" SemiHidden="false"
  <w:TrackFormatting/>
+
UnhideWhenUsed="false" QFormat="true" Name="Quote"/><w:LsdException Locked="false" Priority="30" SemiHidden="false"
  <w:PunctuationKerning/>
+
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"
  <w:ValidateAgainstSchemas/>
+
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
+
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
+
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
+
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"
  <w:DoNotPromoteQF/>
+
UnhideWhenUsed="false" Name="Dark List Accent 1"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"
  <w:LidThemeOther>EN-CA</w:LidThemeOther>
+
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"
  <w:LidThemeAsian>X-NONE</w:LidThemeAsian>
+
UnhideWhenUsed="false" Name="Colorful List Accent 1"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"
  <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
+
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"
  <w:Compatibility>
+
UnhideWhenUsed="false" Name="Light Shading Accent 2"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"
  <w:BreakWrappedTables/>
+
UnhideWhenUsed="false" Name="Light List Accent 2"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"
  <w:SnapToGridInCell/>
+
UnhideWhenUsed="false" Name="Light Grid Accent 2"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"
  <w:WrapTextWithPunct/>
+
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"
  <w:UseAsianBreakRules/>
+
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"
  <w:DontGrowAutofit/>
+
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"
  <w:SplitPgBreakAndParaMark/>
+
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"
  <w:DontVertAlignCellWithSp/>
+
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"
  <w:DontBreakConstrainedForcedTables/>
+
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"
  <w:DontVertAlignInTxbx/>
+
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"
  <w:Word11KerningPairs/>
+
UnhideWhenUsed="false" Name="Dark List Accent 2"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"
  <w:CachedColBalance/>
+
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"
  </w:Compatibility>
+
UnhideWhenUsed="false" Name="Colorful List Accent 2"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
+
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"
  <m:mathPr>
+
UnhideWhenUsed="false" Name="Light Shading Accent 3"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"
  <m:mathFont m:val="Cambria Math"/>
+
UnhideWhenUsed="false" Name="Light List Accent 3"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"
  <m:brkBin m:val="before"/>
+
UnhideWhenUsed="false" Name="Light Grid Accent 3"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"
  <m:brkBinSub m:val="&#45;-"/>
+
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"
  <m:smallFrac m:val="off"/>
+
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"
  <m:dispDef/>
+
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"
  <m:lMargin m:val="0"/>
+
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"
  <m:rMargin m:val="0"/>
+
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"
  <m:defJc m:val="centerGroup"/>
+
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"
  <m:wrapIndent m:val="1440"/>
+
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"
  <m:intLim m:val="subSup"/>
+
UnhideWhenUsed="false" Name="Dark List Accent 3"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"
  <m:naryLim m:val="undOvr"/>
+
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"
  </m:mathPr></w:WordDocument>
+
UnhideWhenUsed="false" Name="Colorful List Accent 3"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"
</xml><![endif]--><!--[if gte mso 9]><xml>
+
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
+
UnhideWhenUsed="false" Name="Light Shading Accent 4"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"
  DefSemiHidden="true" DefQFormat="false" DefPriority="99"
+
UnhideWhenUsed="false" Name="Light List Accent 4"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"
  LatentStyleCount="267">
+
UnhideWhenUsed="false" Name="Light Grid Accent 4"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"
  <w:LsdException Locked="false" Priority="0" SemiHidden="false"
+
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"
  UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
+
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"
  <w:LsdException Locked="false" Priority="9" SemiHidden="false"
+
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"
  UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
+
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
+
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
+
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
+
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
+
UnhideWhenUsed="false" Name="Dark List Accent 4"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
+
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
+
UnhideWhenUsed="false" Name="Colorful List Accent 4"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
+
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
+
UnhideWhenUsed="false" Name="Light Shading Accent 5"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"
  <w:LsdException Locked="false" Priority="39" Name="toc 1"/>
+
UnhideWhenUsed="false" Name="Light List Accent 5"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"
  <w:LsdException Locked="false" Priority="39" Name="toc 2"/>
+
UnhideWhenUsed="false" Name="Light Grid Accent 5"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"
  <w:LsdException Locked="false" Priority="39" Name="toc 3"/>
+
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"
  <w:LsdException Locked="false" Priority="39" Name="toc 4"/>
+
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"
  <w:LsdException Locked="false" Priority="39" Name="toc 5"/>
+
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"
  <w:LsdException Locked="false" Priority="39" Name="toc 6"/>
+
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"
  <w:LsdException Locked="false" Priority="39" Name="toc 7"/>
+
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"
  <w:LsdException Locked="false" Priority="39" Name="toc 8"/>
+
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"
  <w:LsdException Locked="false" Priority="39" Name="toc 9"/>
+
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"
  <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
+
UnhideWhenUsed="false" Name="Dark List Accent 5"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"
  <w:LsdException Locked="false" Priority="10" SemiHidden="false"
+
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"
  UnhideWhenUsed="false" QFormat="true" Name="Title"/>
+
UnhideWhenUsed="false" Name="Colorful List Accent 5"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"
  <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
+
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"
  <w:LsdException Locked="false" Priority="11" SemiHidden="false"
+
UnhideWhenUsed="false" Name="Light Shading Accent 6"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"
  UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
+
UnhideWhenUsed="false" Name="Light List Accent 6"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"
  <w:LsdException Locked="false" Priority="22" SemiHidden="false"
+
UnhideWhenUsed="false" Name="Light Grid Accent 6"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"
  UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
+
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"
  <w:LsdException Locked="false" Priority="20" SemiHidden="false"
+
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"
  UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
+
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"
  <w:LsdException Locked="false" Priority="59" SemiHidden="false"
+
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"
  UnhideWhenUsed="false" Name="Table Grid"/>
+
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"
  <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
+
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"
  <w:LsdException Locked="false" Priority="1" SemiHidden="false"
+
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"
  UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
+
UnhideWhenUsed="false" Name="Dark List Accent 6"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
+
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"
  UnhideWhenUsed="false" Name="Light Shading"/>
+
UnhideWhenUsed="false" Name="Colorful List Accent 6"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
+
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/><w:LsdException Locked="false" Priority="19" SemiHidden="false"
  UnhideWhenUsed="false" Name="Light List"/>
+
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/><w:LsdException Locked="false" Priority="21" SemiHidden="false"
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
+
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/><w:LsdException Locked="false" Priority="31" SemiHidden="false"
  UnhideWhenUsed="false" Name="Light Grid"/>
+
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/><w:LsdException Locked="false" Priority="32" SemiHidden="false"
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
+
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/><w:LsdException Locked="false" Priority="33" SemiHidden="false"
  UnhideWhenUsed="false" Name="Medium Shading 1"/>
+
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/><w:LsdException Locked="false" Priority="37" Name="Bibliography"/><w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/></w:LatentStyles></xml><&#33;[endif]--><style><&#33;--
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
+
/* Font Definitions */
  UnhideWhenUsed="false" Name="Medium Shading 2"/>
+
@font-face
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 1"/>
 
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 2"/>
 
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 1"/>
 
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 2"/>
 
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 3"/>
 
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Dark List"/>
 
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Shading"/>
 
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful List"/>
 
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Grid"/>
 
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
 
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light List Accent 1"/>
 
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
 
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
 
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
 
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
 
  <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
 
  <w:LsdException Locked="false" Priority="34" SemiHidden="false"
 
  UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
 
  <w:LsdException Locked="false" Priority="29" SemiHidden="false"
 
  UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
 
  <w:LsdException Locked="false" Priority="30" SemiHidden="false"
 
  UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
 
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
 
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
 
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
 
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
 
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Dark List Accent 1"/>
 
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
 
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
 
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
 
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
 
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light List Accent 2"/>
 
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
 
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
 
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
 
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
 
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
 
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
 
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
 
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
 
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Dark List Accent 2"/>
 
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
 
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
 
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
 
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
 
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light List Accent 3"/>
 
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
 
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
 
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
 
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
 
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
 
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
 
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
 
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
 
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Dark List Accent 3"/>
 
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
 
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
 
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
 
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
 
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light List Accent 4"/>
 
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
 
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
 
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
 
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
 
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
 
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
 
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
 
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
 
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Dark List Accent 4"/>
 
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
 
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
 
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
 
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
 
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light List Accent 5"/>
 
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
 
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
 
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
 
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
 
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
 
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
 
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
 
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
 
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Dark List Accent 5"/>
 
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
 
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
 
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
 
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
 
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light List Accent 6"/>
 
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
 
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
 
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
 
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
 
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
 
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
 
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
 
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
 
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Dark List Accent 6"/>
 
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
 
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
 
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
 
  UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
 
  <w:LsdException Locked="false" Priority="19" SemiHidden="false"
 
  UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
 
  <w:LsdException Locked="false" Priority="21" SemiHidden="false"
 
  UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
 
  <w:LsdException Locked="false" Priority="31" SemiHidden="false"
 
  UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
 
  <w:LsdException Locked="false" Priority="32" SemiHidden="false"
 
  UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
 
  <w:LsdException Locked="false" Priority="33" SemiHidden="false"
 
  UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
 
  <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
 
  <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
 
</w:LatentStyles>
 
</xml><![endif]-->
 
<style>
 
<!--
 
/* Font Definitions */
 
@font-face
 
 
{font-family:Wingdings;
 
{font-family:Wingdings;
 
panose-1:5 0 0 0 0 0 0 0 0 0;
 
panose-1:5 0 0 0 0 0 0 0 0 0;
Line 356: Line 145:
 
mso-font-pitch:variable;
 
mso-font-pitch:variable;
 
mso-font-signature:-520092929 1073786111 9 0 415 0;}
 
mso-font-signature:-520092929 1073786111 9 0 415 0;}
/* Style Definitions */
+
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
+
p.MsoNormal, li.MsoNormal, div.MsoNormal
 
{mso-style-unhide:no;
 
{mso-style-unhide:no;
 
mso-style-qformat:yes;
 
mso-style-qformat:yes;
Line 501: Line 290:
 
div.WordSection1
 
div.WordSection1
 
{page:WordSection1;}
 
{page:WordSection1;}
/* List Definitions */
+
/* List Definitions */
@list l0
+
@list l0
 
{mso-list-id:99953897;
 
{mso-list-id:99953897;
 
mso-list-type:hybrid;
 
mso-list-type:hybrid;
 
mso-list-template-ids:1078334064 269025297 269025281 269025299 269025295 269025305 269025307 269025295 269025305 269025307;}
 
mso-list-template-ids:1078334064 269025297 269025281 269025299 269025295 269025305 269025307 269025295 269025305 269025307;}
 
@list l0:level1
 
@list l0:level1
{mso-level-text:"%1\)";
+
{mso-level-text:"%1)";
 
mso-level-tab-stop:none;
 
mso-level-tab-stop:none;
 
mso-level-number-position:left;
 
mso-level-number-position:left;
Line 513: Line 302:
 
@list l0:level2
 
@list l0:level2
 
{mso-level-number-format:bullet;
 
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
+
mso-level-text:F0B7;
 
mso-level-tab-stop:none;
 
mso-level-tab-stop:none;
 
mso-level-number-position:left;
 
mso-level-number-position:left;
Line 551: Line 340:
 
mso-list-template-ids:-930814958 269025297 269025305 269025307 269025295 269025305 269025307 269025295 269025305 269025307;}
 
mso-list-template-ids:-930814958 269025297 269025305 269025307 269025295 269025305 269025307 269025295 269025305 269025307;}
 
@list l3:level1
 
@list l3:level1
{mso-level-text:"%1\)";
+
{mso-level-text:"%1)";
 
mso-level-tab-stop:none;
 
mso-level-tab-stop:none;
 
mso-level-number-position:left;
 
mso-level-number-position:left;
Line 575: Line 364:
 
ul
 
ul
 
{margin-bottom:0cm;}
 
{margin-bottom:0cm;}
-->
+
--></style><&#33;--[if gte mso 10]><style>
</style>
+
/* Style Definitions */
<!--[if gte mso 10]>
+
table.MsoNormalTable
<style>
 
/* Style Definitions */
 
table.MsoNormalTable
 
 
{mso-style-name:"Table Normal";
 
{mso-style-name:"Table Normal";
 
mso-tstyle-rowband-size:0;
 
mso-tstyle-rowband-size:0;
Line 604: Line 390:
 
mso-bidi-theme-font:minor-bidi;
 
mso-bidi-theme-font:minor-bidi;
 
mso-fareast-language:EN-US;}
 
mso-fareast-language:EN-US;}
</style>
+
</style><&#33;[endif]--><&#33;--[if gte mso 9]><xml><o:shapedefaults v:ext="edit" spidmax="2050"/></xml><&#33;[endif]--><&#33;--[if gte mso 9]><xml><o:shapelayout v:ext="edit"><o:idmap v:ext="edit" data="1"/></o:shapelayout></xml><&#33;[endif]--></head><body lang=EN-CA style='tab-interval:36.0pt'><div class=WordSection1><p class=MsoNormal>Theory behind the Material Class:</p><p class=MsoListParagraphCxSpFirst style='text-indent:-18.0pt;mso-list:l1 level1 lfo4'><&#33;[if &#33;supportLists]><span
<![endif]--><!--[if gte mso 9]><xml>
 
<o:shapedefaults v:ext="edit" spidmax="2050"/>
 
</xml><![endif]--><!--[if gte mso 9]><xml>
 
<o:shapelayout v:ext="edit">
 
  <o:idmap v:ext="edit" data="1"/>
 
</o:shapelayout></xml><![endif]-->
 
</head>
 
 
 
<body lang=EN-CA style='tab-interval:36.0pt'>
 
 
 
<div class=WordSection1>
 
 
 
<p class=MsoNormal>Theory behind the Material Class:</p>
 
 
 
<p class=MsoListParagraphCxSpFirst style='text-indent:-18.0pt;mso-list:l1 level1 lfo4'><![if !supportLists]><span
 
 
style='mso-ascii-font-family:Calibri;mso-fareast-font-family:Calibri;
 
style='mso-ascii-font-family:Calibri;mso-fareast-font-family:Calibri;
 
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri'><span
 
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri'><span
 
style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>The material class was originally supposed to encapsulate
+
</span></span></span><&#33;[endif]>The material class was originally supposed to encapsulate
 
all material related data, such as textures, colors, reflectivity etc. The
 
all material related data, such as textures, colors, reflectivity etc. The
 
intention was to replace a lot of the functionality of graphic, so that an
 
intention was to replace a lot of the functionality of graphic, so that an
Line 630: Line 401:
 
way you could have a material attached to many different meshes, so a similar
 
way you could have a material attached to many different meshes, so a similar
 
appearance can be applied amongst many objects. This is similar to the approach
 
appearance can be applied amongst many objects. This is similar to the approach
taken by 3DS Max.</p>
+
taken by 3DS Max.</p><p class=MsoListParagraphCxSpLast style='text-indent:-18.0pt;mso-list:l1 level1 lfo4'><&#33;[if &#33;supportLists]><span
 
 
<p class=MsoListParagraphCxSpLast style='text-indent:-18.0pt;mso-list:l1 level1 lfo4'><![if !supportLists]><span
 
 
style='mso-ascii-font-family:Calibri;mso-fareast-font-family:Calibri;
 
style='mso-ascii-font-family:Calibri;mso-fareast-font-family:Calibri;
 
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri'><span
 
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri'><span
 
style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>This approach proved too invasive for others to
+
</span></span></span><&#33;[endif]>This approach proved too invasive for others to
 
implement, so now I have made Material a category, which will shift
 
implement, so now I have made Material a category, which will shift
responsibility of drawing the object away from graphic and into Material.</p>
+
responsibility of drawing the object away from graphic and into Material.</p><p class=MsoNormal>How to implement Environmental Cube Mapping</p><p class=MsoListParagraphCxSpFirst style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><&#33;[if &#33;supportLists]><span
 
 
<p class=MsoNormal>How to implement Environmental Cube Mapping</p>
 
 
 
<p class=MsoListParagraphCxSpFirst style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Download and include the <span class=SpellE>iMaterial.h</span>,
+
</span></span></span><&#33;[endif]>Download and include the <span class=SpellE>iMaterial.h</span>,
<span class=SpellE>Material.h</span> and Material.cpp into your project.</p>
+
<span class=SpellE>Material.h</span> and Material.cpp into your project.</p><p class=MsoListParagraphCxSpMiddle style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><&#33;[if &#33;supportLists]><span
 
 
<p class=MsoListParagraphCxSpMiddle style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Add the cube map code from the provided FX file
+
</span></span></span><&#33;[endif]>Add the cube map code from the provided FX file
 
into your own FX file. If you will be adding there manually, copy the code
 
into your own FX file. If you will be adding there manually, copy the code
 
between //REF_CUBE_MAP_A# and //END REF_CUBE_MAP_A#, there should be 4 sections
 
between //REF_CUBE_MAP_A# and //END REF_CUBE_MAP_A#, there should be 4 sections
to copy in total</p>
+
to copy in total</p><p class=MsoListParagraphCxSpMiddle style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><&#33;[if &#33;supportLists]><span
 
 
<p class=MsoListParagraphCxSpMiddle style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'>3)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'>3)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Edit the <span class=SpellE>Configuration.h</span>
+
</span></span></span><&#33;[endif]>Edit the <span class=SpellE>Configuration.h</span>
 
file<span style='mso-spacerun:yes'>  </span>and add “MATERIAL” to the Category
 
file<span style='mso-spacerun:yes'>  </span>and add “MATERIAL” to the Category
enumeration</p>
+
enumeration</p><p class=MsoListParagraphCxSpMiddle style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><&#33;[if &#33;supportLists]><span
 
 
<p class=MsoListParagraphCxSpMiddle style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'>4)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'>4)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Object is now going to need some
+
</span></span></span><&#33;[endif]>Object is now going to need some
 
adjustments.<span style='mso-spacerun:yes'>  </span>I’ll break this down into a
 
adjustments.<span style='mso-spacerun:yes'>  </span>I’ll break this down into a
few components:</p>
+
few components:</p><p class=MsoListParagraphCxSpMiddle style='margin-left:72.0pt;mso-add-space:
 
+
auto;text-indent:-18.0pt;mso-list:l0 level2 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:72.0pt;mso-add-space:
 
auto;text-indent:-18.0pt;mso-list:l0 level2 lfo1'><![if !supportLists]><span
 
 
style='font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:
 
style='font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:
 
Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span class=SpellE>iObject.h</span></p>
+
</span></span></span><&#33;[endif]><span class=SpellE>iObject.h</span></p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>I.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>I.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Add ‘class <span class=SpellE>iMaterial</span>’
+
</span></span></span><&#33;[endif]>Add ‘class <span class=SpellE>iMaterial</span>’
to the top of the file with the rest of the declarations</p>
+
to the top of the file with the rest of the declarations</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>II.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>II.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Add a virtual getting and setter for the
+
</span></span></span><&#33;[endif]>Add a virtual getting and setter for the
Object’s material</p>
+
Object’s material</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>III.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>III.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Add two more virtual functions, one called <span
+
</span></span></span><&#33;[endif]>Add two more virtual functions, one called <span
 
class=SpellE>getID</span>, receives an <span class=SpellE>int</span> and
 
class=SpellE>getID</span>, receives an <span class=SpellE>int</span> and
 
returns an <span class=SpellE>int</span>, and second one called <span
 
returns an <span class=SpellE>int</span>, and second one called <span
 
class=SpellE>resetID</span> which receives an <span class=SpellE>int</span> and
 
class=SpellE>resetID</span> which receives an <span class=SpellE>int</span> and
returns nothing.</p>
+
returns nothing.</p><p class=MsoListParagraphCxSpMiddle style='margin-left:72.0pt;mso-add-space:
 
+
auto;text-indent:-18.0pt;mso-list:l0 level2 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:72.0pt;mso-add-space:
 
auto;text-indent:-18.0pt;mso-list:l0 level2 lfo1'><![if !supportLists]><span
 
 
style='font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:
 
style='font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:
 
Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span class=SpellE>Object.h</span></p>
+
</span></span></span><&#33;[endif]><span class=SpellE>Object.h</span></p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>I.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>I.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Add a private <span class=SpellE>iMaterial</span>
+
</span></span></span><&#33;[endif]>Add a private <span class=SpellE>iMaterial</span>
 
pointer to the object named <span class=SpellE>rMaterial</span> (you could
 
pointer to the object named <span class=SpellE>rMaterial</span> (you could
 
change it to w/e you want, but it won’t be as easy to copy/paste code if you
 
change it to w/e you want, but it won’t be as easy to copy/paste code if you
don’t)</p>
+
don’t)</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>II.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>II.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Implement the getter and setter in the in the
+
</span></span></span><&#33;[endif]>Implement the getter and setter in the in the
Object header, in the setter, change the category of the object to MATERIAL.</p>
+
Object header, in the setter, change the category of the object to MATERIAL.</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>III.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>III.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Remove the braces after Object’s <span
+
</span></span></span><&#33;[endif]>Remove the braces after Object’s <span
 
class=SpellE><span class=GramE>preDraw</span></span><span class=GramE>(</span>)
 
class=SpellE><span class=GramE>preDraw</span></span><span class=GramE>(</span>)
 
function, we are going to need to implement this function in the <span
 
function, we are going to need to implement this function in the <span
class=SpellE>cpp</span>.</p>
+
class=SpellE>cpp</span>.</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>IV.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>IV.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Add a private <span class=SpellE>int</span>
+
</span></span></span><&#33;[endif]>Add a private <span class=SpellE>int</span>
 
array called get <span class=SpellE>cubeMapID</span>, which for this
 
array called get <span class=SpellE>cubeMapID</span>, which for this
 
implementation<span class=GramE>,<span style='mso-spacerun:yes'>  </span>it</span>
 
implementation<span class=GramE>,<span style='mso-spacerun:yes'>  </span>it</span>
can be an array of 2 items, since reflection depth will not be implemented.</p>
+
can be an array of 2 items, since reflection depth will not be implemented.</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>V.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>V.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Implement <span class=SpellE>getID</span> and <span
+
</span></span></span><&#33;[endif]>Implement <span class=SpellE>getID</span> and <span
 
class=SpellE>resetID</span>, get id returns the <span class=SpellE>int</span>
 
class=SpellE>resetID</span>, get id returns the <span class=SpellE>int</span>
 
at level in the <span class=SpellE>cubeMapID</span> array (return <span
 
at level in the <span class=SpellE>cubeMapID</span> array (return <span
 
class=SpellE><span class=GramE>cubeMapID</span></span><span class=GramE>[</span>level];)
 
class=SpellE><span class=GramE>cubeMapID</span></span><span class=GramE>[</span>level];)
 
and <span class=SpellE>resetID</span> sets the <span class=SpellE>int</span> at
 
and <span class=SpellE>resetID</span> sets the <span class=SpellE>int</span> at
level in the <span class=SpellE>cubeMapID</span> to -1.</p>
+
level in the <span class=SpellE>cubeMapID</span> to -1.</p><p class=MsoListParagraphCxSpMiddle style='margin-left:72.0pt;mso-add-space:
 
+
auto;text-indent:-18.0pt;mso-list:l0 level2 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:72.0pt;mso-add-space:
 
auto;text-indent:-18.0pt;mso-list:l0 level2 lfo1'><![if !supportLists]><span
 
 
style='font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:
 
style='font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:
 
Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Object.cpp</p>
+
</span></span></span><&#33;[endif]>Object.cpp</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>I.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>I.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Add ‘#<span class=GramE>include</span> <span
+
</span></span></span><&#33;[endif]>Add ‘#<span class=GramE>include</span><span
class=SpellE>iMaterial.h</span>’ at the top.</p>
+
class=SpellE>iMaterial.h</span>’ at the top.</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>II.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>II.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>In the object constructor add ‘<span
+
</span></span></span><&#33;[endif]>In the object constructor add ‘<span
 
class=SpellE>rMaterial</span> = NULL’, just to be safe, also set <span
 
class=SpellE>rMaterial</span> = NULL’, just to be safe, also set <span
class=SpellE>cubeMapID</span> [0] and [1] to -1.</p>
+
class=SpellE>cubeMapID</span> [0] and [1] to -1.</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>III.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>III.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>In the object’s = operator, set <span
+
</span></span></span><&#33;[endif]>In the object’s = operator, set <span
 
class=SpellE><span class=GramE>CubeMapID</span></span><span class=GramE>[</span>0]
 
class=SpellE><span class=GramE>CubeMapID</span></span><span class=GramE>[</span>0]
and [1] to -1.</p>
+
and [1] to -1.</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>IV.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>IV.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>In the Object’s attach function,<span
+
</span></span></span><&#33;[endif]>In the Object’s attach function,<span
 
style='mso-spacerun:yes'>  </span>check if the category is set to MATERIAL and
 
style='mso-spacerun:yes'>  </span>check if the category is set to MATERIAL and
 
that <span class=SpellE>rMaterial</span> isn’t NULL, if true, use Material’s <span
 
that <span class=SpellE>rMaterial</span> isn’t NULL, if true, use Material’s <span
 
class=SpellE>setStage</span>, if category is not set to MATERIALS then use the
 
class=SpellE>setStage</span>, if category is not set to MATERIALS then use the
 
code already there (Remember, if reading this is confusing, you can always copy
 
code already there (Remember, if reading this is confusing, you can always copy
the code, this is just trying to explain what to do)</p>
+
the code, this is just trying to explain what to do)</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>V.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>V.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Above the draw function, add the implementation
+
</span></span></span><&#33;[endif]>Above the draw function, add the implementation
 
of the <span class=SpellE>preDraw</span>, which is simple. Check if the
 
of the <span class=SpellE>preDraw</span>, which is simple. Check if the
 
category is set to MATERIAL and <span class=SpellE>rMaterial</span> isn’t NULL,
 
category is set to MATERIAL and <span class=SpellE>rMaterial</span> isn’t NULL,
Line 817: Line 544:
 
Finally call the <span class=SpellE>preDraw</span> function on <span
 
Finally call the <span class=SpellE>preDraw</span> function on <span
 
class=SpellE>rMaterial</span> and pass it a reference to the object (this), <span
 
class=SpellE>rMaterial</span> and pass it a reference to the object (this), <span
class=SpellE>vertexlist</span> pointer, and scene pointer.</p>
+
class=SpellE>vertexlist</span> pointer, and scene pointer.</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>VI.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>VI.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Mod the Object’s draw function to test if the
+
</span></span></span><&#33;[endif]>Mod the Object’s draw function to test if the
 
category is set to MATERIAL, if it is and<span style='mso-spacerun:yes'> 
 
category is set to MATERIAL, if it is and<span style='mso-spacerun:yes'> 
 
</span><span class=SpellE>rMaterial</span> isn’t NULL, call the draw function
 
</span><span class=SpellE>rMaterial</span> isn’t NULL, call the draw function
 
on the material (passing in the object and scene) in place of using the attach
 
on the material (passing in the object and scene) in place of using the attach
and draw code in the function, the report should occur regardless.</p>
+
and draw code in the function, the report should occur regardless.</p><p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
+
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpMiddle style='margin-left:108.0pt;mso-add-space:
 
auto;text-indent:-108.0pt;mso-text-indent-alt:-9.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>VII.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
</span>VII.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>In the suspend code, check if <span
+
</span></span></span><&#33;[endif]>In the suspend code, check if <span
 
class=SpellE>rMaterial</span> is NULL, if not, call suspend on it. Do the same
 
class=SpellE>rMaterial</span> is NULL, if not, call suspend on it. Do the same
for release.</p>
+
for release.</p><p class=MsoListParagraphCxSpMiddle style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><&#33;[if &#33;supportLists]><span
 
 
<p class=MsoListParagraphCxSpMiddle style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'>5)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'>5)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Open Display.cpp,<span
+
</span></span></span><&#33;[endif]>Open Display.cpp,<span
 
style='mso-spacerun:yes'>  </span>#include <span class=SpellE>Material.h</span>
 
style='mso-spacerun:yes'>  </span>#include <span class=SpellE>Material.h</span>
 
and call the static function <span class=SpellE>connectDevice</span> from
 
and call the static function <span class=SpellE>connectDevice</span> from
 
Material, this will give material access to the device and below, call the
 
Material, this will give material access to the device and below, call the
 
static function <span class=SpellE>connectEffect</span>, giving Material access
 
static function <span class=SpellE>connectEffect</span>, giving Material access
to the effect file.</p>
+
to the effect file.</p><p class=MsoListParagraphCxSpMiddle style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><&#33;[if &#33;supportLists]><span
 
 
<p class=MsoListParagraphCxSpMiddle style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'>6)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'>6)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>The system requires a knowledge of the vertices
+
</span></span></span><&#33;[endif]>The system requires a knowledge of the vertices
 
of the in a mesh, so you have to go to <span class=SpellE>iVertex</span> list
 
of the in a mesh, so you have to go to <span class=SpellE>iVertex</span> list
 
and add two virtual functions<span class=GramE>,<span
 
and add two virtual functions<span class=GramE>,<span
style='mso-spacerun:yes'>  </span>‘<span class=SpellE>int</span></span> <span
+
style='mso-spacerun:yes'>  </span>‘<span class=SpellE>int</span></span><span
 
class=SpellE>getNumOfVerts</span>()’ and ‘Vertex* <span class=SpellE>getVertitices</span>()’.
 
class=SpellE>getNumOfVerts</span>()’ and ‘Vertex* <span class=SpellE>getVertitices</span>()’.
 
Now you have to go into the <span class=SpellE>VertexList</span> class,
 
Now you have to go into the <span class=SpellE>VertexList</span> class,
Line 864: Line 583:
 
NOTE: If you already have your object’s center and radius calculated or easily
 
NOTE: If you already have your object’s center and radius calculated or easily
 
accessible, you can skip this step and alter the code in the Material class to
 
accessible, you can skip this step and alter the code in the Material class to
use that data instead of calculating the center from the vertex list.</p>
+
use that data instead of calculating the center from the vertex list.</p><p class=MsoListParagraphCxSpLast style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><&#33;[if &#33;supportLists]><span
 
 
<p class=MsoListParagraphCxSpLast style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'>7)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'>7)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Open Design.cpp and #include <span class=SpellE>iMaterial.h</span>.<span
+
</span></span></span><&#33;[endif]>Open Design.cpp and #include <span class=SpellE>iMaterial.h</span>.<span
 
style='mso-spacerun:yes'>  </span>Add scene-&gt;<span class=GramE>draw(</span>MATERIAL);
 
style='mso-spacerun:yes'>  </span>Add scene-&gt;<span class=GramE>draw(</span>MATERIAL);
 
to Design’s draw function and scene-&gt;draw(MATERIAL); to Design’s <span
 
to Design’s draw function and scene-&gt;draw(MATERIAL); to Design’s <span
class=SpellE>preDraw</span>.</p>
+
class=SpellE>preDraw</span>.</p><p class=MsoNormal>This will give you the ability to use the Material class
 
+
with your object to give them a nice reflective or refracting effect.</p><p class=MsoNormal>How to use Material:</p><p class=MsoNormal>To use a material, follow these few steps:</p><p class=MsoListParagraphCxSpFirst style='margin-left:54.0pt;mso-add-space:
<p class=MsoNormal>This will give you the ability to use the Material class
+
auto;text-indent:-18.0pt;mso-list:l3 level1 lfo5'><&#33;[if &#33;supportLists]><span
with your object to give them a nice reflective or refracting effect.</p>
 
 
 
<p class=MsoNormal>How to use Material:</p>
 
 
 
<p class=MsoNormal>To use a material, follow these few steps:</p>
 
 
 
<p class=MsoListParagraphCxSpFirst style='margin-left:54.0pt;mso-add-space:
 
auto;text-indent:-18.0pt;mso-list:l3 level1 lfo5'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Create a Material<span class=GramE>:</span><br>
+
</span></span></span><&#33;[endif]>Create a Material<span class=GramE>:</span><br><span class=SpellE><i style='mso-bidi-font-style:normal'>iMaterial</i></span><i
<span class=SpellE><i style='mso-bidi-font-style:normal'>iMaterial</i></span><i
 
 
style='mso-bidi-font-style:normal'>* mat = <span class=SpellE>CreateMaterial</span>(<span
 
style='mso-bidi-font-style:normal'>* mat = <span class=SpellE>CreateMaterial</span>(<span
 
class=SpellE>contextPointer</span>, <span class=SpellE>numberOfStages</span>, <span
 
class=SpellE>contextPointer</span>, <span class=SpellE>numberOfStages</span>, <span
class=SpellE>numberOfSubsets</span>);<br>
+
class=SpellE>numberOfSubsets</span>);<br></i>NOTES: if the material only have one stage and subset, only pass in
</i>NOTES: if the material only have one stage and subset, only pass in
+
context.</p><p class=MsoListParagraphCxSpMiddle style='margin-left:54.0pt;mso-add-space:
context.</p>
+
auto;text-indent:-18.0pt;mso-list:l3 level1 lfo5'><&#33;[if &#33;supportLists]><span
 
 
<p class=MsoListParagraphCxSpMiddle style='margin-left:54.0pt;mso-add-space:
 
auto;text-indent:-18.0pt;mso-list:l3 level1 lfo5'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Setup the material<span class=GramE>:</span><br>
+
</span></span></span><&#33;[endif]>Setup the material<span class=GramE>:</span><br><i style='mso-bidi-font-style:normal'>mat-&gt;setup(<span class=SpellE>arrayOfBasicColors</span>,
<i style='mso-bidi-font-style:normal'>mat-&gt;setup(<span class=SpellE>arrayOfBasicColors</span>,
 
 
<span class=SpellE>twoDimensionalTextureArray</span>, <span class=SpellE>arrayOfColorsRepresentingReflection</span>,
 
<span class=SpellE>twoDimensionalTextureArray</span>, <span class=SpellE>arrayOfColorsRepresentingReflection</span>,
 
<span class=SpellE>arrayOfRefractionPowers</span>, <span class=SpellE>twoDimensionalArrayOfColorsRepresentingRefraction</span>,
 
<span class=SpellE>arrayOfRefractionPowers</span>, <span class=SpellE>twoDimensionalArrayOfColorsRepresentingRefraction</span>,
Line 919: Line 623:
 
the light bends, so if it is equal to 1.0, the light will not bend at all,
 
the light bends, so if it is equal to 1.0, the light will not bend at all,
 
where as if it is set to 0.9, it will bend about 10% of the angle of the normal
 
where as if it is set to 0.9, it will bend about 10% of the angle of the normal
of the fragment.</p>
+
of the fragment.</p><p class=MsoListParagraphCxSpLast style='margin-left:54.0pt;mso-add-space:auto;
 
+
text-indent:-18.0pt;mso-list:l3 level1 lfo5'><&#33;[if &#33;supportLists]><span
<p class=MsoListParagraphCxSpLast style='margin-left:54.0pt;mso-add-space:auto;
 
text-indent:-18.0pt;mso-list:l3 level1 lfo5'><![if !supportLists]><span
 
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin'><span
 
style='mso-list:Ignore'>3)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
style='mso-list:Ignore'>3)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Set the material onto the object<span
+
</span></span></span><&#33;[endif]>Set the material onto the object<span
class=GramE>:</span><br>
+
class=GramE>:</span><br><i style='mso-bidi-font-style:normal'>object-&gt;<span class=SpellE>setMaterial</span>(mat);</i><br>
<i style='mso-bidi-font-style:normal'>object-&gt;<span class=SpellE>setMaterial</span>(mat);</i><br>
 
 
NOTE: this will convert the object to a material object and attach the
 
NOTE: this will convert the object to a material object and attach the
material.</p>
+
material.</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>A quick example of how to make a glass like cube would be:</p><p class=MsoNormal><br><span class=SpellE><i style='mso-bidi-font-style:normal'>iObject</i></span><i
 
 
<p class=MsoNormal><o:p>&nbsp;</o:p></p>
 
 
 
<p class=MsoNormal>A quick example of how to make a glass like cube would be:</p>
 
 
 
<p class=MsoNormal><br>
 
<span class=SpellE><i style='mso-bidi-font-style:normal'>iObject</i></span><i
 
 
style='mso-bidi-font-style:normal'>* boxy = <span class=SpellE>CreateBox</span>(-10,-10,
 
style='mso-bidi-font-style:normal'>* boxy = <span class=SpellE>CreateBox</span>(-10,-10,
-10, 10, 10, 10, “opaque”, Colour(1.0f, 1.0f, 1.0f,1.0f);<br>
+
-10, 10, 10, 10, “opaque”, Colour(1.0f, 1.0f, 1.0f,1.0f);<br><span class=SpellE>iMaterial</span>* mat = <span class=SpellE>CreateMaterial</span>(context);<br>
<span class=SpellE>iMaterial</span>* mat = <span class=SpellE>CreateMaterial</span>(context);<br>
 
 
float power = 0.9f; //this is just to sidestep the need for an array<br>
 
float power = 0.9f; //this is just to sidestep the need for an array<br>
 
mat-&gt;setup(&amp;Colour(0.7f, 0.7f, 0.7f, 0.7f), NULL, &amp;Colour(1.0f,
 
mat-&gt;setup(&amp;Colour(0.7f, 0.7f, 0.7f, 0.7f), NULL, &amp;Colour(1.0f,
 
1.0f, 1.0f, 0.25), &amp;power, &amp;Colour(1.0f, 1.0f, 1.0f, 1.0f));<br>
 
1.0f, 1.0f, 0.25), &amp;power, &amp;Colour(1.0f, 1.0f, 1.0f, 1.0f));<br>
boxy-&gt;<span class=SpellE>setMaterial</span>(mat);<o:p></o:p></i></p>
+
boxy-&gt;<span class=SpellE>setMaterial</span>(mat);<o:p></o:p></i></p><p class=MsoNormal>I didn’t test the above code so there could be a typo.</p></div></body></html>
 
 
<p class=MsoNormal>I didn’t test the above code so there could be a typo.</p>
 
 
 
</div>
 
 
 
</body>
 
 
 
</html>
 

Revision as of 05:48, 14 April 2011

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=windows-1252"><meta name=ProgId content=Word.Document><meta name=Generator content="Microsoft Word 12"><meta name=Originator content="Microsoft Word 12"><link rel=File-List href="How%20to%20implement%20Environmental%20Cube%20Mapping_files/filelist.xml"><!--[if gte mso 9]><xml><o:DocumentProperties><o:Author>CloudScorpion</o:Author><o:LastAuthor>CloudScorpion</o:LastAuthor><o:Revision>2</o:Revision><o:TotalTime>1971</o:TotalTime><o:Created>2011-04-14T09:44:00Z</o:Created><o:LastSaved>2011-04-14T09:44:00Z</o:LastSaved><o:Pages>3</o:Pages><o:Words>1044</o:Words><o:Characters>5954</o:Characters><o:Lines>49</o:Lines><o:Paragraphs>13</o:Paragraphs><o:CharactersWithSpaces>6985</o:CharactersWithSpaces><o:Version>12.00</o:Version></o:DocumentProperties></xml><![endif]--><link rel=themeData href="How%20to%20implement%20Environmental%20Cube%20Mapping_files/themedata.thmx"><link rel=colorSchemeMapping href="How%20to%20implement%20Environmental%20Cube%20Mapping_files/colorschememapping.xml"><!--[if gte mso 9]><xml><w:WordDocument><w:SpellingState>Clean</w:SpellingState><w:GrammarState>Clean</w:GrammarState><w:TrackMoves>false</w:TrackMoves><w:TrackFormatting/><w:PunctuationKerning/><w:ValidateAgainstSchemas/><w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid><w:IgnoreMixedContent>false</w:IgnoreMixedContent><w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText><w:DoNotPromoteQF/><w:LidThemeOther>EN-CA</w:LidThemeOther><w:LidThemeAsian>X-NONE</w:LidThemeAsian><w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript><w:Compatibility><w:BreakWrappedTables/><w:SnapToGridInCell/><w:WrapTextWithPunct/><w:UseAsianBreakRules/><w:DontGrowAutofit/><w:SplitPgBreakAndParaMark/><w:DontVertAlignCellWithSp/><w:DontBreakConstrainedForcedTables/><w:DontVertAlignInTxbx/><w:Word11KerningPairs/><w:CachedColBalance/></w:Compatibility><w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel><m:mathPr><m:mathFont m:val="Cambria Math"/><m:brkBin m:val="before"/><m:brkBinSub m:val="--"/><m:smallFrac m:val="off"/><m:dispDef/><m:lMargin m:val="0"/><m:rMargin m:val="0"/><m:defJc m:val="centerGroup"/><m:wrapIndent m:val="1440"/><m:intLim m:val="subSup"/><m:naryLim m:val="undOvr"/></m:mathPr></w:WordDocument></xml><![endif]--><!--[if gte mso 9]><xml><w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true" DefSemiHidden="true" DefQFormat="false" DefPriority="99" LatentStyleCount="267"><w:LsdException Locked="false" Priority="0" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Normal"/><w:LsdException Locked="false" Priority="9" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="heading 1"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/><w:LsdException Locked="false" Priority="39" Name="toc 1"/><w:LsdException Locked="false" Priority="39" Name="toc 2"/><w:LsdException Locked="false" Priority="39" Name="toc 3"/><w:LsdException Locked="false" Priority="39" Name="toc 4"/><w:LsdException Locked="false" Priority="39" Name="toc 5"/><w:LsdException Locked="false" Priority="39" Name="toc 6"/><w:LsdException Locked="false" Priority="39" Name="toc 7"/><w:LsdException Locked="false" Priority="39" Name="toc 8"/><w:LsdException Locked="false" Priority="39" Name="toc 9"/><w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/><w:LsdException Locked="false" Priority="10" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Title"/><w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/><w:LsdException Locked="false" Priority="11" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/><w:LsdException Locked="false" Priority="22" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Strong"/><w:LsdException Locked="false" Priority="20" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/><w:LsdException Locked="false" Priority="59" SemiHidden="false" UnhideWhenUsed="false" Name="Table Grid"/><w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/><w:LsdException Locked="false" Priority="1" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/><w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading"/><w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List"/><w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid"/><w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1"/><w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2"/><w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1"/><w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2"/><w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1"/><w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2"/><w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3"/><w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List"/><w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading"/><w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List"/><w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid"/><w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 1"/><w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 1"/><w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 1"/><w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/><w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/><w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/><w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/><w:LsdException Locked="false" Priority="34" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/><w:LsdException Locked="false" Priority="29" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Quote"/><w:LsdException Locked="false" Priority="30" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/><w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/><w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/><w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/><w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/><w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 1"/><w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/><w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 1"/><w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/><w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 2"/><w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 2"/><w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 2"/><w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/><w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/><w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/><w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/><w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/><w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/><w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/><w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 2"/><w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/><w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 2"/><w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/><w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 3"/><w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 3"/><w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 3"/><w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/><w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/><w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/><w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/><w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/><w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/><w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/><w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 3"/><w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/><w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 3"/><w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/><w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 4"/><w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 4"/><w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 4"/><w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/><w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/><w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/><w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/><w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/><w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/><w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/><w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 4"/><w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/><w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 4"/><w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/><w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 5"/><w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 5"/><w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 5"/><w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/><w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/><w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/><w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/><w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/><w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/><w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/><w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 5"/><w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/><w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 5"/><w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/><w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 6"/><w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 6"/><w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 6"/><w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/><w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/><w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/><w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/><w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/><w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/><w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/><w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 6"/><w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/><w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 6"/><w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/><w:LsdException Locked="false" Priority="19" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/><w:LsdException Locked="false" Priority="21" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/><w:LsdException Locked="false" Priority="31" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/><w:LsdException Locked="false" Priority="32" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/><w:LsdException Locked="false" Priority="33" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Book Title"/><w:LsdException Locked="false" Priority="37" Name="Bibliography"/><w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/></w:LatentStyles></xml><![endif]--><style><!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0; mso-font-charset:2; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-536870145 1107305727 0 0 415 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:36.0pt; mso-add-space:auto; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:36.0pt; mso-add-space:auto; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} span.SpellE {mso-style-name:""; mso-spl-e:yes;} span.GramE {mso-style-name:""; mso-gram-e:yes;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} /* List Definitions */ @list l0 {mso-list-id:99953897; mso-list-type:hybrid; mso-list-template-ids:1078334064 269025297 269025281 269025299 269025295 269025305 269025307 269025295 269025305 269025307;} @list l0:level1 {mso-level-text:"%1)"; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;} @list l0:level2 {mso-level-number-format:bullet; mso-level-text:F0B7; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt; font-family:Symbol;} @list l0:level3 {mso-level-number-format:roman-upper; mso-level-tab-stop:none; mso-level-number-position:right; text-indent:-9.0pt;} @list l1 {mso-list-id:1295597332; mso-list-type:hybrid; mso-list-template-ids:1772285300 659349742 269025283 269025285 269025281 269025283 269025285 269025281 269025283 269025285;} @list l1:level1 {mso-level-start-at:7; mso-level-number-format:bullet; mso-level-text:-; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin;} @list l2 {mso-list-id:1355693235; mso-list-type:hybrid; mso-list-template-ids:-1185349758 269025295 269025305 269025307 269025295 269025305 269025307 269025295 269025305 269025307;} @list l2:level1 {mso-level-tab-stop:none; mso-level-number-position:left; margin-left:18.0pt; text-indent:-18.0pt;} @list l3 {mso-list-id:1524247400; mso-list-type:hybrid; mso-list-template-ids:-930814958 269025297 269025305 269025307 269025295 269025305 269025307 269025295 269025305 269025307;} @list l3:level1 {mso-level-text:"%1)"; mso-level-tab-stop:none; mso-level-number-position:left; margin-left:54.0pt; text-indent:-18.0pt;} @list l3:level2 {mso-level-number-format:alpha-lower; mso-level-tab-stop:none; mso-level-number-position:left; margin-left:90.0pt; text-indent:-18.0pt;} @list l4 {mso-list-id:2127850769; mso-list-type:hybrid; mso-list-template-ids:226368910 269025295 269025305 269025307 269025295 269025305 269025307 269025295 269025305 269025307;} @list l4:level1 {mso-level-tab-stop:none; mso-level-number-position:left; margin-left:18.0pt; text-indent:-18.0pt;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} --></style><!--[if gte mso 10]><style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;}

</style><![endif]--><!--[if gte mso 9]><xml><o:shapedefaults v:ext="edit" spidmax="2050"/></xml><![endif]--><!--[if gte mso 9]><xml><o:shapelayout v:ext="edit"><o:idmap v:ext="edit" data="1"/></o:shapelayout></xml><![endif]--></head><body lang=EN-CA style='tab-interval:36.0pt'>

Theory behind the Material Class:

<![if !supportLists]>-         

<![endif]>The material class was originally supposed to encapsulate all material related data, such as textures, colors, reflectivity etc. The intention was to replace a lot of the functionality of graphic, so that an object encapsulates an in world object, graphic encapsulated a static mesh and material described the appearance of a mesh.  This way you could have a material attached to many different meshes, so a similar appearance can be applied amongst many objects. This is similar to the approach

taken by 3DS Max.

<![if !supportLists]>-         

<![endif]>This approach proved too invasive for others to implement, so now I have made Material a category, which will shift

responsibility of drawing the object away from graphic and into Material.

How to implement Environmental Cube Mapping

<![if !supportLists]>1)     

<![endif]>Download and include the iMaterial.h,

Material.h and Material.cpp into your project.

<![if !supportLists]>2)     

<![endif]>Add the cube map code from the provided FX file into your own FX file. If you will be adding there manually, copy the code between //REF_CUBE_MAP_A# and //END REF_CUBE_MAP_A#, there should be 4 sections

to copy in total

<![if !supportLists]>3)     

<![endif]>Edit the Configuration.h file  and add “MATERIAL” to the Category

enumeration

<![if !supportLists]>4)     

<![endif]>Object is now going to need some adjustments.  I’ll break this down into a

few components:

<![if !supportLists]>·         <![endif]>iObject.h

<![if !supportLists]>                                                             

I.      <![endif]>Add ‘class iMaterial

to the top of the file with the rest of the declarations

<![if !supportLists]>                                                           

II.      <![endif]>Add a virtual getting and setter for the

Object’s material

<![if !supportLists]>                                                         

III.      <![endif]>Add two more virtual functions, one called getID, receives an int and returns an int, and second one called resetID which receives an int and

returns nothing.

<![if !supportLists]>·         <![endif]>Object.h

<![if !supportLists]>                                                             

I.      <![endif]>Add a private iMaterial pointer to the object named rMaterial (you could change it to w/e you want, but it won’t be as easy to copy/paste code if you

don’t)

<![if !supportLists]>                                                           

II.      <![endif]>Implement the getter and setter in the in the

Object header, in the setter, change the category of the object to MATERIAL.

<![if !supportLists]>                                                         

III.      <![endif]>Remove the braces after Object’s preDraw()

function, we are going to need to implement this function in the cpp.

<![if !supportLists]>                                                         

IV.      <![endif]>Add a private int array called get cubeMapID, which for this implementation,  it

can be an array of 2 items, since reflection depth will not be implemented.

<![if !supportLists]>                                                           

V.      <![endif]>Implement getID and resetID, get id returns the int at level in the cubeMapID array (return cubeMapID[level];) and resetID sets the int at

level in the cubeMapID to -1.

<![if !supportLists]>·         <![endif]>Object.cpp

<![if !supportLists]>                                                             

I.     

<![endif]>Add ‘#includeiMaterial.h’ at the top.

<![if !supportLists]>                                                           

II.     

<![endif]>In the object constructor add ‘rMaterial = NULL’, just to be safe, also set cubeMapID [0] and [1] to -1.

<![if !supportLists]>                                                         

III.      <![endif]>In the object’s = operator, set CubeMapID[0]

and [1] to -1.

<![if !supportLists]>                                                         

IV.      <![endif]>In the Object’s attach function,  check if the category is set to MATERIAL and that rMaterial isn’t NULL, if true, use Material’s setStage, if category is not set to MATERIALS then use the code already there (Remember, if reading this is confusing, you can always copy

the code, this is just trying to explain what to do)

<![if !supportLists]>                                                           

V.      <![endif]>Above the draw function, add the implementation of the preDraw, which is simple. Check if the category is set to MATERIAL and rMaterial isn’t NULL, if true, set the cubeMapID (at index of rMaterial->getDepth()) to dthe result of rMaterial->getCubeID(this).

Finally call the preDraw function on rMaterial and pass it a reference to the object (this), vertexlist pointer, and scene pointer.

<![if !supportLists]>                                                         

VI.      <![endif]>Mod the Object’s draw function to test if the category is set to MATERIAL, if it is and  rMaterial isn’t NULL, call the draw function on the material (passing in the object and scene) in place of using the attach

and draw code in the function, the report should occur regardless.

<![if !supportLists]>                                                       

VII.      <![endif]>In the suspend code, check if rMaterial is NULL, if not, call suspend on it. Do the same

for release.

<![if !supportLists]>5)     

<![endif]>Open Display.cpp,  #include Material.h and call the static function connectDevice from Material, this will give material access to the device and below, call the static function connectEffect, giving Material access

to the effect file.

<![if !supportLists]>6)     

<![endif]>The system requires a knowledge of the vertices of the in a mesh, so you have to go to iVertex list and add two virtual functions,  intgetNumOfVerts()’ and ‘Vertex* getVertitices()’. Now you have to go into the VertexList class, implement these functions to return nVertices and Vertex.  You also need to make an implementation for stock mesh, simply give return NULL for both stock mesh implementations.
NOTE: If you already have your object’s center and radius calculated or easily accessible, you can skip this step and alter the code in the Material class to

use that data instead of calculating the center from the vertex list.

<![if !supportLists]>7)     

<![endif]>Open Design.cpp and #include iMaterial.h.  Add scene->draw(MATERIAL);

to Design’s draw function and scene->draw(MATERIAL); to Design’s preDraw.

This will give you the ability to use the Material class with your object to give them a nice reflective or refracting effect.

How to use Material:

To use a material, follow these few steps:

<![if !supportLists]>1)     

<![endif]>Create a Material:
iMaterial* mat = CreateMaterial(contextPointer, numberOfStages, numberOfSubsets);
NOTES: if the material only have one stage and subset, only pass in

context.

<![if !supportLists]>2)     

<![endif]>Setup the material:
mat->setup(arrayOfBasicColors, twoDimensionalTextureArray, arrayOfColorsRepresentingReflection, arrayOfRefractionPowers, twoDimensionalArrayOfColorsRepresentingRefraction, ObjectShine, ObjectFlags, ObjectBorderColor);
NOTE: If you specify only one subset/stage, you can simply put in a pointers to this data, but if you specify more than one subset or stage, you  must implement the data in an array OR pass in NULL. The alpha channel determines how strong the effect of the reflection or refraction will be, and they are both over-riding effects, reflection being the most over-riding of the two.  So if refraction’s alpha channel is 1.0, the object’s color and texture will be completely gone, the object will only have the refracted texture on it. If the alpha channel is 0.5, then it will be half refracted texture, half color/diffuse texture. The same works with reflection except that reflection will over-ride refraction, so if an object is 100% refractive and 100% reflective, you will only see the reflection. Where as if the reflection is 50% and refraction is 50%, the distribution of the texture will be 50% reflective, 25% refractive, 25% diffuse. The refractive power float array dictates how much the light bends, so if it is equal to 1.0, the light will not bend at all, where as if it is set to 0.9, it will bend about 10% of the angle of the normal

of the fragment.

<![if !supportLists]>3)     

<![endif]>Set the material onto the object:
object->setMaterial(mat);
NOTE: this will convert the object to a material object and attach the

material.

<o:p> </o:p>

A quick example of how to make a glass like cube would be:


iObject* boxy = CreateBox(-10,-10,

-10, 10, 10, 10, “opaque”, Colour(1.0f, 1.0f, 1.0f,1.0f);
iMaterial* mat = CreateMaterial(context);
float power = 0.9f; //this is just to sidestep the need for an array
mat->setup(&Colour(0.7f, 0.7f, 0.7f, 0.7f), NULL, &Colour(1.0f, 1.0f, 1.0f, 0.25), &power, &Colour(1.0f, 1.0f, 1.0f, 1.0f));

boxy->setMaterial(mat);<o:p></o:p>

I didn’t test the above code so there could be a typo.

</body></html>