Skip to content

function "join_meshes_as_scene" produces wrong UV coordinates #826

@WhoTHU

Description

@WhoTHU

It seems that the function join_meshes_as_scene produces weird results.
I joined several single meshes as a whole mesh by running:

mesh = p3d.structures.join_meshes_as_scene(meshes)

where "meshes" is a list of meshes with textures. However, when I render "mesh", it comes to this
image

But it is supposed to be
image
which I got by joining these meshes manually

I checked the map of the new mesh:
image

It seems that the black area on the body results from the black area on the texture map. The function may mistake the transformed UV coordinates.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions