Tachyon (current)  Current Main Branch
Data Structures | Macros | Functions | Variables
TachyonOptiXShaders.cu File Reference

Tachyon ray tracing engine core routines compiled to PTX for runtime JIT to build complete ray tracing pipelines. More...

#include <optix.h>
#include <stdint.h>
#include "TachyonOptiXShaders.h"

Go to the source code of this file.

Data Structures

struct  PerRayData_radiance
 

Macros

#define TACHYON_INTERNAL   1
 
#define TACHYON_USE_RAY_STEP   1
 
#define TACHYON_TRANS_USE_INCIDENT   1
 
#define TACHYON_RAY_STEP   N*rtLaunch.scene.epsilon*4.0f
 
#define TACHYON_RAY_STEP2   ray_direction*rtLaunch.scene.epsilon*4.0f
 
#define REVERSE_RAY_STEP   (scene_epsilon*10.0f)
 
#define REVERSE_RAY_LENGTH   3.0f
 
#define TACHYON_USE_SPHERES_HEARNBAKER   1
 

Functions

static __device__ __inline__ int tachyon1DLaunchIndex (void)
 Helper function to return 1-D framebuffer offset computed from the current thread's launch_index. More...
 
static __device__ __inline__ int tachyon1DLaunchIndex (uint3 dim, uint3 index)
 Helper function to return 1-D framebuffer offset computed from the current thread's launch_index. More...
 
static __forceinline__ __device__ void * unpackPointer (uint32_t i0, uint32_t i1)
 
static __forceinline__ __device__ void packPointer (void *ptr, uint32_t &i0, uint32_t &i1)
 
template<typename T >
static __forceinline__ __device__ T * getPRD ()
 
static __forceinline__ __device__ uint32_t getPayloadAAsample ()
 radiance PRD aasample count is stored in ray payload register 2 More...
 
static __forceinline__ __device__ float getPayloadShadowAttenuation ()
 any-hit programs read-modify-update shadow attenuation value carried in ray payload register 0 More...
 
static __forceinline__ __device__ void setPayloadShadowAttenuation (const float attenuation)
 any-hit programs read-modify-update shadow attenuation value carried in ray payload register 0 More...
 
static int __forceinline__ __device__ subframe_count ()
 
__device__ void sphere_fade_and_clip (const float3 &hit_point, const float3 &cam_pos, float fade_start, float fade_end, float &alpha)
 
__device__ void ray_sphere_clip_interval (float3 ray_origin, float3 ray_direction, float3 center, float rad, float2 &tinterval)
 
__device__ void clip_ray_by_plane (float3 ray_origin, float3 ray_direction, float &tmin, float &tmax, const float4 plane)
 
__global__ void __exception__all ()
 
__global__ void __closesthit__shadow_nop ()
 
__global__ void __miss__shadow_nop ()
 
__global__ void __anyhit__shadow_opaque ()
 
__global__ void __anyhit__shadow_transmission ()
 
__global__ void any_hit_shadow_clip_sphere ()
 
__global__ void __anyhit__radiance_nop ()
 
__global__ void __miss__radiance_solid_bg ()
 
__global__ void __miss__radiance_gradient_bg_sky_sphere ()
 
__global__ void __miss__radiance_gradient_bg_sky_plane ()
 
static void __inline__ __device__ accumulate_color (int idx, float4 colrgba4f)
 
static __device__ __inline__ void dof_ray (const float cam_dof_focal_dist, const float cam_dof_aperture_rad, const float3 &ray_origin_orig, float3 &ray_origin, const float3 &ray_direction_orig, float3 &ray_direction, unsigned int &randseed, const float3 &up, const float3 &right)
 
template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_perspective_general ()
 
__global__ void __raygen__camera_perspective ()
 
__global__ void __raygen__camera_perspective_dof ()
 
__global__ void __raygen__camera_perspective_stereo ()
 
__global__ void __raygen__camera_perspective_stereo_dof ()
 
template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_orthographic_general ()
 
__global__ void __raygen__camera_orthographic ()
 
