PhysCameraParameters Struct Reference
Description
The parameters needed to define a physics-based camera.
#include <ChOptixDefinitions.h>
Collaboration diagram for PhysCameraParameters:

Public Attributes | |
| float | hFOV |
| horizontal field of view | |
| CameraLensModelType | lens_model |
| lens model to use | |
| LensParams | lens_parameters |
| lens fitting parameters (if applicable) | |
| unsigned int | super_sample_factor |
| number of samples per pixel in each dimension | |
| float | gamma |
| camera's gamma value | |
| bool | use_gi |
| whether also consider diffuse reflection. If false, only consider specular reflection. | |
| bool | use_denoiser |
| whether use OptiX denoiser on the rendered image | |
| bool | use_fog |
| whether to use the scene fog model | |
| float | aperture_num |
| F-number (or aperture number) = focal_length / aperture_diameter, [1/1]. | |
| float | expsr_time |
| exposure time, [sec] | |
| float | ISO |
| ISO exposure gain, [1/1]. | |
| float | focal_length |
| focal length, [m] | |
| float | focus_dist |
| focus distance, [m] | |
| float | max_scene_light_amount |
| maximum light amount in the scene, [lumen] | |
| float | sensor_width |
| equivalent width of the image sensor, [m] | |
| float | pixel_size |
| length of a pixel, [m] | |
| PhysCameraGainParams | gain_params |
| gain parameters in camera model, [1/1] | |
| PhysCameraNoiseParams | noise_params |
| noise model parameters in camera model | |
| half4 * | rgbd_buffer |
| buffer in RGBD format for camera pixels and distance map | |
| half4 * | albedo_buffer |
| the material color of the first hit. Only initialized if using global illumination | |
| half4 * | normal_buffer |
| The screen-space normal of the first hit. More... | |
| curandState_t * | rng_buffer |
| The random number generator object. Only initialized if using global illumination. | |
| Integrator | integrator |
| the integrator algorithm to use for rendering | |
Member Data Documentation
◆ normal_buffer
| half4* PhysCameraParameters::normal_buffer |
The screen-space normal of the first hit.
Only initialized if using global illumination (screenspace normal)
The documentation for this struct was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_sensor/optix/ChOptixDefinitions.h