ImposterCapture
Engine/source/util/imposterCapture.h
Protected Attributes
Protected Functions
_convertDXT5nm(GBitmap * imposterOut)
_renderToTexture(GFXTexHandle texHandle, GBitmap * outBitmap, const ColorI & color)
_separateAlpha(GBitmap * imposterOut)
Public Functions
Detailed Description
Protected Attributes
GBitmap * mBlackBmp
GFXTexHandle mBlackTex
Point3F mCenter
GFXTexHandle mDepthBuffer
S32 mDim
S32 mDl
RenderMeshMgr * mMeshRenderBin
GFXTexHandle mNormalTex
F32 mRadius
The bounding radius of the shape used to size the billboard.
TSRenderState mRData
RenderPassManager * mRenderPass
GFXTextureTarget * mRenderTarget
TSShapeInstance * mShapeInstance
SceneRenderState * mState
GBitmap * mWhiteBmp
GFXTexHandle mWhiteTex
Protected Functions
_colorAverageFilter(U32 dimensions, const U8 * inBmpBits, U8 * outBmpBits)
_convertDXT5nm(GBitmap * imposterOut)
_renderToTexture(GFXTexHandle texHandle, GBitmap * outBitmap, const ColorI & color)
_separateAlpha(GBitmap * imposterOut)
Public Functions
ImposterCapture()
~ImposterCapture()
begin(TSShapeInstance * shapeInst, S32 dl, S32 dim, F32 radius, const Point3F & center)
capture(const MatrixF & rotMatrix, GBitmap ** imposterOut, GBitmap ** normalMapOut)
end()