0ad/source/graphics
prefect 09b87e84ec #Bugfix: Shadows appeared to be rendered one frame too late
close #141

The problem was that the shadow matrices were setup in BeginFrame, but
GraphicsView calls SetCamera after BeginFrame. The solution was to move
the shadow matrix setup into CRenderer::SetCamera.

This caused a second problem because RenderReflections/RenderRefractions
used SetCamera to change the OpenGL matrices. Solved this problem by
distinguishing explicitly between the camera used for the scene as a
whole and the camera used to configure OpenGL. The latter can be a
virtual camera for shadow or reflection rendering and similar
render-to-texture effects.

This was SVN commit r4330.
2006-09-14 20:06:21 +00:00
..
scripting # MacOS X compat (part 1) 2006-07-26 14:04:52 +00:00
Camera.cpp Modified world intersection so that you can also intersect with the water plane, which is useful for making ships move around as expected when you rightclick a spot on the water. 2006-09-10 20:38:39 +00:00
Camera.h #Bugfix: Shadows appeared to be rendered one frame too late 2006-09-14 20:06:21 +00:00
CinemaTrack.cpp #Cinematic editor 2006-08-22 02:24:44 +00:00
CinemaTrack.h #Cinematic editor 2006-08-22 02:24:44 +00:00
Color_asm.asm # improvements to build system for asm files 2006-06-25 20:58:03 +00:00
Color.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
Color.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
DefaultEmitter.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
DefaultEmitter.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
Frustum.cpp # Fixes to the line segment frustum test. 2006-08-25 19:31:01 +00:00
Frustum.h # Aura and territory rendering 2006-08-25 06:04:33 +00:00
GameView.cpp #Bugfix: Shadows appeared to be rendered one frame too late 2006-09-14 20:06:21 +00:00
GameView.h # Added tool for viewing models and animations outside the game. 2006-08-28 17:36:42 +00:00
HFTracer.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
HFTracer.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
LightEnv.cpp Mac OS X Compat 2006-08-19 20:24:49 +00:00
LightEnv.h # MacOS X compat (part 1) 2006-07-26 14:04:52 +00:00
MapIO.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
MapReader.cpp Updated OpenAL to 1.1 (which no longer includes ALUT). 2006-09-02 21:20:25 +00:00
MapReader.h #Cinematic editor 2006-08-22 02:24:44 +00:00
MapWriter.cpp # Added tool for viewing models and animations outside the game. 2006-08-28 17:36:42 +00:00
MapWriter.h #Cinematic editor 2006-08-22 02:24:44 +00:00
Material.cpp # housekeeping 2006-07-20 14:37:58 +00:00
Material.h # housekeeping 2006-07-20 14:37:58 +00:00
MaterialManager.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
MaterialManager.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
MeshManager.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
MeshManager.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
MiniPatch.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
MiniPatch.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
Model.cpp Added code for placement of socketted buildings. 2006-07-09 23:12:37 +00:00
Model.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
ModelDef.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
ModelDef.h # housekeeping 2006-07-20 14:37:58 +00:00
ObjectBase.cpp Fixed deunicodification of actor strings - need to be converted from CStr to std::wstring when passed to Atlas 2006-08-06 18:41:07 +00:00
ObjectBase.h Fixed deunicodification of actor strings - need to be converted from CStr to std::wstring when passed to Atlas 2006-08-06 18:41:07 +00:00
ObjectEntry.cpp - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00
ObjectEntry.h - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00
ObjectManager.cpp # Added tool for viewing models and animations outside the game. 2006-08-28 17:36:42 +00:00
ObjectManager.h # Added tool for viewing models and animations outside the game. 2006-08-28 17:36:42 +00:00
ParticleEmitter.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
ParticleEmitter.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
ParticleEngine.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
ParticleEngine.h Premake: include precompiled.h in the project; set up dependencies for Atlas projects. 2006-06-09 16:44:16 +00:00
Patch.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
Patch.h Premake: include precompiled.h in the project; set up dependencies for Atlas projects. 2006-06-09 16:44:16 +00:00
RenderableObject.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
SkeletonAnim.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
SkeletonAnimDef.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
SkeletonAnimDef.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
SkeletonAnimManager.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
SkeletonAnimManager.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
Sprite.cpp # Updates to the entity bar display system by Andrew. 2006-07-16 19:32:48 +00:00
Sprite.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
Terrain.cpp # move ps/Network into top level project (and static lib). 2006-08-26 20:25:37 +00:00
Terrain.h # move ps/Network into top level project (and static lib). 2006-08-26 20:25:37 +00:00
TerrainProperties.cpp # Housekeeping and pathfinder enhancements / optimization when dealing with ranged actions. 2006-08-01 03:41:21 +00:00
TerrainProperties.h # housekeeping 2006-07-20 14:37:58 +00:00
Texture.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
TextureEntry.cpp Mac OS X Compat 2006-08-19 20:24:49 +00:00
TextureEntry.h # housekeeping 2006-07-20 14:37:58 +00:00
TextureManager.cpp # housekeeping 2006-07-20 14:37:58 +00:00
TextureManager.h # housekeeping 2006-07-20 14:37:58 +00:00
Unit.cpp Updated OpenAL to 1.1 (which no longer includes ALUT). 2006-09-02 21:20:25 +00:00
Unit.h Updated OpenAL to 1.1 (which no longer includes ALUT). 2006-09-02 21:20:25 +00:00
UnitManager.cpp Updated OpenAL to 1.1 (which no longer includes ALUT). 2006-09-02 21:20:25 +00:00
UnitManager.h # Added tool for viewing models and animations outside the game. 2006-08-28 17:36:42 +00:00