Commit Graph

586 Commits

Author SHA1 Message Date
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
c98d513ebf Refine smooth zoom handling during view mode changes and camera updates 2026-04-27 00:54:39 +02:00
d2d0e42e9e Add target camera radius and zoom properties to ViewportHost 2026-04-27 00:54:39 +02:00
34488867e0 Add constants for smooth zoom response 2026-04-27 00:53:42 +02:00
94cc244383 Require active session when updating transform preview handler 2026-04-27 00:34:57 +02:00
33dc7e8749 Feature: Implement and integrate transform preview change handling 2026-04-27 00:32:30 +02:00
0f0cd317a8 Add onTransformPreviewChange handler to ViewportPanel 2026-04-27 00:31:40 +02:00
97bbf4c71d Add prop and handler for transform preview changes 2026-04-27 00:30:51 +02:00
be81fca8f6 Update transform change handler to use preview event 2026-04-27 00:30:51 +02:00
9459166f68 Refactor transform reset to target specific preview IDs 2026-04-27 00:30:30 +02:00
93a6fbf566 Use transform preview handler when rebuilding preview 2026-04-27 00:30:30 +02:00
921fe866e0 Add handler for transform preview changes 2026-04-27 00:30:30 +02:00
7da830f65e Implement transform preview change handling 2026-04-27 00:29:42 +02:00
8576193b14 Implement collection logic for transform preview target IDs 2026-04-27 00:29:29 +02:00
ade780fbb6 Define TransformPreviewTargetIds structure 2026-04-27 00:29:29 +02:00
2896abf83d Apply rendering properties only to the created selection shell 2026-04-27 00:17:56 +02:00
1a2a4cac71 Remove refreshTerrainPresentation method 2026-04-27 00:14:30 +02:00
fdb8d15619 Add path ID collection for rail camera rigs from selection 2026-04-27 00:13:54 +02:00
35132bc9fb Adjust model instance rendering logic in ViewportHost 2026-04-27 00:13:54 +02:00
d64ac05ffe Refactor model instance rendering and selection logic in ViewportHost 2026-04-27 00:13:21 +02:00
28294a4a20 Refactor entity marker cleanup to properly dispose resources 2026-04-27 00:12:52 +02:00
2df82a9a91 Refactor entity rendering logic in ViewportHost 2026-04-27 00:12:41 +02:00
d89aaa2ec7 Refactor path presentation logic in ViewportHost 2026-04-27 00:12:15 +02:00
a8a11a764c auto-git:
[change] src/viewport-three/viewport-host.ts
2026-04-27 00:12:03 +02:00
9187bf717b Refactor path visualization rendering to include object lifecycle management and synchronization 2026-04-27 00:11:54 +02:00
593c45a239 Refactor terrain material presentation update into a dedicated method 2026-04-27 00:11:32 +02:00
c02bc1979f Refactor: Modularize brush presentation update logic in ViewportHost 2026-04-27 00:11:21 +02:00
66489ee8c7 Optimize selection presentation refresh by using affected IDs for targeted updates 2026-04-27 00:10:31 +02:00
397a19b40e Track affected selection IDs for viewport updates 2026-04-27 00:10:18 +02:00
7fb757ee1c Implement selection change handling in ViewportHost, triggering refresh of paths, markers, and model instances, and update related integration tests. 2026-04-27 00:02:42 +02:00
ac815f4260 Refactor viewport update logic to separate selection handling and simplify document updates 2026-04-27 00:02:26 +02:00
30a7100f8d Refactor ViewportCanvas hooks to separate document and selection updates 2026-04-27 00:02:11 +02:00
c550ca7634 Refactor: Improve readability of function signatures and calls in advanced rendering modules 2026-04-26 05:39:19 +02:00
e3805db485 Apply rendering categories to creation previews and scene elements 2026-04-26 05:34:43 +02:00
1c1ade4ba2 Add helper method for material-based render category 2026-04-26 05:34:21 +02:00
2b4baa5386 Apply overlay rendering category to viewport elements 2026-04-26 05:34:21 +02:00
d754cbec6f Set 'ao-world' render category for terrain meshes 2026-04-26 05:33:58 +02:00