Skip to content

Bring o3d.t.geometry.TriangleMesh to parity with legacy TriangleMesh #7137

Open
@joseph-sch

Description

@joseph-sch

Checklist

Proposed new feature or change

The following methods that are present in the legacy API are missing in the tensor API o3d.t.geometry.TriangleMesh:

  • subdivide_midpoint()
  • paint_uniform_color()
  • addition operator +, and addition assignment operator +=

Moreover, the following C++ functions (at least) are not bound in Python, and would be useful:

  • GetVertexPositions
  • GetVertexNormals
  • GetVertexColors
  • GetTriangleNormals
  • GetTriangleColors

I believe that making sure the tensor API does not lack anything from the legacy API is key to enable widespread transition, isn't it?

References

No response

Additional information

There is confusion among many, e.g. #6060 (comment), #6130, about the tensor vs. legacy APIs.

Also, the documentation is often lacking, e.g. the tutorial covers explicitly only the PointCloud part of the tensor Geomery API, not TriangleMesh part:

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions