I am using Nvidia Omniverse Isaac Sim on Ubuntu. Sometimes it is hard to visualize some parts of my scene since the default perspective camera crops the objects when I zoom in. I was wondering if it is possible to avoid that behavior.
Hi! seems to be an issue with viewport clipping. I havenāt found a way to change the camera clipping but there is a chance that your model scale is too small. Check by making a cube, that 1 unit cube in most cases should be 1 meter.
Hope this helps!
Hi! Thank you for your comment. I am using one meter per unit. I added a sphere with a radius of one unit and looks like my model is on the right scale. When I increase the scale of my model by 10, the clipping problem is quite attenuated. But the robotās behavior changes. I was wondering if it is possible to change the scale of the camera instead of changing the scale of all objects.
@juanjqo, by any chance, did you find a solution? @ltorabi Iām trying to train a Deep RL model, and the cameras generated with code have the same problem besides the documentation did not point out how to change the clipping range. Do you have any suggestions?
kindly,
magokeanu
[update - 4/8]
The example code for stable baselines 3 uses a legacy version of the viewport. Ok, that works in execution, but the clipping range occurs. Viewing the frequently used python snippets, I noticed that the cameraās examples use just viewport from Omni.kit, but when Iām trying to execute it, an error pop-outs in the terminal:
Hi @magokeanu. I did not find a solution. But I mitigated the problem using bigger models. My robot is now ten times bigger (I did so by changing the scale in all three axes, x, y, and z). Now, I am able to zoom in to look closer than before.
But testing different values nothing changes, I think I figure out the problem, the created camera has no clipping maps. When I ask for them the function returns an empty vector, maybe is possible to create one (or two) and set the attribute in a similar manner of clipping range. If I succeed Iāll let you know here, this is a bad-ass update for Isaac Sim, the camera thing is a pity.