Cameras
A Camera
defines a position and view direction
for rendering the scene.

A new camera can be instantiated as follows:
scene = load_scene(rt.scene.munich)
cam = Camera(position=(200., 0.0, 50.))
cam.look_at((0.0,0.0,0.0))
scene.render(cam)

- class sionna.rt.Camera(position, orientation=(0.0, 0.0, 0.0), look_at=None)[source]
Camera defining a position and view direction for rendering a scene
In its local coordinate system, a camera looks toward the positive X-axis with the positive Z-axis being the upward direction.
- Parameters:
position – Position
[m] as three-dimensional vectororientation – Orientation
specified through three angles corresponding to a 3D rotation as defined in (3). This parameter is ignored iflook_at
is not None.look_at – A position or object to look at. If set to None, then
orientation
is used to orient the device.
- look_at(target)[source]
Sets the orientation so that the camera looks at a position, scene object, or radio device
Given a point
with spherical angles and , the orientation of the camera will be set equal to .- Parameters:
target (
sionna.rt.radio_devices.radio_device.RadioDevice
|sionna.rt.scene_object.SceneObject
|mitsuba.Point3f
) – A position or object to look at.- Return type:
None
- property orientation
Get/set the orientation
- Type:
mi.Point3f
- property position
Get/set the position
- Type:
mi.Point3f