VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtOsgBumpMapController Class Reference

Installs and control bump mapping effects. This is the grayscale image that store the height used for bump mapping Do not confuse it with normal map which use the 3 channel tangent space normal map.

Inheritance diagram for makVrv::DtOsgBumpMapController:
Inheritance graph
[legend]

Public Member Functions

 DtOsgBumpMapController (DtDe &de)
 
virtual ~DtOsgBumpMapController ()
 
virtual bool installShaders (int baseUnit, int effectUnit, const osg::Texture *tex, osg::StateSet *stateSet, const std::string &baseTextureName) const
 
- Public Member Functions inherited from makVrv::DtOsgEffectTextureController
 DtOsgEffectTextureController (DtDe &de, int type, const std::string &effectTypeCode)
 
virtual const std::string & effectTypeCode () const
 
virtual int effectTextureType () const
 
virtual osg::Texture * installEffectTexture (osg::Texture *baseTexture, int baseTexUnit, osg::StateSet *stateSet, const osgDB::Options *dbOptions, const DtPossibleFileNamesCache &possibleFilenames) const
 
virtual void findEffectTexture (const std::string &baseTextureName, const osgDB::Options *dbOptions, const DtPossibleFileNamesCache &possibleFilenames, const osg::Texture *baseTexture, osg::ref_ptr< osg::Texture > &effectTexture) const
 

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtOsgEffectTextureController
virtual ~DtOsgEffectTextureController ()
 
virtual osgEarth::VirtualProgram * installVirtualProgram (int baseUnit, int effectUnit, const osg::Texture *tex, osg::StateSet *stateSet, const std::string &baseTextureName, const DtVirtualProgramParams &params) const
 
virtual void applyDefaultShaderLODRanges (osgEarth::VirtualProgram *vp, const std::string &function) const
 
- Protected Attributes inherited from makVrv::DtOsgEffectTextureController
const int myEffectTextureType
 
const std::string myEffectTypeCode
 
float myDefaultMaxRange
 
const DtOsgFileCachemyFileCache
 
DtDemyDe
 

Constructor & Destructor Documentation

makVrv::DtOsgBumpMapController::DtOsgBumpMapController ( DtDe de)

CTOR.

virtual makVrv::DtOsgBumpMapController::~DtOsgBumpMapController ( )
virtual

DTOR.

Member Function Documentation

virtual bool makVrv::DtOsgBumpMapController::installShaders ( int  baseUnit,
int  effectUnit,
const osg::Texture *  tex,
osg::StateSet *  stateSet,
const std::string &  baseTextureName 
) const
virtual

install shaders for a stateset if required by this effect.

Reimplemented from makVrv::DtOsgEffectTextureController.


The documentation for this class was generated from the following file:

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)