Ogre Procedural
0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
|
Classes | |
class | Abnormals |
Use alpha channel as an mask for an other image. More... | |
class | Alpha |
Colour extraction. More... | |
class | AlphaMask |
Use alpha channel as an mask for an other image. More... | |
class | BaseSpline2 |
class | BaseSpline3 |
class | BezierCurve2 |
Builds a shape from a Bezier-Curve. More... | |
class | BezierCurve3 |
Builds a path from a Bezier-Curve. More... | |
class | Blit |
copies a part of the input buffer towards the current buffer. More... | |
class | Blur |
Reduce sharpness on input image. More... | |
class | Boolean |
class | BoxGenerator |
class | BoxUVModifier |
class | CalculateNormalsModifier |
WIP. More... | |
class | CapsuleGenerator |
class | CatmullRomSpline2 |
Builds a shape from a Catmull-Rom Spline. More... | |
class | CatmullRomSpline3 |
Builds a path from a Catmull-Rom Spline. More... | |
class | Cell |
Create a texture consisting of cells aligned in a grid, or a chessboard. More... | |
class | Channel |
Extract one channel or create gray image. More... | |
class | Circle |
Represents a 2D circle. More... | |
class | CircleShape |
Builds a circular shape. More... | |
class | CircleTexture |
Draw a circle. More... | |
class | Cloud |
Creates a cloud structured image. More... | |
class | Colours |
A colour filter. More... | |
class | Combine |
Combine inputs together. More... | |
class | ConeGenerator |
class | Convolution |
Convolution filter. More... | |
class | Crack |
Create lines that can be randomly cracked or follow a normal map. More... | |
class | CubicHermiteSpline2 |
Produces a shape from Cubic Hermite control points. More... | |
class | CubicHermiteSpline3 |
Produces a path from Cubic Hermite control points. More... | |
struct | CubicHermiteSplineControlPoint |
Template control point for Cubic Hermite splines. More... | |
class | Cycloid |
Draw a cycloid. More... | |
class | CylinderGenerator |
class | CylinderUVModifier |
class | Dilate |
Expands bright areas over darker areas. More... | |
class | Distort |
Apply normal (ie. More... | |
class | EdgeDetection |
Edge detection on input image. More... | |
class | EllipseShape |
Builds a ellipse shape. More... | |
class | EllipseTexture |
Draw an ellipse. More... | |
class | Extruder |
Extrudes a 2D shape along a path to build an extruded mesh. More... | |
class | Flip |
Flip the image. More... | |
class | Glow |
Render a glow. More... | |
class | Gradient |
Fills full image with given colour gradients. More... | |
class | HelixPath |
class | HemisphereUVModifier |
class | IcoSphereGenerator |
class | Image |
Load an image from a resource. More... | |
struct | IntVector2 |
class | Invert |
Invert image. More... | |
class | Jitter |
Exchange pixels at random positions. More... | |
class | KochanekBartelsSpline2 |
Builds a shape from a Kochanek Bartels spline. More... | |
struct | KochanekBartelsSplineControlPoint |
Template control point for KochanekBartels's splines. More... | |
class | Labyrinth |
Creates a labyrinth structured image. More... | |
class | Lathe |
Builds a mesh by rotating a shape 360 degrees around Y-axis. More... | |
class | Lerp |
Linear interpolation. More... | |
struct | Line |
Represents a line in 3D. More... | |
class | Line2D |
Represents a line in 2D. More... | |
class | LinePath |
Builds a line Path between 2 points. More... | |
class | Lookup |
Copy pixels from base input (x, y) to given coordinates from parameter image (red, green). More... | |
class | Marble |
Creates a marble structured image. More... | |
class | MeshGenerator |
class | MeshLinearTransform |
Translates a mesh. More... | |
class | MeshUVTransform |
Linear transforms on a mesh's UVs. More... | |
class | MultiPath |
class | MultiShape |
class | Noise |
Fills full image with noise in a given colour. More... | |
class | Normals |
Convert height map to normal map. More... | |
class | OilPaint |
Create an oil painted image. More... | |
class | Path |
class | Plane |
Extends the Ogre::Plane class to be able to compute the intersection between 2 planes. More... | |
class | PlaneGenerator |
class | PlaneUVModifier |
Recomputes the mesh's UVs based on its projection on a plane. More... | |
class | Polygon |
Draw a polygon. More... | |
class | PrismGenerator |
class | RandomPixels |
Draw a number of pixels at random positions. More... | |
class | RectangleShape |
Builds a rectangular shape. More... | |
class | RectangleTexture |
Draw a rectangle. More... | |
class | RotationZoom |
Rotate & zoom image. More... | |
class | RoundedBoxGenerator |
class | RoundedCornerSpline2 |
Produces a shape from Cubic Hermite control points. More... | |
class | RoundedCornerSpline3 |
Produces a path by rounding corners of a straight-lines path. More... | |
class | Segment |
Colours image segments based on threshold. More... | |
struct | Segment2D |
Represents a 2D segment. More... | |
struct | Segment3D |
Represents a 3D segment. More... | |
class | Shape |
class | Sharpen |
Increase sharpness on input image. More... | |
class | ShowNormalsGenerator |
This class creates a visualisation of the normals of a TriangleBuffer. More... | |
class | Solid |
Fills full image with given colour. More... | |
class | SphereGenerator |
class | SphereUVModifier |
class | SpherifyModifier |
Projects all TriangleBufferVertices on a sphere. More... | |
class | SpringGenerator |
class | SvgLoader |
Load shapes from an SVG file. More... | |
class | Textile |
Creates a textile structured image. More... | |
class | TextureBuffer |
class to store image data while processing More... | |
class | TextureLightBaker |
Apply an illumination on a surface. More... | |
class | TextureProcessing |
base class for material generation classes. More... | |
class | Threshold |
Simple threshold filter. More... | |
class | TorusGenerator |
class | TorusKnotGenerator |
class | Track |
Represents a curve by interpolating between a list of key/values. More... | |
struct | Triangle2D |
Represents a 2D triangle. More... | |
struct | Triangle3D |
Represents a 3D triangle. More... | |
class | TriangleBuffer |
This is ogre-procedural's temporary mesh buffer. More... | |
class | TriangleShape |
Builds a triangele shape. More... | |
class | Triangulator |
Implements a Delaunay Triangulation algorithm. More... | |
class | TubeGenerator |
class | UnweldVerticesModifier |
Switches the triangle buffer from indexed triangles to (pseudo) triangle list It can be used if you want discontinuities between all your triangles. More... | |
class | Utils |
Holds a bunch of static utility functions. More... | |
struct | Vector2Comparator |
struct | Vector3Comparator |
class | Vortex |
Twist some fragment of input image. More... | |
class | WeldVerticesModifier |
Welds together the vertices which are 'close enough' one to each other. More... | |
class | Wood |
Creates a wood slice image. More... | |
Typedefs | |
typedef TextureBuffer * | TextureBufferPtr |
Type for a TextureBuffer pointer. More... | |
typedef std::vector< Ogre::Vector2 > | PointList |
Enumerations | |
enum | Side { SIDE_LEFT, SIDE_RIGHT } |
enum | CubicHermiteSplineAutoTangentMode { AT_NONE, AT_STRAIGHT, AT_CATMULL } |
Functions | |
template<class T > | |
void | computeTangents (CubicHermiteSplineControlPoint< T > &point, const T &pointBefore, const T &pointAfter) |
template<class T > | |
void | computeCubicHermitePoints (const CubicHermiteSplineControlPoint< T > &pointBefore, const CubicHermiteSplineControlPoint< T > &pointAfter, unsigned int numSeg, std::vector< T > &pointList) |
template<class T > | |
void | computeCatmullRomPoints (const T &P1, const T &P2, const T &P3, const T &P4, unsigned int numSeg, std::vector< T > &pointList) |
template<class T > | |
void | computeKochanekBartelsPoints (const KochanekBartelsSplineControlPoint< T > &P1, const KochanekBartelsSplineControlPoint< T > &P2, const KochanekBartelsSplineControlPoint< T > &P3, const KochanekBartelsSplineControlPoint< T > &P4, unsigned int numSeg, std::vector< T > &pointList) |
typedef std::vector<Ogre::Vector2> Procedural::PointList |
Type for a TextureBuffer pointer.
void Procedural::computeCatmullRomPoints | ( | const T & | P1, |
const T & | P2, | ||
const T & | P3, | ||
const T & | P4, | ||
unsigned int | numSeg, | ||
std::vector< T > & | pointList | ||
) |
void Procedural::computeCubicHermitePoints | ( | const CubicHermiteSplineControlPoint< T > & | pointBefore, |
const CubicHermiteSplineControlPoint< T > & | pointAfter, | ||
unsigned int | numSeg, | ||
std::vector< T > & | pointList | ||
) |
void Procedural::computeKochanekBartelsPoints | ( | const KochanekBartelsSplineControlPoint< T > & | P1, |
const KochanekBartelsSplineControlPoint< T > & | P2, | ||
const KochanekBartelsSplineControlPoint< T > & | P3, | ||
const KochanekBartelsSplineControlPoint< T > & | P4, | ||
unsigned int | numSeg, | ||
std::vector< T > & | pointList | ||
) |
void Procedural::computeTangents | ( | CubicHermiteSplineControlPoint< T > & | point, |
const T & | pointBefore, | ||
const T & | pointAfter | ||
) |
References AT_CATMULL, AT_NONE, AT_STRAIGHT, Procedural::CubicHermiteSplineControlPoint< T >::autoTangentAfter, Procedural::CubicHermiteSplineControlPoint< T >::autoTangentBefore, Procedural::CubicHermiteSplineControlPoint< T >::position, Procedural::CubicHermiteSplineControlPoint< T >::tangentAfter, and Procedural::CubicHermiteSplineControlPoint< T >::tangentBefore.