Commit Graph

572 Commits

Author SHA1 Message Date
d194d2a008 Add terrain brush preview sync in ViewportHost 2026-04-18 20:34:29 +02:00
036dd50d19 auto-git:
[change] src/viewport-three/viewport-host.ts
2026-04-18 20:32:16 +02:00
46701db3f1 Import and use terrain brush utilities in App.tsx and update viewport-host.ts 2026-04-18 20:28:40 +02:00
3cfd1ff54d Reorder imports in viewport-host.ts 2026-04-18 20:28:26 +02:00
9dfd3b9c5d Import getTerrainBrushCommandLabel function 2026-04-18 20:28:26 +02:00
6383af29cb Dispose of terrain brush preview resources in ViewportHost 2026-04-18 20:28:26 +02:00
eef6a3c887 Add terrain brush functionality in ViewportHost 2026-04-18 20:27:38 +02:00
a95a9b1e38 Add terrain brush functionality to viewport-host.ts 2026-04-18 20:27:11 +02:00
0453cb13d0 Update terrain rendering to use displayed terrain state and sync brush preview 2026-04-18 20:24:34 +02:00
011e20c973 Reset active terrain brush stroke and sync preview on document update 2026-04-18 20:24:34 +02:00
b9ac6b2b00 Add terrain brush preview and state management in viewport-host.ts 2026-04-18 20:23:52 +02:00
fc375c4937 Update ViewportCanvas and ViewportPanel to support terrain brush state and commit handling 2026-04-18 20:23:34 +02:00
83cc70dcdc Remove unused import in viewport-host.ts 2026-04-18 20:01:02 +02:00
31b1d574ab Apply advanced rendering shadow flags to terrain render objects 2026-04-18 19:53:28 +02:00
2fe8266862 Support terrain selection in viewport host 2026-04-18 19:52:53 +02:00
5272a7ec9a Implement clearTerrains method for terrain cleanup 2026-04-18 19:52:45 +02:00
d246a470ec Add terrain clearing in cleanup method 2026-04-18 19:52:45 +02:00
5499c2fe51 Add terrain material refresh functionality 2026-04-18 19:52:23 +02:00
dd45f4588f Implement terrain material creation and rebuild logic 2026-04-18 19:52:19 +02:00
a9883b7224 Add terrain group and render objects 2026-04-18 19:52:19 +02:00
4fef0ef33e Define TerrainRenderObjects and add terrain color constants 2026-04-18 19:51:39 +02:00
85f31e7c9e Add terrain selection and rendering support 2026-04-18 19:51:39 +02:00
ef79348865 Include terrain in viewport focus calculation and resolve terrain focus target 2026-04-18 19:51:22 +02:00
1ad01c4a50 Include terrain in focus bounds calculation and create terrain focus target 2026-04-18 19:51:16 +02:00
fdad1e79ab Add support for single selected terrain ID and import terrain bounds 2026-04-18 19:51:16 +02:00
ab8cfd9fb3 Add Surface Snap Move feature and update related components 2026-04-18 19:34:15 +02:00
66687889f8 Remove unused function applySameKindSelectionClick in viewport-host.ts 2026-04-15 15:08:32 +02:00
9f502a6aa2 Add new function for editor selection click handling and update viewport logic 2026-04-15 15:07:24 +02:00
f2de140069 Refactor getTransformTargetOrientation method in viewport-host.ts 2026-04-15 15:04:01 +02:00
290da8478a Update brush render object geometry with preview item details 2026-04-15 15:02:50 +02:00
250466f76b Enhance error handling and variable usage in batch transform methods of viewport-host.ts 2026-04-15 15:02:46 +02:00
567fa62b7d Add null check for activeEntityPreview in viewport-host.ts 2026-04-15 15:02:46 +02:00
6bfcbd6a9c Refactor rotation quaternion creation logic in viewport-host.ts 2026-04-15 15:02:14 +02:00
ab5f5d2010 Remove unused import in viewport-host.ts 2026-04-15 15:02:14 +02:00
3e39fd7464 Implement multi-selection focus target creation 2026-04-15 14:57:27 +02:00
c6ce76be04 Add activeSelectionId to ViewportPanel and updateViewportHost 2026-04-15 14:57:27 +02:00
2a5800eb08 Add activeSelectionId to ViewportCanvas props and update effects 2026-04-15 14:57:05 +02:00
d6497cec76 Add handling for brushes, modelInstances, and entities in ViewportHost.ts 2026-04-15 14:50:22 +02:00
79c67ea323 Add methods for scaling, rotating, and translating items around a pivot in ViewportHost 2026-04-15 14:50:14 +02:00
570db9cc96 Add batch preview handling for brushes, entities, and model instances in ViewportHost 2026-04-15 14:48:13 +02:00
8f1e426db1 Handle rotation for brushes, modelInstances, and entities in ViewportHost 2026-04-15 14:48:01 +02:00
3f7b3e5606 Add support for multiple brush, entity, and model instance checks in viewport-host.ts 2026-04-15 14:47:41 +02:00
a0cd36e4bf Update viewport-host.ts to handle shift key for selection changes 2026-04-15 14:47:31 +02:00
e92f25de31 Add support for tracking and applying active selection ID in ViewportHost 2026-04-15 14:47:20 +02:00
6220471d35 Modify NPC creation preview in viewport-host.ts 2026-04-15 09:25:56 +02:00
d22aac05f7 Handle cone and torus brushes in preview creation 2026-04-15 09:10:39 +02:00
fbbd637edd Add cone and torus brush creation functions 2026-04-15 09:10:39 +02:00
2feb5799b2 Update viewport transient state to support cone and torus brushes 2026-04-15 09:09:30 +02:00
5f6de10348 Remove unnecessary box kind check in viewport focus 2026-04-15 08:08:34 +02:00
c3b74f7f73 Add support for wedge and cylinder brushes in viewport-host.ts 2026-04-15 08:07:56 +02:00