Support Forum       G3D Web Page     
Classes | Public Member Functions | List of all members
glsl::SVO_util_glsl Class Reference

Shader program. More...

Classes

struct  AABB
 

Public Member Functions

vec3 getVolSpaceDirFromPix (vec2 pixelCoordF, vec2 renderRes, float focalLength, float screenRatio, mat4 rotationScale)
 
vec3 getVolSpaceDirFromPix2 (vec2 pixelCoordF, vec2 renderRes, float focalLength, float screenRatio, mat3x3 rotationScale)
 
vec3 getVolSpacePosOnScreen (vec2 pixelCoordF, vec2 renderRes, float focalLength, float screenRatio, mat4 modelViewMat)
 
bool IntersectBox (Ray r, const AABB aabb, out float t0, out float t1)
 
int svoTopMipMapLevelOffset (ivec3 coord, int level)
 

Detailed Description

Shader program.

Member Function Documentation

◆ getVolSpaceDirFromPix()

vec3 glsl::SVO_util_glsl::getVolSpaceDirFromPix ( vec2  pixelCoordF,
vec2  renderRes,
float  focalLength,
float  screenRatio,
mat4  rotationScale 
)
inline

◆ getVolSpaceDirFromPix2()

vec3 glsl::SVO_util_glsl::getVolSpaceDirFromPix2 ( vec2  pixelCoordF,
vec2  renderRes,
float  focalLength,
float  screenRatio,
mat3x3  rotationScale 
)
inline

◆ getVolSpacePosOnScreen()

vec3 glsl::SVO_util_glsl::getVolSpacePosOnScreen ( vec2  pixelCoordF,
vec2  renderRes,
float  focalLength,
float  screenRatio,
mat4  modelViewMat 
)
inline

◆ IntersectBox()

bool glsl::SVO_util_glsl::IntersectBox ( Ray  r,
const AABB  aabb,
out float  t0,
out float  t1 
)
inline

◆ svoTopMipMapLevelOffset()

int glsl::SVO_util_glsl::svoTopMipMapLevelOffset ( ivec3  coord,
int  level 
)
inline

documentation generated on Wed Nov 24 2021 08:02:04 using doxygen 1.8.15