31 namespace cinder {
namespace gl {
35 TileRender( int32_t imageWidth, int32_t imageHeight, int32_t tileWidth = 512, int32_t tileHeight = 512 );
47 void setMatricesWindowPersp(
int screenWidth,
int screenHeight,
float fovDegrees = 60.0
f,
float nearPlane = 1.0
f,
float farPlane = 1000.0
f );
float mCurrentFrustumFar
Definition: TileRender.h:65
GLdouble GLdouble GLdouble GLdouble top
Definition: GLee.h:13559
Area mSavedViewport
Definition: TileRender.h:68
int32_t mNumTilesY
Definition: TileRender.h:60
void setMatricesWindow(const Vec2i &windowSize)
Definition: TileRender.h:46
void setMatricesWindow(int32_t windowWidth, int32_t windowHeight)
Definition: TileRender.cpp:90
void setMatricesWindowPersp(int screenWidth, int screenHeight, float fovDegrees=60.0f, float nearPlane=1.0f, float farPlane=1000.0f)
Definition: TileRender.cpp:84
int32_t mTileWidth
Definition: TileRender.h:59
T x
Definition: Vector.h:71
int32_t mCurrentTile
Definition: TileRender.h:62
int32_t mImageHeight
Definition: TileRender.h:58
void updateFrustum()
Definition: TileRender.cpp:131
bool nextTile()
Definition: TileRender.cpp:45
int32_t getImageHeight() const
Definition: TileRender.h:40
void setMatrices(const Camera &camera)
Definition: TileRender.cpp:97
void ortho(float left, float right, float bottom, float top, float nearPlane, float farPlane)
Definition: TileRender.cpp:122
TileRender(int32_t imageWidth, int32_t imageHeight, int32_t tileWidth=512, int32_t tileHeight=512)
Definition: TileRender.cpp:32
float getImageAspectRatio() const
Definition: TileRender.h:41
Definition: TileRender.h:33
void setMatricesWindowPersp(const Vec2i &windowSize, float fovDegrees=60.0f, float nearPlane=1.0f, float farPlane=1000.0f)
Definition: TileRender.h:48
GLdouble left
Definition: GLee.h:13559
int32_t mNumTilesX
Definition: TileRender.h:60
GLdouble GLdouble right
Definition: GLee.h:13559
int32_t mImageWidth
Definition: TileRender.h:58
int32_t getImageWidth() const
Definition: TileRender.h:39
T y
Definition: Vector.h:71
Rectf mCurrentFrustumCoords
Definition: TileRender.h:64
bool mCurrentFrustumPersp
Definition: TileRender.h:66
float mCurrentFrustumNear
Definition: TileRender.h:65
Area mCurrentArea
Definition: TileRender.h:63
GLdouble GLdouble GLdouble bottom
Definition: GLee.h:13559
Surface getSurface() const
Definition: TileRender.h:43
Surface mSurface
Definition: TileRender.h:69
int32_t mTileHeight
Definition: TileRender.h:59
GLclampf f
Definition: GLee.h:15307
void frustum(float left, float right, float bottom, float top, float nearPlane, float farPlane)
Definition: TileRender.cpp:113
Area getCurrentTileArea() const
Definition: TileRender.h:42