Commit Graph

572 Commits

Author SHA1 Message Date
368aeafed9 Refine renderer pixel ratio calculation and implement terrain LOD hysteresis 2026-04-29 23:49:21 +02:00
ee26803ff3 Improve renderer setup and update terrain LOD resolution 2026-04-29 23:49:21 +02:00
2f81d81475 Update terrain layer material imports and dispose logic in ViewportHost 2026-04-29 23:18:11 +02:00
3089501d28 Refactor material handling to support detailed and distant LOD materials 2026-04-29 23:17:40 +02:00
f85add9853 Improve terrain material handling and distant preview generation 2026-04-29 23:17:29 +02:00
659af46d87 Implement detail and distant materials for terrain rendering objects 2026-04-29 23:17:17 +02:00
6f290c560a Update TerrainRenderObjects to use detail and distant materials 2026-04-29 23:17:17 +02:00
0b5de5b6bc Refactor terrain chunk structure and improve geometry disposal logic 2026-04-29 23:14:53 +02:00
4caff728d1 Refactor terrain chunk rendering to use geometry arrays and simplify mesh management 2026-04-29 23:14:33 +02:00
3eba094ebe Use render object group instead of mesh for shadow flags 2026-04-29 23:02:23 +02:00
a313215ea6 Add terrain LOD visibility update to ViewportHost 2026-04-29 23:02:23 +02:00
942e09ebfb Update picking and raycasting to use pick meshes and calculate accurate Y coordinates based on terrain height 2026-04-29 23:01:19 +02:00
295191a750 Refactor terrain material assignment to update all meshes in render objects 2026-04-29 23:01:05 +02:00
9b8ca44288 Implement dynamic LOD visibility for terrain and refine resource disposal logic 2026-04-29 23:00:56 +02:00
6609f57bfc Refactor terrain rendering to use LOD and structured chunk groups 2026-04-29 23:00:46 +02:00
d594a73f1a Enhance whitebox hover label tracking with update loop tracing 2026-04-28 17:58:28 +02:00
f9974b9588 Add update loop tracing for viewport state changes 2026-04-28 17:58:20 +02:00
71ae447b3c Improve camera state comparison using epsilon for float precision 2026-04-28 17:44:06 +02:00
8ee2238afc Adjust celestial body intensities and god rays calculation based on horizon visibility 2026-04-28 14:24:07 +02:00
a1837a27b2 Adds test case to resolve dominant god rays light source 2026-04-28 14:17:53 +02:00
f1c27d42d8 Refactor God Rays light synchronization using dominant celestial light input 2026-04-28 14:17:15 +02:00
4c71f6dd4f Feat: Integrate God Rays support into viewport host 2026-04-28 04:35:07 +02:00
0dd8a9031f Sync god rays light source with dominant celestial light 2026-04-28 04:34:48 +02:00
ba30d37f12 Initialize screen space god rays light source 2026-04-28 04:34:48 +02:00
7416a5e53d Apply advanced rendering camera far settings in viewport host 2026-04-28 04:08:36 +02:00
751301cdfb Use dedicated constant for viewport camera far distance 2026-04-28 04:08:20 +02:00
24b24e09e4 Update ViewportTimeTransport rendering condition to account for viewport messages 2026-04-27 19:30:51 +02:00
0782fe06ad Improve type safety check for event button in ViewportCanvas 2026-04-27 19:25:17 +02:00
1b3709a81b Feature: Add editor simulation controls and state to viewport 2026-04-27 19:23:30 +02:00
bc3aa24c83 Feat: Implement time transport controls for viewport simulation 2026-04-27 19:23:00 +02:00
815d39c471 Improve model instance synchronization by adding render groups for visible displayed models and applying shadow state. 2026-04-27 16:08:19 +02:00
9249b4188d auto-git:
[change] src/viewport-three/viewport-host.ts
2026-04-27 16:08:03 +02:00
62a6e6413a Implement caching of interactable enabled state in ViewportHost 2026-04-27 16:07:46 +02:00
1880be4a83 Cache simulation interactable enabled state on viewport host 2026-04-27 16:07:46 +02:00
f9d247f235 Refactor ViewportHost synchronization methods for improved robustness and state management of simulation elements (NPCs, lights, models) 2026-04-27 16:07:27 +02:00
3cb9935bdd Improve simulation state management and synchronization using versioning and membership signatures 2026-04-27 16:06:59 +02:00
cdacd88abe Enhance viewport simulation state tracking and membership signatures 2026-04-27 16:06:42 +02:00
3074d523d7 Improve simulation updates using frame versions and enhance player input binding logic 2026-04-27 16:06:23 +02:00
b9e521f035 Fix formatting in ViewportCanvas preview URL check 2026-04-27 15:50:43 +02:00
cd9eaee935 Improve robustness by checking SpotLight type before setting angle and safely setting entity render object visibility 2026-04-27 15:48:11 +02:00
6fe5ddead5 Sync simulation data (lights, NPCs, interactables, models) to viewport 2026-04-27 15:44:55 +02:00
634fb57bed Implement updateSimulationFrame to synchronize viewport state with running simulation 2026-04-27 15:44:15 +02:00
e331e94715 Update serialization version for interaction angles and track interactable state in viewport host 2026-04-27 15:44:15 +02:00
785759f74f Refactor ViewportCanvas to use EditorSimulationController for simulation and background updates 2026-04-27 15:43:58 +02:00
2fbe69f243 Refactor ViewportPanel to use EditorSimulationController and add unit tests for player interact input bindings 2026-04-27 15:43:36 +02:00
ccfa69746c Refactor camera calculations to use clamping functions and implement smooth zoom updates. 2026-04-27 00:56:20 +02:00
72d4643ff9 Refactor camera zoom to use smooth, stepped transitions for perspective and orthographic views 2026-04-27 00:55:55 +02:00
2ddabc0566 Fix smooth zoom response for zero delta time 2026-04-27 00:55:55 +02:00
6ebc875fd4 Feature: Implement smooth camera zooming and distance clamping in ViewportHost 2026-04-27 00:55:05 +02:00
ab7ebcd8ec Use target camera radius and zoom when calculating view state 2026-04-27 00:54:39 +02:00