chrono::sensor::ChVulkanRTScene Class Reference
Description
Staging scene for the Vulkan backend.
This object mirrors the public ChScene methods used by existing Sensor demos while collecting a compact renderable representation. The representation is intentionally independent from OptiX/CUDA and can feed either the Vulkan RT BLAS/TLAS builder or the host fallback used for bring-up/testing.
#include <ChVulkanRTScene.h>
Public Member Functions | |
| void | SyncFromSystem (ChSystem *system) |
| const ChVulkanRTSceneStats & | GetStats () const |
| uint64_t | GetRevision () const |
| const std::vector< ChVulkanRTPrimitive > & | GetPrimitives () const |
| void | SetAmbientLight (const ChVector3f &color) |
| const ChVector3f & | GetAmbientLight () const |
| void | SetBackground (const Background &background) |
| const Background & | GetBackground () const |
| unsigned int | AddPointLight (ChVector3f pos, ChColor color, float max_range, bool const_color=true) |
| unsigned int | AddDirectionalLight (const ChVector3f &dir, const ChVector3f &color) |
| unsigned int | AddDirectionalLight (ChColor color, float elevation, float azimuth) |
| unsigned int | AddSpotLight (const ChVector3f &pos, const ChVector3f &dir, const ChVector3f &color, float range, float angle) |
| unsigned int | AddSpotLight (ChVector3f pos, ChColor color, float max_range, ChVector3f light_dir, float angle_falloff_start, float angle_range, bool const_color=true) |
| unsigned int | AddRectangleLight (ChVector3f pos, ChColor color, float max_range, ChVector3f length_vec, ChVector3f width_vec, bool const_color=true) |
| unsigned int | AddDiskLight (ChVector3f pos, ChColor color, float max_range, ChVector3f light_dir, float radius, bool const_color=true) |
| unsigned int | AddEnvironmentLight (const std::string &env_tex, const ChVector3f &color=ChVector3f(1.f, 1.f, 1.f)) |
| unsigned int | AddEnvironmentLight (std::string env_tex_path, float intensity_scale) |
| void | SetLights (const std::vector< ChVulkanRTLight > &lights) |
| void | ClearLights () |
| const std::vector< ChVulkanRTLight > & | GetLights () const |
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_sensor/vulkan/ChVulkanRTScene.h
- /builds/uwsbel/chrono/src/chrono_sensor/vulkan/ChVulkanRTScene.cpp