Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mesh or point cloud of the object #277

Open
shsjxzh opened this issue Aug 15, 2019 · 3 comments
Open

mesh or point cloud of the object #277

shsjxzh opened this issue Aug 15, 2019 · 3 comments

Comments

@shsjxzh
Copy link

shsjxzh commented Aug 15, 2019

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!

@winthos
Copy link
Collaborator

winthos commented Aug 15, 2019

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

@shsjxzh
Copy link
Author

shsjxzh commented Aug 16, 2019

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?

@liqi0126
Copy link

liqi0126 commented Aug 25, 2021

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants