Nick Fisher
e5b75debed
add test for destroy camera
2025-04-19 09:50:18 +08:00
Nick Fisher
da87442b3a
add async gltf test
2025-04-16 18:01:31 +08:00
Nick Fisher
0759590f4c
test fix
2025-04-16 18:00:17 +08:00
Nick Fisher
a4227df098
test cleanup
2025-04-16 17:23:56 +08:00
Nick Fisher
d0b297b015
add destructor test
2025-03-28 15:55:35 +08:00
Nick Fisher
4ac1b5329c
tests: split createViewer from withViewer
2025-03-28 15:55:35 +08:00
Nick Fisher
bf44ca7ddd
add precompiled swift lib for macos tests
2025-03-28 15:55:35 +08:00
Nick Fisher
e25d7805d9
comment out tests for merge
2025-03-28 15:55:35 +08:00
Nick Fisher
709fe35852
instancing tests/demo
2025-03-28 14:06:12 +08:00
Nick Fisher
ecb8d8672a
fix instancing so that gltf assets always fill the first instance slot
2025-03-28 13:06:36 +08:00
Nick Fisher
b4e4eb349c
test updates
2025-03-28 10:04:21 +08:00
Nick Fisher
7a5fdb0b77
test updates
2025-03-28 10:04:02 +08:00
Nick Fisher
51e51db229
VDTM tests
2025-03-28 10:03:39 +08:00
Nick Fisher
123543a985
test fixes
2025-03-28 10:03:14 +08:00
Nick Fisher
cd9332063c
update TestHelper
2025-03-28 10:02:01 +08:00
Nick Fisher
54a0a0befb
update TextureProjection
2025-03-28 10:01:49 +08:00
Nick Fisher
cd1c2f3827
projection work + tests
2025-03-28 10:01:00 +08:00
Nick Fisher
cac063324d
texture projection work
2025-03-25 12:16:38 +08:00
Nick Fisher
6c25a3c405
projection tests
2025-03-25 11:32:53 +08:00
Nick Fisher
999b1e613f
refactoring + texture projection
2025-03-25 09:39:02 +08:00
Nick Fisher
255c0edd49
refactoring
2025-03-21 14:56:20 +08:00
Nick Fisher
1177a71f73
test updates
2025-03-20 18:56:10 +08:00
Nick Fisher
cbff4cd805
refactoring
2025-03-20 11:07:16 +08:00
Nick Fisher
2244359edd
interm texture depth tests
2025-03-17 17:00:47 +08:00
Nick Fisher
4205b86f13
update generated Swift bindings
2025-03-17 16:55:28 +08:00
Nick Fisher
e1446c7eb8
more VDTM work
2025-03-10 22:21:25 +08:00
Nick Fisher
1f4af8c946
more VDTM work
2025-03-10 22:05:10 +08:00
Nick Fisher
75bee32e54
test fix
2025-03-10 18:11:23 +08:00
Nick Fisher
1d49db4767
3D texture tests
2025-03-10 18:06:27 +08:00
Nick Fisher
593bca3365
feat: expose setCastShadows/setReceiveShadows
2025-03-05 14:47:55 +08:00
Nick Fisher
cca9fba79f
add setImage method to set texture image directly from buffer
2025-03-04 18:17:17 +08:00
Nick Fisher
a245cf2915
add bitmap conversion to utils
2025-03-04 18:16:49 +08:00
Nick Fisher
fc7f5d7b93
create material for texture baking
...
textures can now be created manually and are no longer tracked by SceneManager (and therefore require manual tracking/disposal)
2025-03-04 14:52:48 +08:00
Nick Fisher
665c2fb39d
update projection test
2025-03-04 14:37:13 +08:00
Nick Fisher
8d52690c97
fix texture/material methods
2025-03-03 15:52:03 +08:00
Nick Fisher
2a8931e1ac
add TTexture bindings with TextureFormat, PixelDataType and PixelDataFormat enums
2025-03-03 14:43:20 +08:00
Nick Fisher
3a231697e5
test: add more tests
2025-01-07 08:42:24 +08:00
Nick Fisher
4e64c4976f
refactor!: rename removeAsset to destroyAsset
...
use render thread methods for lights
2025-01-07 08:25:48 +08:00
Nick Fisher
744e39e8dd
fix: move removeIbl to render thread
2025-01-07 08:25:48 +08:00
Nick Fisher
baf86d1ade
refactor!: move light methods from FilamentViewer to SceneManager/TLightManager and rename clearLights/clearAssets to destroyLights/destroyAssets
2025-01-07 08:25:48 +08:00
Nick Fisher
3e181b6aff
fix: allow destroying instances independently of owner
2025-01-07 08:25:48 +08:00
Nick Fisher
cc1b55b6c9
internal: remove vertexScale from unlit material and multiply by alpha
2025-01-07 08:25:48 +08:00
Nick Fisher
7717387909
internal: remove bounding box asset when parent asset removed
2025-01-07 08:25:48 +08:00
Nick Fisher
d9338f4341
chore: test fixes
2025-01-07 08:25:48 +08:00
Nick Fisher
8d8acef481
feat: remove bounding box from SceneAsset and create renderable wireframe bounding box in ThermionAsset
2025-01-07 08:25:48 +08:00
Nick Fisher
7cf1468f38
feat: more rotation gizmo improvements
2025-01-07 08:25:48 +08:00
Nick Fisher
981fd63963
update overlay tests
2025-01-07 08:25:48 +08:00
Nick Fisher
600ab1ad28
update tests
2025-01-07 08:25:48 +08:00
Nick Fisher
c2077cb6b1
fix: store reference to material instances in ThermionViewer so they can be cleaned up on dispose
2025-01-07 08:25:48 +08:00
Nick Fisher
ed444b0615
feature!:
...
This is a breaking change needed to fully implement instancing and stencil highlighting.
Previously, users would work directly with entities (on the Dart side, ThermionEntity), e.g.
final entity = await viewer.loadGlb("some.glb");
However, Filament "entities" are a lower-level abstraction.
Loading a glTF file, for example, inserts multiple entities into the scene.
For example, each mesh, light, and camera within a glTF asset will be assigned an entity. A top-level (non-renderable) entity will also be created for the glTF asset, which can be used to transform the entire hierarchy.
"Asset" is a better representation for loading/inserting objects into the scene; think of this as a bundle of entities.
Unless you need to work directly with transforms, instancing, materials and renderables, you can work directly with ThermionAsset.
2024-11-27 15:02:37 +11:00