#include <optix_world.h>#include <optixu/optixu_math_namespace.h>#include <optixu/optixu_matrix_namespace.h>#include "RayTracing.cuh"#include "BufferIndexing.h"Go to the source code of this file.
Functions | |
| rtDeclareVariable (optix::Ray, ray, rtCurrentRay,) | |
| rtDeclareVariable (float, t_hit, rtIntersectionDistance,) | |
| rtDeclareVariable (PerRayData, prd, rtPayload,) | |
| rtDeclareVariable (unsigned int, UUID, attribute UUID,) | |
| RT_PROGRAM void | closest_hit_direct () |
| RT_PROGRAM void | closest_hit_diffuse () |
| RT_PROGRAM void | closest_hit_camera () |
| RT_PROGRAM void | closest_hit_pixel_label () |
| RT_PROGRAM void | miss_direct () |
| __device__ float | evaluateDiffuseAngularDistribution (const float3 &ray_dir, const float3 &peak_dir, float power_law_K, float power_law_norm, const float4 &prague_params) |
| RT_PROGRAM void | miss_diffuse () |
| RT_PROGRAM void | miss_camera () |
| RT_PROGRAM void | miss_pixel_label () |
Functions for object intersection.
Copyright (C) 2016-2026 Brian Bailey
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Definition in file rayHit.cu.
| __device__ float evaluateDiffuseAngularDistribution | ( | const float3 & | ray_dir, |
| const float3 & | peak_dir, | ||
| float | power_law_K, | ||
| float | power_law_norm, | ||
| const float4 & | prague_params | ||
| ) |