Equalizer
1.2.1
|
Structure that contain actual dimensions of data that is stored in volume texture. More...
#include <rawVolModel.h>
Public Attributes | |
float | W |
Width of data in texture (0..1]. | |
float | H |
Height of data in texture (0..1]. | |
float | D |
Depth of data in texture (0..1]. | |
float | Do |
Depth offset (start of range) | |
float | Db |
Depth border (necessary for preintegration) |
Structure that contain actual dimensions of data that is stored in volume texture.
It assumes that volume fills the cube [-1,-1,-1]..[1,1,1] and the texture coordinates scaled to [0,0,0]..[1,1,1] but volume itself can be less then whole texture. Correct coordinates of volume stored in texture could be computed as:
Xn = X * W Yn = Y * H Zn = Db + (Z - Do) * D
so X and Y just scaled, but Z should be modifyed according to proper range.
Definition at line 52 of file rawVolModel.h.