__global__ void __raygen__camera_orthographic_dof ()
 
__global__ void __raygen__camera_orthographic_stereo ()
 
__global__ void __raygen__camera_orthographic_stereo_dof ()
 
template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_cubemap_general ()
 
__global__ void __raygen__camera_cubemap ()
 
__global__ void __raygen__camera_cubemap_dof ()
 
__global__ void __raygen__camera_cubemap_stereo ()
 
__global__ void __raygen__camera_cubemap_stereo_dof ()
 
template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_dome_general ()
 
__global__ void __raygen__camera_dome_master ()
 
__global__ void __raygen__camera_dome_master_dof ()
 
__global__ void __raygen__camera_dome_master_stereo ()
 
__global__ void __raygen__camera_dome_master_stereo_dof ()
 
template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_equirectangular_general ()
 
__global__ void __raygen__camera_equirectangular ()
 
__global__ void __raygen__camera_equirectangular_dof ()
 
__global__ void __raygen__camera_equirectangular_stereo ()
 
__global__ void __raygen__camera_equirectangular_stereo_dof ()
 
template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_octahedral_general ()
 
__global__ void __raygen__camera_octahedral ()
 
__global__ void __raygen__camera_octahedral_dof ()
 
__global__ void __raygen__camera_octahedral_stereo ()
 
__global__ void __raygen__camera_octahedral_stereo_dof ()
 
template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_oculus_rift_general ()
 
__global__ void __raygen__camera_oculus_rift ()
 
__global__ void __raygen__camera_oculus_rift_dof ()
 
__global__ void __raygen__camera_oculus_rift_stereo ()
 
__global__ void __raygen__camera_oculus_rift_stereo_dof ()
 
__global__ void __raygen__UNKNOWN ()
 
static __inline__ __device__ float3 calc_ffworld_normal (const float3 &Nshading, const float3 &Ngeometric)
 
__global__ void __intersection__cone_array_color ()
 
static __host__ __device__ __inline__ void get_shadevars_cone_array (const GeomSBTHG &sbtHG, float3 &shading_normal)
 
__global__ void __intersection__cylinder_array_color ()
 
static __host__ __device__ __inline__ void get_shadevars_cylinder_array (const GeomSBTHG &sbtHG, float3 &shading_normal)
 
__global__ void __intersection__quadmesh ()
 
static __host__ __device__ __inline__ void quad_calc_barycentrics_v11 (const GeomSBTHG &sbtHG, float &alpha11, float &beta11)
 
static __host__ __device__ __inline__ void quad_calc_bilinear_coords (const GeomSBTHG &sbtHG, const float alpha, const float beta, const float &alpha11, const float &beta11, float &u, float &v)
 
static __host__ __device__ __inline__ void get_shadevars_quadmesh (const GeomSBTHG &sbtHG, float3 &hit_color, float3 &shading_normal)
 
__global__ void __intersection__ring_array ()
 
static __host__ __device__ __inline__ void get_shadevars_ring_array (const GeomSBTHG &sbtHG, float3 &shading_normal)
 
static __host__ __device__ __inline__ void sphere_intersect_hearn_baker (float3 center, float rad)
 
__global__ void __intersection__sphere_array ()
 
static __host__ __device__ __inline__ void get_shadevars_sphere_array (const GeomSBTHG &sbtHG, float3 &shading_normal)
 
static __host__ __device__ __inline__ void get_shadevars_trimesh (const GeomSBTHG &sbtHG, float3 &hit_color, float &hit_alpha, float3 &shading_normal)
 
static __device__ __forceinline__ float fog_coord (float3 hit_point)
 
static __device__ __forceinline__ float3 fog_color (float fogmod, float3 hit_col)
 
static __device__ float shade_ambient_occlusion (float3 hit, float3 N, float aoimportance)
 
template<int SHADOWS_ON>
static __device__ __inline__ void shade_light (float3 &result, float3 &hit_point, float3 &N, float3 &L, float p_Kd, float p_Ks, float p_phong_exp, float3 &col, float3 &phongcol, float shadow_tmax)
 scene-wide shading property More...
 
template<int CLIP_VIEW_ON, int HEADLIGHT_ON, int FOG_ON, int SHADOWS_ON, int AO_ON, int OUTLINE_ON, int REFLECTION_ON, int TRANSMISSION_ON>
static __device__ void shader_template (float3 prim_color, float3 N, float p_Ka, float p_Kd, float p_Ks, float p_phong_exp, float p_reflectivity, float p_opacity, float p_outline, float p_outlinewidth, int p_transmode)
 material-specific shading property More...
 
__global__ void __closesthit__radiance_general ()
 

Variables

__constant__ tachyonLaunchParams rtLaunch
 launch parameters in constant memory, filled by optixLaunch) More...
 

Detailed Description

Tachyon ray tracing engine core routines compiled to PTX for runtime JIT to build complete ray tracing pipelines.

Written for NVIDIA OptiX 7 and later.

Definition in file TachyonOptiXShaders.cu.

Macro Definition Documentation

◆ REVERSE_RAY_LENGTH

#define REVERSE_RAY_LENGTH   3.0f

Definition at line 105 of file TachyonOptiXShaders.cu.

Referenced by shade_ambient_occlusion(), and shade_light().

◆ REVERSE_RAY_STEP

#define REVERSE_RAY_STEP   (scene_epsilon*10.0f)

Definition at line 104 of file TachyonOptiXShaders.cu.

Referenced by shade_ambient_occlusion(), and shade_light().

◆ TACHYON_INTERNAL

#define TACHYON_INTERNAL   1

Definition at line 89 of file TachyonOptiXShaders.cu.

◆ TACHYON_RAY_STEP

#define TACHYON_RAY_STEP   N*rtLaunch.scene.epsilon*4.0f

Definition at line 100 of file TachyonOptiXShaders.cu.

Referenced by shade_ambient_occlusion(), shade_light(), and shader_template().

◆ TACHYON_RAY_STEP2

#define TACHYON_RAY_STEP2   ray_direction*rtLaunch.scene.epsilon*4.0f

Definition at line 101 of file TachyonOptiXShaders.cu.

Referenced by shader_template().

◆ TACHYON_TRANS_USE_INCIDENT

#define TACHYON_TRANS_USE_INCIDENT   1

Definition at line 99 of file TachyonOptiXShaders.cu.

◆ TACHYON_USE_RAY_STEP

#define TACHYON_USE_RAY_STEP   1

Definition at line 98 of file TachyonOptiXShaders.cu.

◆ TACHYON_USE_SPHERES_HEARNBAKER

#define TACHYON_USE_SPHERES_HEARNBAKER   1

Definition at line 109 of file TachyonOptiXShaders.cu.

Function Documentation

◆ __anyhit__radiance_nop()

__global__ void __anyhit__radiance_nop ( )

Definition at line 542 of file TachyonOptiXShaders.cu.

◆ __anyhit__shadow_opaque()

__global__ void __anyhit__shadow_opaque ( )

Definition at line 376 of file TachyonOptiXShaders.cu.

References setPayloadShadowAttenuation().

◆ __anyhit__shadow_transmission()

__global__ void __anyhit__shadow_transmission ( )

◆ __closesthit__radiance_general()

__global__ void __closesthit__radiance_general ( )

◆ __closesthit__shadow_nop()

__global__ void __closesthit__shadow_nop ( )

Definition at line 353 of file TachyonOptiXShaders.cu.

◆ __exception__all()

__global__ void __exception__all ( )

◆ __intersection__cone_array_color()

__global__ void __intersection__cone_array_color ( )

◆ __intersection__cylinder_array_color()

__global__ void __intersection__cylinder_array_color ( )

◆ __intersection__quadmesh()

__global__ void __intersection__quadmesh ( )

◆ __intersection__ring_array()

__global__ void __intersection__ring_array ( )

◆ __intersection__sphere_array()

__global__ void __intersection__sphere_array ( )

◆ __miss__radiance_gradient_bg_sky_plane()

__global__ void __miss__radiance_gradient_bg_sky_plane ( )

◆ __miss__radiance_gradient_bg_sky_sphere()

__global__ void __miss__radiance_gradient_bg_sky_sphere ( )

◆ __miss__radiance_solid_bg()

__global__ void __miss__radiance_solid_bg ( )

◆ __miss__shadow_nop()

__global__ void __miss__shadow_nop ( )

Definition at line 363 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_cubemap()

__global__ void __raygen__camera_cubemap ( )

Definition at line 1204 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_cubemap_dof()

__global__ void __raygen__camera_cubemap_dof ( )

Definition at line 1208 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_cubemap_stereo()

__global__ void __raygen__camera_cubemap_stereo ( )

Definition at line 1212 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_cubemap_stereo_dof()

__global__ void __raygen__camera_cubemap_stereo_dof ( )

Definition at line 1216 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_dome_master()

__global__ void __raygen__camera_dome_master ( )

Definition at line 1374 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_dome_master_dof()

__global__ void __raygen__camera_dome_master_dof ( )

Definition at line 1378 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_dome_master_stereo()

__global__ void __raygen__camera_dome_master_stereo ( )

Definition at line 1382 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_dome_master_stereo_dof()

__global__ void __raygen__camera_dome_master_stereo_dof ( )

Definition at line 1386 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_equirectangular()

__global__ void __raygen__camera_equirectangular ( )

Definition at line 1524 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_equirectangular_dof()

__global__ void __raygen__camera_equirectangular_dof ( )

Definition at line 1528 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_equirectangular_stereo()

__global__ void __raygen__camera_equirectangular_stereo ( )

Definition at line 1532 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_equirectangular_stereo_dof()

__global__ void __raygen__camera_equirectangular_stereo_dof ( )

Definition at line 1536 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_octahedral()

__global__ void __raygen__camera_octahedral ( )

Definition at line 1663 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_octahedral_dof()

__global__ void __raygen__camera_octahedral_dof ( )

Definition at line 1667 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_octahedral_stereo()

__global__ void __raygen__camera_octahedral_stereo ( )

Definition at line 1671 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_octahedral_stereo_dof()

__global__ void __raygen__camera_octahedral_stereo_dof ( )

Definition at line 1675 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_oculus_rift()

__global__ void __raygen__camera_oculus_rift ( )

Definition at line 1821 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_oculus_rift_dof()

__global__ void __raygen__camera_oculus_rift_dof ( )

Definition at line 1825 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_oculus_rift_stereo()

__global__ void __raygen__camera_oculus_rift_stereo ( )

Definition at line 1829 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_oculus_rift_stereo_dof()

__global__ void __raygen__camera_oculus_rift_stereo_dof ( )

Definition at line 1833 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_orthographic()

__global__ void __raygen__camera_orthographic ( )

Definition at line 1004 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_orthographic_dof()

__global__ void __raygen__camera_orthographic_dof ( )

Definition at line 1008 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_orthographic_stereo()

__global__ void __raygen__camera_orthographic_stereo ( )

Definition at line 1012 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_orthographic_stereo_dof()

__global__ void __raygen__camera_orthographic_stereo_dof ( )

Definition at line 1016 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_perspective()

__global__ void __raygen__camera_perspective ( )

Definition at line 875 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_perspective_dof()

__global__ void __raygen__camera_perspective_dof ( )

Definition at line 879 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_perspective_stereo()

__global__ void __raygen__camera_perspective_stereo ( )

Definition at line 883 of file TachyonOptiXShaders.cu.

◆ __raygen__camera_perspective_stereo_dof()

__global__ void __raygen__camera_perspective_stereo_dof ( )

Definition at line 887 of file TachyonOptiXShaders.cu.

◆ __raygen__UNKNOWN()

__global__ void __raygen__UNKNOWN ( )

Definition at line 1847 of file TachyonOptiXShaders.cu.

◆ accumulate_color()

static void __inline__ __device__ accumulate_color ( int  idx,
float4  colrgba4f 
)
static

