Equalizer 1.0

eVolve::DataInTextureDimensions Struct Reference

Structure that contain actual dimensions of data that is stored in volume texture. More...

#include <rawVolModel.h>

List of all members.

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)

Detailed Description

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.


The documentation for this struct was generated from the following file:
Generated on Sun May 8 2011 19:11:11 for Equalizer 1.0 by  doxygen 1.7.3