You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- rename interface `ITreeMember` to `ISvelthreeGLTFTreeMapMember`
- `GLTF` is now passed via constructor, e.g. `const foo: SvelthreeGLTF = new SvelthreeGLTF(loaded_gltf_file: GLTF)`
- `apply(...)` now uses a `Canvas` component reference instead of a `Canvas` DOM Element.
- various `strict: true` related changes (due to `strict: true` in the SvelteKit tests project, see also #153 )
Test extensively & refactor, this has to bulletproof for
next.1
Noticed (issues) during testing:
SvelthreeGLTF
and related types (related to using"strict": true
intsconfig.json
+ dx)LoadedGLTF
tests (generated components) seeSvelthreeGLTF.ts
+ x : manually created components have to be destroyed by hand! #100Test: (twice) set
target
to a component reference + settarget
tofalse
SpotLight
Mesh
Object3D
Group
Scene
PointLight
SpotLight
DirectionalLight
OrthographicCamera
PerspectiveCamera
LoadedGLTF
Points
DirectionalLight
Mesh
Object3D
Group
Scene
PointLight
SpotLight
DirectionalLight
OrthographicCamera
PerspectiveCamera
LoadedGLTF
Points
Test: (twice) set
target
to component's three.js instance reference + settarget
tofalse
SpotLight
Mesh
Object3D
Group
Scene
PointLight
SpotLight
DirectionalLight
OrthographicCamera
PerspectiveCamera
LoadedGLTF
Points
DirectionalLight
Mesh
Object3D
Group
Scene
PointLight
SpotLight
DirectionalLight
OrthographicCamera
PerspectiveCamera
LoadedGLTF
Points
Test: (twice) set
target
to a premade / manually added three.js instance + settarget
tofalse
SpotLight
Mesh
Object3D
Group
Scene
PointLight
SpotLight
DirectionalLight
OrthographicCamera
PerspectiveCamera
(separate test targeting objects inside a complex loaded GLTF)LoadedGLTF
Points
DirectionalLight
Mesh
Object3D
Group
Scene
PointLight
SpotLight
DirectionalLight
OrthographicCamera
PerspectiveCamera
(separate test targeting objects inside a complex loaded GLTF)LoadedGLTF
Points
Test: (twice) set
target
to a nested (grouped) component reference + settarget
tofalse
SpotLight
<Group>
)Mesh
<Object3D>
)Mesh
<Mesh>
)Mesh
DirectionalLight
<Group>
)Mesh
<Object3D>
)Mesh
<Mesh>
)Mesh
Test: (twice) set
target
to an object inside a complex loaded GLTF + settarget
tofalse
SpotLight
LoadedGLTF
component (just loaded): iterate throughLoadedGLTF
component'scontainer
instance's children (three.js instances) and set them astarget
.LoadedGLTF
component (loaded + generated): iterate through generatedsvelthree
components and set them astarget
.LoadedGLTF
component (loaded + generated): iterate through generatedsvelthree
components' three.js instances and set them astarget
.THREE.GLTFLoader
only, add it to the scene, iterate through GLTF container's children (three.js instances) and set them astarget
.DirectionalLight
LoadedGLTF
component (just loaded): iterate throughLoadedGLTF
component'scontainer
instance's children (three.js instances) and set them astarget
.LoadedGLTF
component (loaded + generated): iterate through generatedsvelthree
components and set them astarget
.LoadedGLTF
component (loaded + generated): iterate through generatedsvelthree
components' three.js instances and set them astarget
.THREE.GLTFLoader
only, add it to the scene, iterate through GLTF container's children (three.js instances) and set them astarget
.The text was updated successfully, but these errors were encountered: