Skip to content

Update code base to work with modern three.js releases #158

Description

@sevenbitbyte

three.js is currently at version 0.84.0 but ros3d requires version 61. Attempting to use a modern threejs version results in the below warnings and errors. There are likely many more minor tweaks require beyond these:

THREE.WebGLRenderer: .shadowMapEnabled is now .shadowMap.enabled.
THREE.Projector has been moved to /examples/js/renderers/Projector.js.
THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.
THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead.
THREE.ShaderMaterial: 'attributes' is not a property of this material.
THREE.ParticleSystem has been renamed to THREE.Points.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions