1.3.77
 
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 any_hit_direct ()
 
RT_PROGRAM void any_hit_diffuse ()
 
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

◆ any_hit_diffuse()

RT_PROGRAM void any_hit_diffuse ( )

Definition at line 717 of file rayHit.cu.

◆ any_hit_direct()

RT_PROGRAM void any_hit_direct ( )

Definition at line 641 of file rayHit.cu.

◆ closest_hit_camera()

RT_PROGRAM void closest_hit_camera ( )

Definition at line 345 of file rayHit.cu.

◆ closest_hit_diffuse()

RT_PROGRAM void closest_hit_diffuse ( )

Definition at line 160 of file rayHit.cu.

◆ closest_hit_direct()

RT_PROGRAM void closest_hit_direct ( )

Definition at line 124 of file rayHit.cu.

◆ closest_hit_pixel_label()

RT_PROGRAM void closest_hit_pixel_label ( )

Definition at line 588 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 875 of file rayHit.cu.

◆ miss_camera()

RT_PROGRAM void miss_camera ( )

Definition at line 992 of file rayHit.cu.

◆ miss_diffuse()

RT_PROGRAM void miss_diffuse ( )

Definition at line 907 of file rayHit.cu.

◆ miss_direct()

RT_PROGRAM void miss_direct ( )

Definition at line 787 of file rayHit.cu.

◆ miss_pixel_label()

RT_PROGRAM void miss_pixel_label ( )

Definition at line 1074 of file rayHit.cu.