Skip to content

Vizi.Loader detect type of Mesh or manually assign type #3

@tranek

Description

@tranek

The Vizi.Loader currently creates all meshes of type THREE.Mesh. I'd like support for THREE.SkinnedMesh. So is it possible to detect the type of mesh that should be used based on the file? For example, if there are bones/animations, it should be a THREE.SkinnedMesh otherwise default to basic THREE.Mesh.

If that doesn't sound feasible or appropriate, then how would you feel about adding a parameter designating the type of mesh that gets passed into the Loader's constructor and propagated to the Vizi.Loader.prototype.handleModelLoaded function? Would doing that break anything?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions