ai2thor
ai2thor copied to clipboard
mesh or point cloud of the object
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!
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
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?
@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!