diff --git a/TheRepo/TheLabs/MyExampleWindow.cs b/TheRepo/TheLabs/MyExampleWindow.cs index e14dc23..7c5718d 100644 --- a/TheRepo/TheLabs/MyExampleWindow.cs +++ b/TheRepo/TheLabs/MyExampleWindow.cs @@ -60,9 +60,9 @@ namespace TheLabs // --- Set up Lighting and Material --- _mainLight = new Lighting(new Vector3( 1.2f, 1.0f, 2.0f), - new Vector3(0.5f), + new Vector3(5.0f), new Vector3(1.5f), - new Vector3(1.0f)); + new Vector3(4.0f)); _defaultMaterial = new Material( new Vector3(0.5f, 0.5f, 0.5f) * 0.1f, @@ -92,7 +92,7 @@ namespace TheLabs _buildingRender.NormalMap = _normalMap; _buildingNode = new SceneNode(_buildingRender); _buildingNode.Position = new Vector3(2.0f, -1.0f, 0.0f); - _buildingNode.Scale = new Vector3(0.1f, 0.1f, 0.1f); + _buildingNode.Scale = new Vector3(0.9f, 0.1f, 0.1f); _rootNode.AddChild(_buildingNode); // Create Character Object diff --git a/TheRepo/TheLabs/RenderObject.cs b/TheRepo/TheLabs/RenderObject.cs index 20ed534..fd52cbf 100644 --- a/TheRepo/TheLabs/RenderObject.cs +++ b/TheRepo/TheLabs/RenderObject.cs @@ -36,8 +36,6 @@ public class RenderObject public void Draw(Matrix4 view, Matrix4 projection, Lighting light) { - Vector3 pink = new Vector3(0.5f, 0.5f, 0.5f); - Material mat = new Material(pink * 0.1f, pink * 0.6f, Vector3.One, 32.0f); Shader.Use(); if (Texture != null && UseTexture) diff --git a/TheRepo/TheLabs/SceneNode.cs b/TheRepo/TheLabs/SceneNode.cs index 21e259d..0c28857 100644 --- a/TheRepo/TheLabs/SceneNode.cs +++ b/TheRepo/TheLabs/SceneNode.cs @@ -30,9 +30,9 @@ public class SceneNode if (RenderObject != null) { - RenderObject.Position = Vector3.Zero; - RenderObject.Rotation = Quaternion.Identity; - RenderObject.Scale = Vector3.One; + RenderObject.Position = Position; + RenderObject.Rotation = Rotation; + RenderObject.Scale = Scale; RenderObject.Draw(view, projection, light); }