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 |
|
James Smith
|
7dd072e6b2
|
limit frame rate to 60fps
|
2024-05-09 10:09:36 +01:00 |
|
James Smith
|
547b5e60a0
|
actual working orbit controls!
|
2024-05-09 10:09:36 +01:00 |
|
James Smith
|
89b284bff3
|
move actual offscreen canvas inside the proxy
|
2024-05-09 10:09:36 +01:00 |
|
James Smith
|
0e6cb88aec
|
move DOMElementProxy to its own file
|
2024-05-09 10:09:36 +01:00 |
|
James Smith
|
a7dec86fe3
|
pass UI events through to web worker
|
2024-05-09 10:09:35 +01:00 |
|
James Smith
|
16cf683da1
|
link up load progress and get UI to prompt loading
|
2024-05-09 10:09:35 +01:00 |
|
James Smith
|
e640b83781
|
simplify worker communication with comlink
|
2024-05-09 10:09:35 +01:00 |
|
James Smith
|
878485384f
|
add in requestAnimationFrame to rendering process
|
2024-05-09 10:08:05 +01:00 |
|
James Smith
|
4d1f97a08e
|
move setup into constructor
|
2024-05-09 10:08:05 +01:00 |
|
James Smith
|
280f39b937
|
handle resizing and proper settings of canvas resolution
|
2024-05-09 10:08:05 +01:00 |
|
James Smith
|
44eda31c46
|
increase canvas resolution to a fixed but higher amount
|
2024-05-09 10:08:05 +01:00 |
|
James Smith
|
ef6313dbbd
|
basic progress bar operational
|
2024-05-09 10:08:04 +01:00 |
|
James Smith
|
51655bbafd
|
working offscreen rendering
|
2024-05-09 10:08:04 +01:00 |
|