Nick Fisher
|
ef5b12af4f
|
feat!: big refactor to support multiple swapchains
|
2024-10-23 14:45:04 +08:00 |
|
Nick Fisher
|
11f668e163
|
chore: don't keep superfluous handle to rtDepth and rtColor
|
2024-10-23 14:45:04 +08:00 |
|
Nick Fisher
|
e2eb1137d2
|
refactor!: remove RenderThread methods no longer needed
|
2024-10-23 14:45:03 +08:00 |
|
Nick Fisher
|
b5d47ae2a5
|
fix!: replace queuePosition/Rotation with queueTransforms
|
2024-10-23 14:45:03 +08:00 |
|
Nick Fisher
|
c2b1d8660e
|
fix!: replace queuePosition/Rotation with queueTransforms
|
2024-10-23 14:45:03 +08:00 |
|
Nick Fisher
|
41432a07ed
|
chore: getter for native camera view matrix
|
2024-10-23 14:45:03 +08:00 |
|
Nick Fisher
|
2408104bd0
|
more camera work
|
2024-10-23 14:45:03 +08:00 |
|
Nick Fisher
|
d1cd68cda6
|
more camera work
|
2024-10-23 14:45:03 +08:00 |
|
Nick Fisher
|
256d5d4eb1
|
feat: set camera model matrix directly
|
2024-10-23 14:45:03 +08:00 |
|
Nick Fisher
|
758704d464
|
renaming/refactoring and allow creating new cameras
|
2024-10-23 14:45:02 +08:00 |
|
Nick Fisher
|
9639caf019
|
feat: expose more camera methods
|
2024-10-23 14:45:02 +08:00 |
|
Nick Fisher
|
8e1c611e92
|
set clearOptions to true
|
2024-10-23 14:45:00 +08:00 |
|
Nick Fisher
|
ed5f23faf2
|
introduce stronger native typing, camera projection/culling methods, update tests
|
2024-10-23 14:45:00 +08:00 |
|
Nick Fisher
|
ab1de78b74
|
rename from *FFI to *RenderThread, return bool from render() to check frame timings, update render loop to wait on condition variable, add requestFrame() method
|
2024-10-23 14:45:00 +08:00 |
|
Nick Fisher
|
7bcfd0f805
|
rename CameraPtr to TCamera and use named arguments for setCameraLensProjection
|
2024-10-23 14:45:00 +08:00 |
|
Nick Fisher
|
3e1b151488
|
move MaterialInstance methods to own class
|
2024-10-23 14:45:00 +08:00 |
|
Nick Fisher
|
820ad7cb28
|
rename setLayerEnabled to setLayerVisibility, add setVisibilityLayer method
|
2024-10-23 14:45:00 +08:00 |
|
Nick Fisher
|
df0a744cc9
|
add setMaterialDepthWrite method
|
2024-10-23 14:44:59 +08:00 |
|
Nick Fisher
|
2e404f2087
|
add setMaterialProperty for int, add create_unlit_material_instance
|
2024-10-23 14:44:59 +08:00 |
|
Nick Fisher
|
024201a7b7
|
set default layer for loadGlb to 0,. add setMaterialProperty for int, add SceneManager::createUnlitMaterialInstance
|
2024-10-23 14:44:58 +08:00 |
|
Nick Fisher
|
22f97beeaa
|
update unproject texture to accept input texture
|
2024-10-23 14:44:58 +08:00 |
|
Nick Fisher
|
94ff71281f
|
don't call clearBackgroundImage when setBackgroundImage is called (would deadlock)
|
2024-10-23 14:44:58 +08:00 |
|
Nick Fisher
|
4a96df1574
|
set default material for geometry to baseColorIndex 0
|
2024-10-23 14:44:58 +08:00 |
|
Nick Fisher
|
80448d4a24
|
depth pre-pass when projecting texture
|
2024-10-23 14:44:58 +08:00 |
|
Nick Fisher
|
40a7f86cef
|
fixes for createMaterialInstance
|
2024-10-23 14:44:57 +08:00 |
|
Nick Fisher
|
357d815489
|
use TMaterialInstance for FFI API, add priority/layer params to load_glb_from_buffer
|
2024-10-23 14:44:57 +08:00 |
|
Nick Fisher
|
e67c77b322
|
use SceneManager::LAYERS enum for Overlay, set priority/layer in loadGlbFromBuffer, add create/destroy material instance
|
2024-10-23 14:44:57 +08:00 |
|
Nick Fisher
|
c3291f672e
|
use SceneManager::LAYERS enum for Overlay
|
2024-10-23 14:44:57 +08:00 |
|
Nick Fisher
|
176036402a
|
use SceneManager::LAYERS enum for gizmo
|
2024-10-23 14:44:57 +08:00 |
|
Nick Fisher
|
60dbc4ffd6
|
add texture methods (including unproject)
|
2024-10-23 14:44:39 +08:00 |
|
Nick Fisher
|
b714d421f6
|
remove using namespace filament*
|
2024-10-23 14:44:38 +08:00 |
|
Nick Fisher
|
f18f04734d
|
allow setting material property by name
|
2024-10-23 14:44:38 +08:00 |
|
Nick Fisher
|
ae91e3e2c1
|
geometry receives/casts shadows by default
|
2024-10-23 14:44:38 +08:00 |
|
Nick Fisher
|
cabed69c48
|
remove double sided from HighlightOverlay material
|
2024-10-23 14:44:38 +08:00 |
|
Nick Fisher
|
2832686193
|
adjust gizmo size
|
2024-10-23 14:44:38 +08:00 |
|
Nick Fisher
|
7aba6d15b7
|
reduce size of gizmo
|
2024-10-23 14:44:37 +08:00 |
|
Nick Fisher
|
48ada59a2f
|
remove logging
|
2024-10-23 14:44:37 +08:00 |
|
Nick Fisher
|
c5aa1abb30
|
culling fixes for HighlightOverlay
|
2024-10-23 14:44:37 +08:00 |
|
Nick Fisher
|
78a0763ad7
|
remove camera methods from FilamentViewer
|
2024-10-23 14:44:37 +08:00 |
|
Nick Fisher
|
c1898b97c9
|
use opaque CameraPtr to set camera matrices/properties/etc
|
2024-10-23 14:44:37 +08:00 |
|
Nick Fisher
|
2a30a6f2e1
|
remove update_viewport_and_camera_projection_ffi
|
2024-10-23 14:44:36 +08:00 |
|
Nick Fisher
|
08b986c5e3
|
add createGeometryWithNormals to SceneManager
|
2024-10-23 14:44:36 +08:00 |
|
Nick Fisher
|
ae1c8dbdfc
|
add normals to CustomGeometry implementation
|
2024-10-23 14:44:36 +08:00 |
|
Nick Fisher
|
7a6e9cd598
|
HighlightOverlay fixes
|
2024-10-23 14:44:36 +08:00 |
|
Nick Fisher
|
ae59288b1f
|
add create_geometry_with_normals method
|
2024-10-23 14:44:36 +08:00 |
|
Nick Fisher
|
02dffaade5
|
add create_geometry_with_normals_ffi method, switch load_glb_from_buffer type to uint8_t for Dart leaf compat and add keepData param
|
2024-10-23 14:44:35 +08:00 |
|
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 |
|