Skip to content

Merge textures from loaded models #4

@antoinemacia

Description

@antoinemacia

Hello!

I would love to use this library to optimise our platform, though testing this on gltf models loaded in THREE, it seems the uv mapping is all over the place (Im using the code from the example, so via replacing uv rather than via the shader)

Screen Shot 2022-05-26 at 6 44 41 pm

Source file: out20211113-51-1jy7lkz-v1.glb.zip

I believe the UV coordinates range for the source object is not normalised (far lower than -1 and far greater than 1), and the UV range Im getting after running the lib is something like

{ startU: 0, endU: 1, startV:1, endV: 0} 

Does this seem right to you? Also, would you have a way to handle arbitrary UV coordinates range?

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