isl-org / isl-org/Open3D

How to set the near_clip and far_clip values while using setup_camera(intrinsics, extrinsic_matrix) for OffscreenRenderer?

Open
#7,144 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [x] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [x] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [x] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).

### My Question

I'm using `open3d.visualization.rendering.OffscreenRenderer` and set the intrinsic and extrinsic parameters using this method.
```
setup_camera(self: open3d.visualization.rendering.OffscreenRenderer, intrinsics: open3d.camera.PinholeCameraIntrinsic, extrinsic_matrix: numpy.ndarray[numpy.float64[4, 4]]) -> None
```
After using this method, the `near_clip` and `far_clip` were set to `0.1` and `1.0` respectively.

So some geometries located at far distance were not rendered.

Is there any way to set the `far_clip` value without modifying the previously set intrinsic and extrinsic parameters?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.