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

Use Open3d renderer for example gallery #95

Open
AlexanderFabisch opened this issue Jan 12, 2021 · 0 comments
Open

Use Open3d renderer for example gallery #95

AlexanderFabisch opened this issue Jan 12, 2021 · 0 comments

Comments

@AlexanderFabisch
Copy link
Member

AlexanderFabisch commented Jan 12, 2021

Example from release 0.12:

box = o3d.geometry.TriangleMesh.create_box(2, 2, 1)
render = rendering.OffscreenRenderer(640, 480)
render.scene.add_geometry("box", box, grey)
render.scene.camera.look_at([0, 0, 0], [0, 10, 0], [0, 0, 1])
img = render.render_to_image()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant