Commit Graph
63 Commits
Author SHA1 Message Date
James Smith ba17b59143 adjust camera parameters to match up better to f3d defaults 2026-02-13 14:17:38 +00:00
James Smith 1f60ca1f1c remove old ts error expectation 2026-01-14 14:09:10 +00:00
James Smith 1e8e2f5fa9 silence typescript error on dynamic loader creation for now 2026-01-14 13:16:01 +00:00
James Smith 984a3788db minor linting 2026-01-14 13:15:36 +00:00
James Smith 4f0aff6880 ignore error type checking ldrawloader, will be resolved in a three.js update 2026-01-14 13:13:37 +00:00
James Smith 99b3abb7a0 use instanceof instead of LoaderClass comparison in renderer 2026-01-14 13:03:01 +00:00
James Smith 5ffd45e146 remove extra parameter 2026-01-14 12:28:37 +00:00
James Smith ebd6f76f10 declare explicit material type 2026-01-14 12:28:19 +00:00
James Smith fc67a5c049 fix effectcomposer import usage 2026-01-14 12:27:45 +00:00
James Smith eed7919c96 Remove * path mapping and make local imports explicit 2026-01-14 12:27:04 +00:00
James Smith 454686c791 add 3DM renderer 2026-01-09 14:34:52 +00:00
James Smith f6b99c89be lint formatting fixes 2025-05-22 22:36:59 +01:00
James Smith 98565b127c Flip LHS-RHS coordinate system and scale 2025-05-22 16:44:30 +01:00
James Smith 7ab29c5663 use material library from main LDraw library distribution 2025-05-22 16:44:09 +01:00
James Smith 96ff6d7c55 Add rendering for LDraw files 2025-05-22 14:47:09 +01:00
James Smith bf9828871b remove AMF and Collada rendering, need webworker-compatible loaders 2025-05-14 23:10:02 +01:00
James Smith 2e30684968 add wasm fix for pure DRC files 2025-05-14 23:10:02 +01:00
James Smith b21e90e413 add renderers for 3DS, FBX, Collada, GCode, and AMF 2025-05-14 22:56:29 +01:00
James Smith 4deb1ff638 Index and render DRACO drc files 2025-05-14 21:33:30 +01:00
James Smith 52febefe6a add DRACO loader for GLTF loader 2025-05-14 21:26:34 +01:00
James Smith 84bba352d4 DRY up loader selection 2025-05-14 21:18:45 +01:00
James Smith 9ef5b5617f update three js loader paths 2025-05-14 21:17:58 +01:00
James Smith e19f499d89 Add setting to render the actual materials defined in a file 2025-05-14 15:04:19 +01:00
James Smith 23f40c6ebb increase clip depth 100x to handle large objects 2025-02-13 15:18:15 +00:00
James Smith addea907e9 add shadowed render mode 2025-01-06 10:13:01 +00:00
James Smith f1e87e7505 configure SSAO pass params 2025-01-06 09:52:16 +00:00
James Smith 2ab22aefc8 tweak lighting 2025-01-06 09:51:24 +00:00
James Smith d5fba51352 add SSAO pass 2024-12-20 23:56:16 +00:00
James Smith 71400d7afb add multipass pipeline for renderer 2024-12-20 23:55:41 +00:00
James Smith 76dbd3a878 lint boolean check 2024-07-26 14:36:34 +01:00
James Smith fff3cd356b Set mesh materials more robustly 2024-07-16 16:54:28 +01:00
James Smith f5a1438474 add preview rendering for gltf files 2024-07-16 16:17:54 +01:00
James Smith fc9416aacd lint 2024-05-12 15:14:49 +01:00
James Smith d5ab2ec9be swap pan/rotate around so that rotate is default, and pan uses modifier keys 2024-05-12 15:13:26 +01:00
James Smith 5fda027066 copy orbitcontrols.js from THREE 2024-05-12 12:30:33 +01:00
James Smith dc3f782865 remove bx geometry on load error 2024-05-10 13:59:31 +01:00
James Smith 3117bf6bf2 fix typs for comlink remote 2024-05-10 13:59:18 +01:00
James Smith f6b4c5cf51 explicit cast for canvas proxy 2024-05-10 12:14:57 +01:00
James Smith d00f30fdbb remove left/top from resize
not needed
2024-05-10 12:13:34 +01:00
James Smith 9b0f1a7201 somehow the camera got rotated 180 degrees. Weird 2024-05-10 10:46:35 +01:00
James Smith 5a70cdee1f use worker-compatible 3MF loader 2024-05-10 10:04:15 +01:00
James Smith 525ccca7d9 get controls keyboard inputs working 2024-05-09 17:15:03 +01:00
James Smith cbaf3d195a fix orbit controls target 2024-05-09 11:57:43 +01:00
James Smith 8e3149af4f improve resize to handle position and pixel ratio as well as size 2024-05-09 11:57:35 +01:00
James Smith c90a022f0e lint: return types and string templating 2024-05-09 10:09:38 +01:00
James Smith 1571ba4e5c lint: indentation 2024-05-09 10:09:38 +01:00
James Smith dbcbb7a499 lint: autocorrections 2024-05-09 10:09:38 +01:00
James Smith 186f29d385 some type safety improvements 2024-05-09 10:09:37 +01:00
James Smith 8e63e716af rename ObjectPreview to OffscreenRenderer 2024-05-09 10:09:37 +01:00
James Smith 491ec5ecba rename back to CanvasProxy 2024-05-09 10:09:36 +01:00