[Question] Differences in camera image in Isaac Lab and Isaac Sim for the same settings #3258
Replies: 3 comments
-
Thank you for posting this. How are you setting the render_product = rep.create.render_product(camera, (1280, 960)) Could you try the following? this may be all is necessary for Isaac Sim to match the import omni.replicator.core as rep
# Camera creation with matching intrinsics and pose
camera = rep.create.camera(
focal_length=1.93,
focus_distance=0.8,
horizontal_aperture=3.896,
clipping_range=(0.1, 1000000) # Set to a wide range; adjust if needed
)
# Set camera pose using quaternion rotation (x, y, z, w)
with camera:
rep.modify.pose(
position=(1.0, 0.0, 1.85),
rotation=(-0.24184, 0.66446, 0.66446, -0.24184) # Quaternion (x, y, z, w)
)
# Create the render product with desired resolution (width, height)
render_product = rep.create.render_product(camera, (1280, 960)) |
Beta Was this translation helpful? Give feedback.
-
Hi @RandomOakForest, Thank you for the suggestion. Yes, my I don't think the rotation is an issue here. It is clear from the two photos I shared that the zoom is different in both cases. |
Beta Was this translation helpful? Give feedback.
-
Thank you for following up. I'm going to move this post to our Discussions section to continue and for others to contribute. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a certain project where I am creating a camera in Isaac Lab. I have another project where I am creating the same camera in an Isaac Sim Replicator script. The camera settings are identical as shown in the code below:
Isaac Sim:
Isaac Lab:
The orientations and positions of the cameras are the same. And, I have created scenes in both the Isaac Sim and Isaac Lab projects which are identical too (apart from the configuration of the robot and the number of objects on the tray of course). The comparison between these can be seen in the photos below.
My question: Why are these two cameras showing different views in terms of zoom, viewport etc? All camera properties seem to be the same, and the image dimensions too.
Note: The vertical apertures are not the same, but I saw and changing them makes no difference to the view.
Isaac Lab:

Isaac Sim: (replicator script)

Beta Was this translation helpful? Give feedback.
All reactions