View navigation doesn't work with positive camera lookat z value
Issue #169
resolved
An issue that's been affecting me is that I want to set the lookat parameter of a camera to be something like +1.0. However, if I change it to anything non-negative, as soon as I click on the view to orbit or zoom it goes black. Presumably some mathematical error with the view navigation? There are other cases as well, where depending on the sign of the entries in pos and lookat, the view goes black. This affects me because the best camera location for me involves looking at (0, 0, 1.0).
<camera>
<pos> 0.01 -3.0 1.0</pos>
<lookat>0.01 0.0 -0.01</lookat>
<up>0 0 1</up>
<clip>0 100</clip>
<background>0 0 0</background>
</camera>
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Needs more details. Can't reproduce this as of now. Reopen if still doesn't work.
- Log in to comment
Works fine for me. Tested on the wam model: