Hi, I'm a student and I'm trying to use MuJoCo for visual simulation and servo control.
My simulation environment is small, so I need to make the camera's observable space very limited. I am restricting the camera's field of view using the znear, zfar, and extent parameters.
In my model, there are two types of cameras: one is horizontal, and the other is tilted. After limiting the field of view, the rendering of the tilted camera becomes incomplete. Only the lower half displays a normal image, while the upper half may render the scene.
When there are no restrictions, the image looks like this:
When the restrictions are applied, the image looks like this. The upper half of the image displays almost nothing, with only a small part of the scene visible.
I increased the zfar value, which alleviated the issue to some extent, but a significant portion of the scene is still not visible.
Additionally, this issue seems to occur only with the tilted camera, and not with the horizontal camera.
Here is a model which explains my question:
minimal XML
```XML
```
I want to know if there are parameters I haven't set correctly or if this is a bug.
Hi, I'm a student and I'm trying to use MuJoCo for visual simulation and servo control.
My simulation environment is small, so I need to make the camera's observable space very limited. I am restricting the camera's field of view using the
znear
,zfar
, andextent
parameters.In my model, there are two types of cameras: one is horizontal, and the other is tilted. After limiting the field of view, the rendering of the tilted camera becomes incomplete. Only the lower half displays a normal image, while the upper half may render the scene.
When there are no restrictions, the image looks like this:
When the restrictions are applied, the image looks like this. The upper half of the image displays almost nothing, with only a small part of the scene visible.
I increased the zfar value, which alleviated the issue to some extent, but a significant portion of the scene is still not visible.
Additionally, this issue seems to occur only with the tilted camera, and not with the horizontal camera.
![图片](https://github.com/google-deepmind/mujoco/assets/119031680/c3b1560b-472a-4a7b-b234-2c48614cd4e9)
Here is a model which explains my question:
minimal XML
```XMLI want to know if there are parameters I haven't set correctly or if this is a bug.
Thanks a lot for your help.