#include <optix.h>
#include <optixu/optixu_aabb_namespace.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 (Ray, ray, rtCurrentRay,) | |
rtDeclareVariable (PerRayData, prd, rtPayload,) | |
rtDeclareVariable (unsigned int, UUID, attribute UUID,) | |
RT_PROGRAM void | rectangle_intersect (int objID) |
RT_PROGRAM void | rectangle_bounds (int objID, float result[6]) |
RT_PROGRAM void | triangle_intersect (int objID) |
RT_PROGRAM void | triangle_bounds (int objID, float result[6]) |
RT_PROGRAM void | disk_intersect (int objID) |
RT_PROGRAM void | disk_bounds (int objID, float result[6]) |
RT_PROGRAM void | voxel_intersect (int objID) |
RT_PROGRAM void | voxel_bounds (int objID, float result[6]) |
RT_PROGRAM void | bbox_intersect (int objID) |
RT_PROGRAM void | bbox_bounds (int objID, float result[6]) |
RT_PROGRAM void | tile_intersect (int objID) |
RT_PROGRAM void | tile_bounds (int objID, float result[6]) |
"File containing OptiX ray-primitive intersection and bounding-box programs"
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 primitiveIntersection.cu.
RT_PROGRAM void bbox_bounds | ( | int | objID, |
float | result[6] | ||
) |
Axis-aligned bounding box program for bounding box rectangle primitives.
Definition at line 399 of file primitiveIntersection.cu.
RT_PROGRAM void bbox_intersect | ( | int | objID | ) |
OptiX ray-rectangle intersection program.
[in] | objID | index of primitive in geometric object. |
Definition at line 354 of file primitiveIntersection.cu.
RT_PROGRAM void disk_bounds | ( | int | objID, |
float | result[6] | ||
) |
Axis-aligned bounding box program for disk primitives.
Definition at line 247 of file primitiveIntersection.cu.
RT_PROGRAM void disk_intersect | ( | int | objID | ) |
OptiX ray-disk intersection program.
[in] | objID | index of primitive in geometric object. |
Definition at line 216 of file primitiveIntersection.cu.
RT_PROGRAM void rectangle_bounds | ( | int | objID, |
float | result[6] | ||
) |
Axis-aligned bounding box program for rectangle primitives.
Definition at line 112 of file primitiveIntersection.cu.
RT_PROGRAM void rectangle_intersect | ( | int | objID | ) |
OptiX ray-rectangle intersection program.
[in] | objID | index of primitive in geometric object. |
Definition at line 34 of file primitiveIntersection.cu.
RT_PROGRAM void tile_bounds | ( | int | objID, |
float | result[6] | ||
) |
Axis-aligned bounding box program for tile objects.
Definition at line 481 of file primitiveIntersection.cu.
RT_PROGRAM void tile_intersect | ( | int | objID | ) |
OptiX ray-tile intersection program.
[in] | objID | index of primitive in geometric object. |
Definition at line 414 of file primitiveIntersection.cu.
RT_PROGRAM void triangle_bounds | ( | int | objID, |
float | result[6] | ||
) |
Axis-aligned bounding box program for triangle primitives.
Definition at line 202 of file primitiveIntersection.cu.
RT_PROGRAM void triangle_intersect | ( | int | objID | ) |
OptiX ray-triangle intersection program.
[in] | objID | index of primitive in geometric object. |
Definition at line 127 of file primitiveIntersection.cu.
RT_PROGRAM void voxel_bounds | ( | int | objID, |
float | result[6] | ||
) |
Axis-aligned bounding box program for voxel primitives.
Definition at line 343 of file primitiveIntersection.cu.
RT_PROGRAM void voxel_intersect | ( | int | objID | ) |
OptiX ray-voxel intersection program.
[in] | objID | index of primitive in geometric object. |
Definition at line 258 of file primitiveIntersection.cu.