diff --git a/Videos/cortex_20260619_083932.mp4 b/Videos/cortex_20260619_083932.mp4 new file mode 100644 index 0000000..cfb5657 Binary files /dev/null and b/Videos/cortex_20260619_083932.mp4 differ diff --git a/imgui.ini b/imgui.ini index de6295f..ed94d0e 100644 --- a/imgui.ini +++ b/imgui.ini @@ -29,7 +29,12 @@ Size=507,263 Collapsed=0 [Window][Shadow & Light Parameters] -Pos=2,199 -Size=220,372 +Pos=2,200 +Size=458,524 +Collapsed=0 + +[Window][Video Recording] +Pos=986,3 +Size=284,54 Collapsed=0 diff --git a/src/CortexEngine.App/Program.cs b/src/CortexEngine.App/Program.cs index e31682d..b3edcb0 100644 --- a/src/CortexEngine.App/Program.cs +++ b/src/CortexEngine.App/Program.cs @@ -309,7 +309,8 @@ class Program var paramsText = sb.ToString(); ImGui.SetClipboardText(paramsText); - Console.WriteLine("[App] Parameters copied to clipboard:\n" + paramsText); + Console.WriteLine("[App] Parameters copied to clipboard:"); + Console.WriteLine(paramsText); } ImGui.End(); @@ -410,8 +411,7 @@ class Program isRecording = false; } } - } - } + } } frames++; if (timing.TotalTime - lastFpsTime >= 1.0) @@ -531,15 +531,15 @@ class Program // Lights (3 dynamic point lights, all cast shadows) world.Entity("MainLight") .Set(new Transform(new Vector3(0, 20, 0), Quaternion.Identity, Vector3.One)) - .Set(Light.Point(new Vector3(0, 20, 0), new Vector3(1.0f, 0.95f, 0.85f), intensity: 12.0f, range: 60.0f)); + .Set(Light.Point(new Vector3(0, 20, 0), new Vector3(1.0f, 0.95f, 0.85f), intensity: 8.0f, range: 15.5f)); world.Entity("SecondLight") .Set(new Transform(new Vector3(-12, 10, 8), Quaternion.Identity, Vector3.One)) - .Set(Light.Point(new Vector3(-12, 10, 8), new Vector3(0.3f, 0.6f, 1.0f), intensity: 8.0f, range: 40.0f)); + .Set(Light.Point(new Vector3(-12, 10, 8), new Vector3(0.3f, 0.6f, 1.0f), intensity: 8.0f, range: 15.5f)); world.Entity("ThirdLight") .Set(new Transform(new Vector3(10, 8, -10), Quaternion.Identity, Vector3.One)) - .Set(Light.Point(new Vector3(10, 8, -10), new Vector3(0.9f, 0.2f, 0.3f), intensity: 8.0f, range: 40.0f)); + .Set(Light.Point(new Vector3(10, 8, -10), new Vector3(0.9f, 0.2f, 0.3f), intensity: 8.0f, range: 15.5f)); var entityCount = 0; world.Each((Entity e, ref Transform _) => entityCount++);