Nick Fisher
|
825c6e1a80
|
feat: parent the cloned entity instance when setting stencil highlight
|
2024-10-23 14:44:35 +08:00 |
|
Nick Fisher
|
ff304ad3d4
|
feat: add getAncestor method
|
2024-10-23 14:44:35 +08:00 |
|
Nick Fisher
|
d4d4dc4fd7
|
feat: move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector and removeStencilHighlight
|
2024-10-23 14:44:34 +08:00 |
|
Nick Fisher
|
2ccbb4c0c4
|
chore: remove createGeometry method from FilamentViewer, set default view blend mode
|
2024-10-23 14:44:34 +08:00 |
|
Nick Fisher
|
709b098054
|
fix: properly destroy entities/material/etc in Gizmo on destruction, remove custom scene creation logic
|
2024-10-23 14:44:34 +08:00 |
|
Nick Fisher
|
53ff6c72f0
|
feat: move HighlightOverlay to nested class, move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector
|
2024-10-23 14:44:34 +08:00 |
|
Nick Fisher
|
8ca4205d2c
|
fix: add Fence to capture() and set stencil buffer by default
|
2024-10-23 14:44:34 +08:00 |
|
Nick Fisher
|
0a4e3501dc
|
feat: add flag for keepData for gltf instancing, add highlightScene, add stencilHighlight method
|
2024-10-23 14:44:34 +08:00 |
|
Nick Fisher
|
65a6231f23
|
feat: grid uses own material
|
2024-10-23 14:44:33 +08:00 |
|
Nick Fisher
|
4b70116754
|
chore: clean up old commented code
|
2024-10-23 14:44:33 +08:00 |
|
Nick Fisher
|
d17cce2ca4
|
feat: expose setLightDirection and setLightPosition
|
2024-10-23 14:44:33 +08:00 |
|
Nick Fisher
|
1bdf6888c6
|
fix: emscripten export visibility for add_light
|
2024-10-23 14:44:32 +08:00 |
|
Nick Fisher
|
f69fcbb783
|
chore: use float instead of float32_t in FilamentViewer
|
2024-10-23 14:44:32 +08:00 |
|
Nick Fisher
|
6771431038
|
chore: add nested PickCallbackHandler to Gizmo
|
2024-10-23 14:44:32 +08:00 |
|
Nick Fisher
|
b20acaec6f
|
feat: remove gizmo view references, exclude gizmo entities from picking, add createIbl
|
2024-10-23 14:44:32 +08:00 |
|
Nick Fisher
|
7d7596bbdd
|
fix: add more nan checks for gizmo manipulation
|
2024-10-23 14:44:31 +08:00 |
|
Nick Fisher
|
acac2dba90
|
feat: expose API methods for create_ibl, pick/set gizmo visibility
|
2024-10-23 14:44:31 +08:00 |
|
Nick Fisher
|
727ac7d9df
|
feat: create transparent overlay for gizmo for easier picking
|
2024-10-23 14:44:31 +08:00 |
|
Nick Fisher
|
e04cd0488e
|
feat: rescale gizmo based on distance from camera
|
2024-10-23 14:44:31 +08:00 |
|
Nick Fisher
|
f867e21647
|
fix: add check for nan NDC coordinates for viewport translation
|
2024-10-23 14:44:31 +08:00 |
|
Nick Fisher
|
4d3d744cd6
|
feat: layers, grid
|
2024-10-23 14:44:30 +08:00 |
|
Nick Fisher
|
f2f973bf00
|
feat: ignore grid overlay and gizmo center when picking, implement highlighting
|
2024-10-23 14:44:30 +08:00 |
|
Nick Fisher
|
0c655dbfd4
|
feat: SceneManager updates (setLayer, add grid, queueRelativePositionUpdateWorld
|
2024-10-23 14:44:30 +08:00 |
|
Nick Fisher
|
8f2cd5a353
|
add grid overlay
|
2024-10-23 14:44:30 +08:00 |
|
Nick Fisher
|
f6f12e2566
|
use inactive/active color gizmo
|
2024-10-23 14:44:30 +08:00 |
|
Nick Fisher
|
3512ed6da3
|
chore: don't use shader to overlay gizmo
|
2024-10-23 14:44:30 +08:00 |
|
Nick Fisher
|
4a29a77a78
|
feat: re-implement (native) Gizmo class, expose preserveScaling parameter for setParent, add methods for getting viewport bounding box from renderable entity
|
2024-10-23 14:44:29 +08:00 |
|
Nick Fisher
|
aa17962936
|
fix: (web) add emscripten guards for flushAndWait call when swapchain destroyed
|
2024-10-23 14:44:29 +08:00 |
|
Nick Fisher
|
0a720fae72
|
feat: add capture() function and expose viewportDimensions on ThermionViewer (allows easier saving of captured images to PNG)
|
2024-10-23 14:44:29 +08:00 |
|
Nick Fisher
|
a30e2f295f
|
feat: add startOffset parameter to gltf playAnimation
|
2024-10-23 14:44:29 +08:00 |
|
Nick Fisher
|
41bf9ededa
|
feat: add clearMorphAnimationData function
|
2024-07-23 09:38:26 +08:00 |
|
Nick Fisher
|
c7a0b2f5cc
|
fix: defer creating image entity/material/etc until actually requested
feat: expose shadow options
|
2024-07-02 16:17:36 +08:00 |
|
Nick Fisher
|
81be5e25f7
|
fix: revert to std::thread (pthreads not easily available on Windows)
|
2024-06-26 01:50:22 +10:00 |
|
Nick Fisher
|
846f45bb63
|
don't destroy dummy image texture if clearBackgroundImage has been called without setBackgroundImage having been called first
|
2024-06-19 16:38:14 +08:00 |
|
Nick Fisher
|
7dc0e91e6b
|
fix RenderLoop to use (C) ResourceLoaderWrapper and destroy RL when viewer is destroyed
|
2024-06-19 13:16:33 +08:00 |
|
Nick Fisher
|
49b8e7023b
|
free all resources in FilamentViewer destructor
|
2024-06-19 13:15:36 +08:00 |
|
Nick Fisher
|
a455e4f88a
|
construct (C++) ResourceLoaderWrapperImpl from (C) ResourceLoaderWrapper
|
2024-06-19 13:13:36 +08:00 |
|
Nick Fisher
|
3785580b01
|
free all resources in SceneManager
|
2024-06-19 13:12:28 +08:00 |
|
Nick Fisher
|
dc0c855135
|
documentation & further renaming
|
2024-06-16 13:22:27 +08:00 |
|
Nick Fisher
|
fe62a70e29
|
renaming to Thermion
|
2024-06-16 13:22:22 +08:00 |
|