Equalizer  1.2.1
Public Attributes
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 Fri Jun 8 2012 15:44:37 for Equalizer 1.2.1 by  doxygen 1.8.0