1.3.49
 
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"

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 ()
 
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-2025 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 218 of file rayHit.cu.

◆ closest_hit_diffuse()

RT_PROGRAM void closest_hit_diffuse ( )

Definition at line 62 of file rayHit.cu.

◆ closest_hit_direct()

RT_PROGRAM void closest_hit_direct ( )

Definition at line 31 of file rayHit.cu.

◆ closest_hit_pixel_label()

RT_PROGRAM void closest_hit_pixel_label ( )

Definition at line 348 of file rayHit.cu.

◆ miss_camera()

RT_PROGRAM void miss_camera ( )

Definition at line 524 of file rayHit.cu.

◆ miss_diffuse()

RT_PROGRAM void miss_diffuse ( )

Definition at line 440 of file rayHit.cu.

◆ miss_direct()

RT_PROGRAM void miss_direct ( )

Definition at line 391 of file rayHit.cu.

◆ miss_pixel_label()

RT_PROGRAM void miss_pixel_label ( )

Definition at line 546 of file rayHit.cu.