Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csFogInfo Class Reference

Information for vertex based fog. More...

#include <rview.h>

List of all members.

Public Attributes

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

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

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

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).

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

 The structure describing the fog.

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.

Member Data Documentation

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

The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000