CrystalSpace

Public API Reference

csFogInfo Class Reference
[Views & Cameras]

Information for vertex based fog. More...

#include <iengine/rview.h>

List of all members.

Public Attributes

csFogfog
 The structure describing the fog.
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.
csPlane3 incoming_plane
 The incoming plane (plane of the portal).
csFogInfonext
 Next in list (back in recursion time).
csPlane3 outgoing_plane
 The outgoing plane (also of a portal).


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 rview.h.


Member Data Documentation

The structure describing the fog.

Definition at line 80 of file rview.h.

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 rview.h.

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 rview.h.

The incoming plane (plane of the portal).

Definition at line 63 of file rview.h.

Next in list (back in recursion time).

Definition at line 60 of file rview.h.

The outgoing plane (also of a portal).

Definition at line 65 of file rview.h.


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