32 #include <mesh/MeshStorage.h> 33 #include <cugar/basic/vector.h> 37 #include <vtl_mesh_view.h> 46 void init(
const uint32 n_vpls,
RenderingContext& renderer,
const uint32 instance = 0);
56 uint32 get_bvh_nodes_count()
const {
return uint32(bvh_nodes.size()); }
57 uint32 get_bvh_clusters_count()
const {
return uint32(bvh_clusters.size()); }
62 const uint32* get_bvh_cluster_offsets()
const {
return cugar::raw_pointer(bvh_cluster_offsets); }
70 float normalization_coeff;
85 void init(
const uint32 n_vpls,
RenderingContext& renderer,
const uint32 instance = 0);
90 uint32( vtls.size() ),
97 uint32 get_bvh_nodes_count()
const {
return uint32(bvh_nodes.size()); }
98 uint32 get_bvh_clusters_count()
const {
return uint32(bvh_clusters.size()); }
103 const uint32* get_bvh_cluster_offsets()
const {
return cugar::raw_pointer(bvh_cluster_offsets); }
109 float normalization_coeff;
Entry point to the generic Bounding Volume Hierarchy library.
Definition: bvh_node.h:80
T * raw_pointer(thrust::device_vector< T, Alloc > &vec)
Definition: thrust_view.h:69
Defines various spherical mappings.
Definition: mesh_lights_impl.h:41
Definition: vtl_mesh_view.h:40
Definition: MeshView.h:96
Definition: renderer.h:52
Definition: texture_view.h:73
Definition: mesh_lights_impl.h:80