◆ any_hit_shadow_clip_sphere()

__global__ void any_hit_shadow_clip_sphere ( )

◆ calc_ffworld_normal()

static __inline__ __device__ float3 calc_ffworld_normal ( const float3 &  Nshading,
const float3 &  Ngeometric 
)
static

◆ clip_ray_by_plane()

__device__ void clip_ray_by_plane ( float3  ray_origin,
float3  ray_direction,
float &  tmin,
float &  tmax,
const float4  plane 
)

Definition at line 247 of file TachyonOptiXShaders.cu.

References dot(), make_float3(), make_float4(), and RT_DEFAULT_MAX.

◆ dof_ray()

static __device__ __inline__ void dof_ray ( const float  cam_dof_focal_dist,
const float  cam_dof_aperture_rad,
const float3 &  ray_origin_orig,
float3 &  ray_origin,
const float3 &  ray_direction_orig,
float3 &  ray_direction,
unsigned int &  randseed,
const float3 &  up,
const float3 &  right 
)
static

◆ fog_color()

static __device__ __forceinline__ float3 fog_color ( float  fogmod,
float3  hit_col 
)
static

◆ fog_coord()

static __device__ __forceinline__ float fog_coord ( float3  hit_point)
static

◆ get_shadevars_cone_array()

static __host__ __device__ __inline__ void get_shadevars_cone_array ( const GeomSBTHG sbtHG,
float3 &  shading_normal 
)
static

◆ get_shadevars_cylinder_array()

static __host__ __device__ __inline__ void get_shadevars_cylinder_array ( const GeomSBTHG sbtHG,
float3 &  shading_normal 
)
static

◆ get_shadevars_quadmesh()

static __host__ __device__ __inline__ void get_shadevars_quadmesh ( const GeomSBTHG sbtHG,
float3 &  hit_color,
float3 &  shading_normal 
)
static

◆ get_shadevars_ring_array()

static __host__ __device__ __inline__ void get_shadevars_ring_array ( const GeomSBTHG sbtHG,
float3 &  shading_normal 
)
static

◆ get_shadevars_sphere_array()

static __host__ __device__ __inline__ void get_shadevars_sphere_array ( const GeomSBTHG sbtHG,
float3 &  shading_normal 
)
static

◆ get_shadevars_trimesh()

static __host__ __device__ __inline__ void get_shadevars_trimesh ( const GeomSBTHG sbtHG,
float3 &  hit_color,
float &  hit_alpha,
float3 &  shading_normal 
)
static

◆ getPayloadAAsample()

static __forceinline__ __device__ uint32_t getPayloadAAsample ( )
static

radiance PRD aasample count is stored in ray payload register 2

Definition at line 173 of file TachyonOptiXShaders.cu.

Referenced by shade_ambient_occlusion(), and shader_template().

◆ getPayloadShadowAttenuation()

static __forceinline__ __device__ float getPayloadShadowAttenuation ( )
static

any-hit programs read-modify-update shadow attenuation value carried in ray payload register 0

Definition at line 190 of file TachyonOptiXShaders.cu.

Referenced by __anyhit__shadow_transmission(), and any_hit_shadow_clip_sphere().

◆ getPRD()

template<typename T >
static __forceinline__ __device__ T* getPRD ( )
static

Definition at line 151 of file TachyonOptiXShaders.cu.

References unpackPointer().

◆ packPointer()

static __forceinline__ __device__ void packPointer ( void *  ptr,
uint32_t &  i0,
uint32_t &  i1 
)
static

◆ quad_calc_barycentrics_v11()

static __host__ __device__ __inline__ void quad_calc_barycentrics_v11 ( const GeomSBTHG sbtHG,
float &  alpha11,
float &  beta11 
)
static

◆ quad_calc_bilinear_coords()

static __host__ __device__ __inline__ void quad_calc_bilinear_coords ( const GeomSBTHG sbtHG,
const float  alpha,
const float  beta,
const float &  alpha11,
const float &  beta11,
float &  u,
float &  v 
)
static

◆ ray_sphere_clip_interval()

