Diff of /trunk/DefaultRenderer/DefaultRenderer.cs
Parent Directory
|
Revision Log
|
Patch
| revision 105, Tue Dec 30 04:14:33 2008 UTC | revision 106, Sun Jan 4 10:21:25 2009 UTC | |
|---|---|---|
| # | Line 109 | Line 109 |
| 109 | ||
| 110 | ||
| 111 | GradientBrush terGrad = new RadialGradientBrush(Colors.ForestGreen, Colors.SandyBrown); | GradientBrush terGrad = new RadialGradientBrush(Colors.ForestGreen, Colors.SandyBrown); |
| 112 | ImageBrush terrainImagebrush = new ImageBrush(new BitmapImage(new Uri(References.EnvironmentSettings.TerrainImageFilePath))); | //ImageBrush terrainImagebrush = new ImageBrush(new BitmapImage(new Uri(References.EnvironmentSettings.TerrainImageFilePath, UriKind.Relative))); |
| 113 | ImageBrush terrainImagebrush = References.EnvironmentSettings.TerrainImageBrush; | |
| 114 | ||
| 115 | m_terrainMaterial = new DiffuseMaterial(terrainImagebrush); | m_terrainMaterial = new DiffuseMaterial(terrainImagebrush); |
| 116 | ||
| 117 | //terGrad); | //terGrad); |
| 118 | ||
| 119 | // Scene Lighting | // Scene Lighting |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

