1.3.64
 
Loading...
Searching...
No Matches
rayHit.cu File Reference
#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 ()
 

Detailed Description

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.

Function Documentation

◆ closest_hit_camera()

RT_PROGRAM void closest_hit_camera ( )

Definition at line 253 of file rayHit.cu.

◆ closest_hit_diffuse()

RT_PROGRAM void closest_hit_diffuse ( )

Definition at line 68 of file rayHit.cu.

◆ closest_hit_direct()

RT_PROGRAM void closest_hit_direct ( )

Definition at line 32 of file rayHit.cu.

◆ closest_hit_pixel_label()

RT_PROGRAM void closest_hit_pixel_label ( )

Definition at line 496 of file rayHit.cu.

◆ evaluateDiffuseAngularDistribution()

__device__ float evaluateDiffuseAngularDistribution ( const float3 &  ray_dir,
const float3 &  peak_dir,
float  power_law_K,
float  power_law_norm,
const float4 &  prague_params 
)

Definition at line 619 of file rayHit.cu.

◆ miss_camera()

RT_PROGRAM void miss_camera ( )

Definition at line 733 of file rayHit.cu.

◆ miss_diffuse()

RT_PROGRAM void miss_diffuse ( )

Definition at line 651 of file rayHit.cu.

◆ miss_direct()

RT_PROGRAM void miss_direct ( )

Definition at line 539 of file rayHit.cu.

◆ miss_pixel_label()

RT_PROGRAM void miss_pixel_label ( )

Definition at line 809 of file rayHit.cu.