Scenery3d.hpp   Scenery3d.hpp 
skipping to change at line 246 skipping to change at line 246
//because of use that deviates very much from QOpenGLFramebufferObje ct typical usage, we manage the FBOs ourselves //because of use that deviates very much from QOpenGLFramebufferObje ct typical usage, we manage the FBOs ourselves
GLuint cubeFBO; //used in CUBEMAP_GSACCEL mode - only a single FBO e xists, with a cubemap for color and one for depth GLuint cubeFBO; //used in CUBEMAP_GSACCEL mode - only a single FBO e xists, with a cubemap for color and one for depth
GLuint cubeSideFBO[6]; //used in TEXTURES and CUBEMAP mode, 6 textur es/cube faces for color and a shared depth renderbuffer (we don't require t he depth after rendering) GLuint cubeSideFBO[6]; //used in TEXTURES and CUBEMAP mode, 6 textur es/cube faces for color and a shared depth renderbuffer (we don't require t he depth after rendering)
bool cubeMappingCreated; //true if any cubemapping objects have been initialized and need to be cleaned up eventually bool cubeMappingCreated; //true if any cubemapping objects have been initialized and need to be cleaned up eventually
//cube geometry //cube geometry
QVector<Vec3f> cubeVertices, transformedCubeVertices; QVector<Vec3f> cubeVertices, transformedCubeVertices;
QVector<Vec2f> cubeTexcoords; QVector<Vec2f> cubeTexcoords;
QOpenGLBuffer cubeVertexBuffer; QOpenGLBuffer cubeVertexBuffer;
QOpenGLBuffer transformedCubeVertexBuffer;
QOpenGLBuffer cubeIndexBuffer; QOpenGLBuffer cubeIndexBuffer;
int cubeIndexCount; int cubeIndexCount;
//cube rendering matrices //cube rendering matrices
QMatrix4x4 cubeRotation[6]; //rotational matrices for cube faces. Th e cam position is added to this in each frame. QMatrix4x4 cubeRotation[6]; //rotational matrices for cube faces. Th e cam position is added to this in each frame.
QMatrix4x4 cubeMVP[6]; //cube face MVP matrices QMatrix4x4 cubeMVP[6]; //cube face MVP matrices
/// ---- Rendering information ---- /// ---- Rendering information ----
//final model view matrix for shader upload //final model view matrix for shader upload
QMatrix4x4 modelViewMatrix; QMatrix4x4 modelViewMatrix;
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/