ai2thor icon indicating copy to clipboard operation
ai2thor copied to clipboard

mesh or point cloud of the object

Open shsjxzh opened this issue 5 years ago • 3 comments

Hi, I am doing a project on 3d localization and what to know if I can get the mesh or the point cloud of the objects (like table) in the scene. Thanks!

shsjxzh avatar Aug 15 '19 19:08 shsjxzh

We currently don't support the functionality to return mesh information through the Python controller. To get mesh information, you will need to write a custom Unity script to read or manipulate mesh information, you can refer to this: https://docs.unity3d.com/ScriptReference/Mesh.html

Additionally you can access a mesh's vertices with this: https://docs.unity3d.com/ScriptReference/Mesh-vertices.html

winthos avatar Aug 15 '19 21:08 winthos

Thanks for reply! What I want to know is the size, or the space of certain objects, like how big the desk is. Could I find it in any code files in the unity folder?

shsjxzh avatar Aug 16 '19 03:08 shsjxzh

@winthos Hi, I am not very familiar with Unity. Can you elaborate on how to add a custom Unity script to AI2Thor to get mesh information? Thanks!

liqi0126 avatar Aug 25 '21 07:08 liqi0126