OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Functions
water.cpp File Reference
#include "water.hpp"
#include <iomanip>
#include <osg/Fog>
#include <osg/Depth>
#include <osg/Group>
#include <osg/Geometry>
#include <osg/Material>
#include <osg/PositionAttitudeTransform>
#include <osg/ClipNode>
#include <osg/FrontFace>
#include <osg/Shader>
#include <osg/GLExtensions>
#include <osgDB/ReadFile>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/fstream.hpp>
#include <osgUtil/IncrementalCompileOperation>
#include <osgUtil/CullVisitor>
#include <components/resource/resourcesystem.hpp>
#include <components/resource/imagemanager.hpp>
#include <components/resource/scenemanager.hpp>
#include <components/sceneutil/waterutil.hpp>
#include <components/nifosg/controller.hpp>
#include <components/sceneutil/controller.hpp>
#include <components/shader/shadermanager.hpp>
#include <components/settings/settings.hpp>
#include <components/esm/loadcell.hpp>
#include <components/fallback/fallback.hpp>
#include "../mwworld/cellstore.hpp"
#include "vismask.hpp"
#include "ripplesimulation.hpp"
#include "renderbin.hpp"
#include "util.hpp"
Include dependency graph for water.cpp:

Classes

class  MWRender::ClipCullNode
 Allows to cull and clip meshes that are below a plane. Useful for reflection & refraction camera effects. Also handles flipping of the plane when the eye point goes below it. To use, simply create the scene as subgraph of this node, then do setPlane(const osg::Plane& plane);. More...
 
class  MWRender::ClipCullNode::PlaneCullCallback
 
class  MWRender::ClipCullNode::FlipCallback
 
class  MWRender::FudgeCallback
 
class  MWRender::Refraction
 
class  MWRender::Reflection
 
class  MWRender::DepthClampCallback
 DepthClampCallback enables GL_DEPTH_CLAMP for the current draw, if supported. More...
 

Namespaces

 MWRender
 Rendering.
 

Functions

osg::ref_ptr< osg::Image > MWRender::readPngImage (const std::string &file)