__device__ void ray_sphere_clip_interval ( float3  ray_origin,
float3  ray_direction,
float3  center,
float  rad,
float2 &  tinterval 
)

Definition at line 228 of file TachyonOptiXShaders.cu.

References dot(), and RT_DEFAULT_MAX.

◆ setPayloadShadowAttenuation()

static __forceinline__ __device__ void setPayloadShadowAttenuation ( const float  attenuation)
static

any-hit programs read-modify-update shadow attenuation value carried in ray payload register 0

Definition at line 196 of file TachyonOptiXShaders.cu.

Referenced by __anyhit__shadow_opaque(), __anyhit__shadow_transmission(), and any_hit_shadow_clip_sphere().

◆ shade_ambient_occlusion()

static __device__ float shade_ambient_occlusion ( float3  hit,
float3  N,
float  aoimportance 
)
static

◆ shade_light()

template<int SHADOWS_ON>
static __device__ __inline__ void shade_light ( float3 &  result,
float3 &  hit_point,
float3 &  N,
float3 &  L,
float  p_Kd,
float  p_Ks,
float  p_phong_exp,
float3 &  col,
float3 &  phongcol,
float  shadow_tmax 
)
static

◆ shader_template()

template<int CLIP_VIEW_ON, int HEADLIGHT_ON, int FOG_ON, int SHADOWS_ON, int AO_ON, int OUTLINE_ON, int REFLECTION_ON, int TRANSMISSION_ON>
static __device__ void shader_template ( float3  prim_color,
float3  N,
float  p_Ka,
float  p_Kd,
float  p_Ks,
float  p_phong_exp,
float  p_reflectivity,
float  p_opacity,
float  p_outline,
float  p_outlinewidth,
int  p_transmode 
)
static

◆ sphere_fade_and_clip()

__device__ void sphere_fade_and_clip ( const float3 &  hit_point,
const float3 &  cam_pos,
float  fade_start,
float  fade_end,
float &  alpha 
)

Definition at line 214 of file TachyonOptiXShaders.cu.

References length().

Referenced by any_hit_shadow_clip_sphere(), and shader_template().

◆ sphere_intersect_hearn_baker()

static __host__ __device__ __inline__ void sphere_intersect_hearn_baker ( float3  center,
float  rad 
)
static

Definition at line 2410 of file TachyonOptiXShaders.cu.

References dot(), normalize_len(), and RT_HIT_SPHERE.

Referenced by __intersection__sphere_array().

◆ subframe_count()

static int __forceinline__ __device__ subframe_count ( )
static

◆ tachyon1DLaunchIndex() [1/2]

static __device__ __inline__ int tachyon1DLaunchIndex ( void  )
static

◆ tachyon1DLaunchIndex() [2/2]

static __device__ __inline__ int tachyon1DLaunchIndex ( uint3  dim,
uint3  index 
)
static

Helper function to return 1-D framebuffer offset computed from the current thread's launch_index.

Definition at line 123 of file TachyonOptiXShaders.cu.

◆ tachyon_camera_cubemap_general()

template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_cubemap_general ( )
static

◆ tachyon_camera_dome_general()

template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_dome_general ( )
static

◆ tachyon_camera_equirectangular_general()

template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_equirectangular_general ( )
static

◆ tachyon_camera_octahedral_general()

template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_octahedral_general ( )
static

◆ tachyon_camera_oculus_rift_general()

template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_oculus_rift_general ( )
static

◆ tachyon_camera_orthographic_general()

template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_orthographic_general ( )
static

◆ tachyon_camera_perspective_general()

template<int STEREO_ON, int DOF_ON>
static __device__ __inline__ void tachyon_camera_perspective_general ( )
static

◆ unpackPointer()

static __forceinline__ __device__ void* unpackPointer ( uint32_t  i0,
uint32_t  i1 
)
static

Definition at line 137 of file TachyonOptiXShaders.cu.

Referenced by getPRD().

Variable Documentation

◆ rtLaunch

__constant__ tachyonLaunchParams rtLaunch