CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csFogInfo Class Reference
[Views & Cameras]

Information for vertex based fog. More...

#include <rview.h>

List of all members.

Public Attributes

csFogInfo * next
 Next in list (back in recursion time). More...

csPlane3 incoming_plane
 The incoming plane (plane of the portal). More...

csPlane3 outgoing_plane
 The outgoing plane (also of a portal). More...

bool has_incoming_plane
 If this is false then there is no incoming plane (the current sector has fog and is not being drawn through a portal). More...

bool has_outgoing_plane
 If this is false there is no outgoing plane. More...

csFogfog
 The structure describing the fog. More...


Detailed Description

Information for vertex based fog.

There is an instance of this structure in iRenderView for every fogged sector that we encounter. It contains information which allows us to calculate the thickness of the fog for any given ray through the incoming and outgoing portals of the sector.

Definition at line 56 of file iengine/rview.h.


Member Data Documentation

csFog* csFogInfo::fog
 

The structure describing the fog.

Definition at line 80 of file iengine/rview.h.

bool csFogInfo::has_incoming_plane
 

If this is false then there is no incoming plane (the current sector has fog and is not being drawn through a portal).

Definition at line 70 of file iengine/rview.h.

bool csFogInfo::has_outgoing_plane
 

If this is false there is no outgoing plane.

The 'outgoing plane distance' is then calculated by straight distance to a vertex instead of projecting throught the outgoing plane

Definition at line 77 of file iengine/rview.h.

csPlane3 csFogInfo::incoming_plane
 

The incoming plane (plane of the portal).

Definition at line 63 of file iengine/rview.h.

csFogInfo* csFogInfo::next
 

Next in list (back in recursion time).

Definition at line 60 of file iengine/rview.h.

csPlane3 csFogInfo::outgoing_plane
 

The outgoing plane (also of a portal).

Definition at line 65 of file iengine/rview.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14