Skip to content

Mesh color not displayed when loading PLY/OBJ with SAPIEN #267

@pioneer-innovation

Description

@pioneer-innovation

@fbxiang Hi! I have several mesh models stored in PLY and OBJ formats, with vertex colors preserved.
These models were exported from CloudCompare and MeshLab.

When I load them into SAPIEN , the geometry appears correctly, but all colors are missing — the mesh shows up in plain gray.

this is my loading code:

builder = self.sim.scene.create_actor_builder()
builder.add_visual_from_file(filename=self.scene_visual_path)
mesh = builder.build(name="mesh")
mesh.set_pose(sapien.Pose(p=[-0.2, 0, 1.0 + 0.05]))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions