Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Data Structures | Typedefs | Enumerations | Functions
Forests Namespace Reference

Data Structures

class  BatchedGeometry
 
class  BatchPage
 
class  ColorMap
 
class  DensityMap
 
class  GeometryPage
 
class  GeometryPageManager
 
class  GrassLayer
 
class  GrassLoader
 
class  GrassPage
 
class  ImpostorBatch
 
class  ImpostorPage
 
class  ImpostorTexture
 
class  ImpostorTextureResourceLoader
 
class  PagedGeometry
 
struct  PageInfo
 
class  PageLoader
 
class  RandomTreeLoader
 
class  SBMaterialRef
 
class  StaticBillboardSet
 
class  TreeLoader2D
 

Typedefs

typedef Ogre::TRect< Ogre::Real > TBounds
 
typedef std::map< Ogre::Material *, SBMaterialRef * > SBMaterialRefList
 

Enumerations

enum  ImpostorBlendMode
 
enum  GrassTechnique
 
enum  FadeTechnique
 
enum  MapChannel
 
enum  MapFilter
 

Functions

GrassTechnique ValidateGrassTech (GrassTechnique src)
 

Typedef Documentation

◆ SBMaterialRefList

typedef std::map<Ogre::Material*, SBMaterialRef*> Forests::SBMaterialRefList

Definition at line 37 of file StaticBillboardSet.h.

◆ TBounds

typedef Ogre::TRect<Ogre::Real> Forests::TBounds

Define TBounds as a TRect using Real numeric units.

Definition at line 45 of file PagedGeometry.h.

Enumeration Type Documentation

◆ FadeTechnique

A technique used to fade grass into the distance.

Passed to GrassLayer::setFadeTechnique(). RIGSOFRODS: Renumbered to match TOBJ fileformat.

Enumerator
FADETECH_ALPHA 

Grass that fades into the distance with transparency. Fairly effective in most cases.

FADETECH_GROW 

Grass that fades in by "growing" up out of the ground. Very effective when grass fades in against the sky, or with alpha-rejected grass.

FADETECH_ALPHAGROW 

Grass that fades in by slowly becoming opaque while it "grows" up out of the ground. Effective with alpha grass fading in against the sky.

Definition at line 53 of file PagedGeometryConfig.h.

◆ GrassTechnique

A technique used to render grass.

Passed to GrassLayer::setRenderTechnique().

Enumerator
GRASSTECH_QUAD 

Grass constructed of randomly placed and rotated quads.

GRASSTECH_CROSSQUADS 

Grass constructed of two quads forming a "X" cross shape.

GRASSTECH_SPRITE 

Grass constructed of camera-facing billboard quads.

GRASSTECH_MIN 
GRASSTECH_MAX 

Definition at line 21 of file PagedGeometryConfig.h.

◆ ImpostorBlendMode

Blend modes used by ImpostorPage::setBlendMode()

Enumerator
ALPHA_REJECT_IMPOSTOR 
ALPHA_BLEND_IMPOSTOR 

Definition at line 56 of file ImpostorPage.h.

◆ MapChannel

Specifies which color channel(s) to extract from an image.

Enumerator
CHANNEL_RED 

Use only the image's red color channel.

CHANNEL_GREEN 

Use only the image's green color channel.

CHANNEL_BLUE 

Use only the image's blue color channel.

CHANNEL_ALPHA 

Use only the image's alpha channel.

CHANNEL_COLOR 

Use the image's full RGB color information.

Definition at line 23 of file PropertyMaps.h.

◆ MapFilter

Specifies the filtering method used to interpret property maps.

Enumerator
MAPFILTER_NONE 

Use no filtering - fast, but may appear blocky.

MAPFILTER_BILINEAR 

Use bilinear filtering - slower, but will appear less blocky.

Definition at line 38 of file PropertyMaps.h.

Function Documentation

◆ ValidateGrassTech()

GrassTechnique Forests::ValidateGrassTech ( GrassTechnique  src)
inline

Definition at line 37 of file PagedGeometryConfig.h.