threlte

3D framework for Svelte

MIT License

Downloads
40.4K
Stars
2.1K
Committers
53

Bot releases are visible (Hide)

threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 20ed409: Expose Props, Events and Slots type to move forward with v5 syntax exposure and abstraction abilities
threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 5e475db: More robust rendering of props
threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • ff8ae66: Added optimizations to check if the \$\$restProps actually changed
  • c969ea4: Rolling back changes about base props. Changing a base prop and a restProp would NOT update the restProp, which is undesirable
threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • 5a98c4f: Add support for glTF Meshopt decoding
threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 920c040: Fixed a bug where the cameras updater would run on size changes
threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • 0fa8d16: Added overload to useGltfAnimations to set the root of an animation
threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 7b3aced: Prop types should be optional
threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Major Changes

threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • f0449df: Pass the default THREE.DefaultLoadingManager to all relevant loaders
threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • f0449df: Pass the default THREE.DefaultLoadingManager to all relevant loaders
  • b0bea2e: The component <Environment> can attach to the immediate parent if the parent is a THREE.Scene
threlte - @threlte/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • 060798a: Stronger types on typed threlte GLTF-related modules. This is technically a breaking change but it's types only.
    This is a change that prepares threlte's type system for glTF code generators.

    Upgrade Plan

    • Before:
    const { gltf } = useGltf<'MeshA' | 'MeshB' | 'Object3DA', 'MaterialA' | 'MaterialB'>('/some/url')
    
    // -> $gltf.nodes.MeshA -> THREE.Object3D
    // -> $gltf.nodes.Object3DA -> THREE.Object3D
    // -> $gltf.materials.MaterialA -> THREE.Material
    
    • After:
    const { gltf } = useGltf<{
      nodes: {
        MeshA: THREE.Mesh
        MeshB: THREE.Mesh
        Object3DA: THREE.Object3D
      }
      materials: {
        MaterialA: THREE.MeshStandardMaterial
        MaterialB: THREE.MeshBasicMaterial
      }
    }>('/some/url')
    
    // -> $gltf.nodes.MeshA -> THREE.Mesh
    // -> $gltf.nodes.Object3DA -> THREE.Object3D
    // -> $gltf.materials.MaterialA -> THREE.MeshStandardMaterial
    
threlte - @threlte/[email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • e91ce33: Environment - GroundProjection reactivity bugfix & docs update
threlte - @threlte/[email protected]

Published by github-actions[bot] about 2 years ago

Minor Changes

  • 3a0d3c6: Environment component
threlte - @threlte/[email protected]

Published by github-actions[bot] about 2 years ago

Minor Changes

  • d69391a: Add Attractor component and documentation
threlte - @threlte/[email protected]

Published by github-actions[bot] about 2 years ago

Minor Changes

  • 4b4d7be: Added rapiers damping properties to the component
threlte - @threlte/[email protected]

Published by github-actions[bot] about 2 years ago

Minor Changes

  • 8f1a904: Added a port of dreis <ContactShadows> component
threlte - @threlte/[email protected]

Published by github-actions[bot] about 2 years ago

Minor Changes

  • 4a94f6c: Added useDraco to GLTF component, and deprecated dracoDecoderPath
threlte - @threlte/[email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • c7e226f: useJoint is now exported and its types are fixed