Commit Graph

292 Commits

Author SHA1 Message Date
0f65009304 Update viewport-host.ts to handle non-brush and modelInstance targets 2026-04-11 03:24:11 +02:00
d2c0066643 Change useEffect to useLayoutEffect in ViewportCanvas 2026-04-11 03:24:06 +02:00
a1fc1fa2b7 Use useLayoutEffect in ViewportCanvas and add cameraSyncRequestId prop 2026-04-11 03:22:50 +02:00
3845934be7 Add cameraSyncRequestId prop to ViewportPanel 2026-04-11 03:22:49 +02:00
e6e40246ce Update App.tsx and ViewportHost.ts to include viewport camera sync request ID and resolve object scale constraint axis 2026-04-11 03:22:24 +02:00
754eb60a25 Add transform axis mapping functionality 2026-04-11 03:22:24 +02:00
4a66cccd79 auto-git:
[change] src/app/App.tsx
 [change] src/app/editor-store.ts
 [change] src/core/transform-session.ts
 [change] src/viewport-three/ViewportCanvas.tsx
 [change] src/viewport-three/ViewportPanel.tsx
 [change] src/viewport-three/viewport-host.ts
 [change] tests/unit/viewport-canvas.test.tsx
2026-04-11 02:44:49 +02:00
c991f41158 auto-git:
[change] src/viewport-three/viewport-host.ts
 [change] tests/unit/viewport-canvas.test.tsx
2026-04-11 02:44:49 +02:00
a40089d956 Update App.tsx and ViewportHost.ts with axis constraint space and message updates 2026-04-11 02:43:38 +02:00
031ce48aaa Update ViewportCanvas to include transform axis labels 2026-04-11 02:41:10 +02:00
8786e4c12b Add viewportGridVisible prop and effect to ViewportCanvas 2026-04-11 02:41:06 +02:00
3211bd2f7a Add viewportGridVisible prop to ViewportPanel 2026-04-11 02:41:06 +02:00
c51a396a82 Enhance transform session handling and grid visibility in ViewportHost 2026-04-11 02:40:51 +02:00
dad94d6ec9 Add grid visibility flag and constants in ViewportHost 2026-04-11 02:38:09 +02:00
bb422a98f1 Add axis constraint space parameter to transform session 2026-04-11 02:38:05 +02:00
d4587ebfcd Add fog material creation and management in ViewportHost 2026-04-07 11:34:03 +02:00
4238bce5f5 Remove unnecessary onBeforeRender assignment in configureFogVolumeMesh methods 2026-04-07 11:20:47 +02:00
014b157a35 Add fog volume mesh configuration in ViewportHost 2026-04-07 11:19:30 +02:00
7a62d8ed7b Add fog volume mesh configuration in ViewportHost 2026-04-07 11:19:17 +02:00
40a53801a7 Add fog quality material and update runtime/viewport hosts 2026-04-07 11:08:57 +02:00
802d3e026c Add conditional rendering based on layout mode and active panel status in ViewportCanvas 2026-04-07 10:54:36 +02:00
47cdebf7f8 Implement render enablement and disablement in ViewportHost 2026-04-07 10:53:29 +02:00
e993ff6116 Add render control based on layout mode and active panel 2026-04-07 10:53:28 +02:00
ee83c31f74 Add render enablement control in ViewportHost 2026-04-07 10:53:06 +02:00
05caaf888f Add logic to preserve and manage WebGL render targets for water reflections in viewport rendering 2026-04-07 08:48:37 +02:00
7ea659e195 Add water reflection update interval and last update time tracking in ViewportHost 2026-04-07 08:40:04 +02:00
de8ceafb7f Add water surface subdivision and UV interpolation in box brush mesh 2026-04-07 07:46:47 +02:00
f65e00b94f Optimize water reflection rendering with time-based updates 2026-04-07 07:14:00 +02:00
49a64b2d9b Reset lastReflectionUpdateTime when resizing reflection render targets 2026-04-07 07:14:00 +02:00
2789859360 Add surfaceDisplacementEnabled to water material properties 2026-04-07 07:14:00 +02:00
bfb3eebd2c Refactor fog handling and add reflection update timestamp 2026-04-07 07:13:38 +02:00
5ec9099a02 Extract and use runtime water foam contact limit calculation in multiple methods 2026-04-07 06:55:36 +02:00
d810f96d10 Add water reflection functionality to ViewportHost 2026-04-07 06:45:03 +02:00
d7294e2de1 Refactor viewport-host.js to simplify water contact patch collection and usage 2026-04-07 06:44:46 +02:00
fecd08b9ad Update water material to include reflection properties 2026-04-07 06:44:33 +02:00
2e5c86e274 Add AxesHelper and WebGLRenderTarget import in viewport-host.js 2026-04-07 06:44:33 +02:00
0624f2ae96 Refactor water reflection target size calculation in viewport-host.ts 2026-04-07 06:42:41 +02:00
a6a7abfbdd Update viewport water reflections in render loop 2026-04-07 06:42:36 +02:00
e28ca1bcd0 Resize water reflection targets on resize 2026-04-07 06:42:36 +02:00
1b7b0d87c5 Dispose reflection render targets in clear method 2026-04-07 06:42:36 +02:00
83475a72f9 Add water reflection functionality in viewport-host.ts 2026-04-07 06:42:05 +02:00
be2ccd8208 Refactor viewport water contact patch collection and usage 2026-04-07 06:41:41 +02:00
a50793b268 Update water material to include reflection properties 2026-04-07 06:41:36 +02:00
d28d7f3a47 Add axes helper and water reflection camera to ViewportHost 2026-04-07 06:41:36 +02:00
d8cb047eb2 Define ViewportWaterSurfaceBinding interface 2026-04-07 06:41:26 +02:00
83f76ed164 Import additional Three.js classes and functions 2026-04-07 06:41:25 +02:00
b62edd7e88 Enhance water material merging logic with normal alignment and profile settings 2026-04-07 05:51:42 +02:00
a74a7c02f0 Update collision detection to handle triangle meshes and transformed colliders 2026-04-07 05:44:28 +02:00
a8ad839ee2 Remove unused imports in viewport-host.ts 2026-04-07 05:02:53 +02:00
867a20ab15 Update water contact patch handling in runtime and viewport components 2026-04-07 05:01:43 +02:00