Valathil
5fcc1c513e
Add a random offset to the thruster distortion to make thruster clusters look better.
2012-02-03 15:27:24 +00:00
The_E
1c1ad1214d
Given how often the particle shaders are called, moving them up to the beginning of the shaders array makes sense.
2012-02-03 10:27:33 +00:00
Zacam
3b865b16d3
Apologies to Swifty, this line change got truncated from the Font Fix.
2012-02-02 00:41:02 +00:00
Zacam
cf017ba490
From Swifty: Alternative fix to the font distortion problem by glyph realignment at the font creation phase rather than by manipulating the draw stage.
...
http://www.hard-light.net/forums/index.php?topic=79807.0
2012-02-01 20:07:36 +00:00
Valathil
d637e02f30
Fix for Mantis 2556: Check if the mouse cursor is really there before drawing it.
2012-01-24 04:11:13 +00:00
Valathil
49c31e34cd
Fix for Mantis 2575: Don't increment array indices without checking for the maximum.
2012-01-21 19:52:00 +00:00
Valathil
42a0fd0626
Fix cockpit simulated brightness for lightshafts: Recalculate even if falloff is 1.0 and use the actual sample number
2012-01-17 17:13:01 +00:00
Echelon9
dc4371680a
Clear a whole set of LLVM warnings - some of these would have caused memory fubars, so should marginally improve stability
2012-01-15 08:08:15 +00:00
Valathil
bca5096e9a
Fix OpenGL errors caused by animated shaders when not rendering to a fbo
2012-01-14 19:24:29 +00:00
Valathil
80c44ab1f0
Fix "Unable to get shader uniform location" warning for distortion shaders
2012-01-14 19:03:55 +00:00
Zacam
6c702a11e6
svn:eol-type set to LF.
2012-01-13 18:37:09 +00:00
The_E
b9f9b49e4f
Make sure the FXAA pass only draws to COLOR_ATTACHMENT0
2012-01-11 17:41:52 +00:00
The_E
ecb11b095c
We were disabling the framebuffer a bit too soon here.
2012-01-06 01:03:37 +00:00
Valathil
f7ccb35817
Fixed font rendering at high resolutions
2011-12-29 18:16:04 +00:00
IssMneur
d53bf32cb8
From CommanderDJ: - Fully vectorize and stringify mainhall.tbl internals
...
- replaces all arrays with SCP_vectors
- replaces all c-strings with SCP_strings
- depreciates +Misc Anim Handles: and +Misc Anim Flags: because they are just cruft
-- +Misc Anim Handles: has not been hooked up for years
-- +Misc Anim Flags: are dealt with automatically
2011-12-29 06:28:05 +00:00
The_E
ebf89c9ef2
We do need to bind the correct depth buffer for rendering, else things get all confused.
2011-12-26 16:20:38 +00:00
The_E
34e536cd90
We only need to set up Scene_Depth_texture once, there must have been a merge gone wrong somewhere
2011-12-23 17:17:55 +00:00
The_E
41d68f3aca
From m|m: Fix for Mantis 2400 (RTT rendering broken in current builds). Also changes GL_rendering_to_framebuffer to the more aptly named GL_rendering_to_texture.
2011-12-23 13:09:39 +00:00
Echelon9
e98f25198c
Adjust alignment when shader debug logs are written.
2011-12-23 00:15:46 +00:00
The_E
09b8d1e3d1
Adds an intermediate render target for FXAA to work against, this removes a previous reliance on undocumented behaviour in OpenGL.
2011-12-22 15:12:18 +00:00
Valathil
7ffe518adb
Allow for FS1 shader effect to be customized in post_process.tbl
2011-12-22 14:40:30 +00:00
Echelon9
faa029e540
Fix small compile issue on Apple OSX with new Valathil lightrays code
2011-12-09 09:48:35 +00:00
Valathil
a0d1c8445a
Added Lightshafts as a replacement for sun glare. Look at http://www.hard-light.net/forums/index.php?topic=78923.80 for post_processing.tbl format
2011-12-08 20:57:11 +00:00
Echelon9
19ae6528e0
Cases of commented out Int3() indicate areas of old, redundant code.
2011-11-17 11:07:53 +00:00
Echelon9
9e127ca7f9
Documentation: Code cleanup in graphics/bmpman
2011-11-09 12:12:33 +00:00
The_E
17a420c92a
Reverting the texture cache stuff due to issues with some models
2011-11-07 09:26:37 +00:00
The_E
e004154986
Eep, missed a "!"
2011-11-05 19:52:02 +00:00
The_E
593d3c00c1
Changing opengl_render_pipeline_program to avoid unnecessary texture uploads.
2011-11-05 19:23:39 +00:00
Echelon9
9f711bf53e
Documentation: General code cleanup for 64bit
2011-11-05 08:12:04 +00:00
Zacam
876289a4b2
From ni1s: -Wreorder warnings clean up for GCC output.
2011-10-19 07:36:21 +00:00
Echelon9
8543045b15
STL types again. Some of these are just inefficient, like reserving one extra slot for each additional element, and then pushing that element onto the STL type
2011-10-17 13:07:24 +00:00
Echelon9
7a573539cc
It's small, does lead to a slightly longer (but not necessarily less concise) code... but it is slightly faster. Tested on OS X, Intel Core 2 Duo, compiled with GCC 4.0
2011-10-17 12:42:34 +00:00
Echelon9
cb0326a38e
Convert the geometry map batcher lookup functions to use size_t, in line with the STL types
2011-10-16 05:22:34 +00:00
Echelon9
41919ee15b
Clarify some aspects of the geometry map and distortion map batchers, as well as clarifying and making consistent the function calling conventions throughout the code.
2011-10-16 05:08:33 +00:00
Zacam
183c57dc03
Wrong EOL type on these two.
2011-10-12 17:44:40 +00:00
Echelon9
9314724fc3
Documentation: Code cleanup of bmpman.cpp and ancilliary changes
2011-10-08 06:22:41 +00:00
Echelon9
6d4f266e52
Use SCP_* types to access STL types wherever possible. This allows more complete memory monitoring
2011-10-03 09:06:56 +00:00
The_E
ac82e45cd5
Removing dbugfile.cpp/.h from the project, since it doesn't seem to be useful.
2011-09-30 14:52:33 +00:00
Zacam
206279c5fd
Sync Drift: Apparently still some lingering ifdefs for OEM/Multiplayer_Beta and non-AP specific things not having made it to trunk for some reason.
2011-09-25 08:26:45 +00:00
The_E
05f3578109
PVS Studio fix: V547, <variable> >= 0 check on size_t variable
2011-09-24 14:26:04 +00:00
Echelon9
2db013e321
Documentation: Code cleanup of grbatch.cpp and work to prepare for 64bit with size_t
2011-09-21 14:37:36 +00:00
Valathil
4c4258eb6d
Reordered shaders for performance reasons
2011-09-17 20:55:03 +00:00
The_E
b1fc8971de
Little change to fix bug with external post shaders not loading
2011-09-17 19:36:24 +00:00
Echelon9
5d2e1444e6
Documentation: Code cleanup in font.cpp and font.h
2011-09-12 12:52:33 +00:00
Zacam
f779a5b8a8
Fix for Trunk r7677 causing map corruption on model cache rebuild.
2011-09-10 21:14:55 +00:00
Zacam
9678d18bc3
Part One: Synchronization pass of Trunk and Antipodes Differences.
...
Whitespace/tab mostly.
aicode does have a change of an Int3 to an Assertion.
bmpman has an update to bm_next_handle.
2011-09-09 09:37:45 +00:00
Goober5000
6c2f4f3c30
PVS-Studio fixes:
...
V506 Pointer to local variable 'Default_video_settings' is stored outside the scope of this variable. Such a pointer will become invalid. code 2d.cpp 507
V506 Pointer to local variable 'pos' is stored outside the scope of this variable. Such a pointer will become invalid. code shipfx.cpp 1075
2011-09-08 06:55:50 +00:00
IssMneur
0717ad3d13
PVS-Studio fix: V512 A call of the 'memcpy' function will lead to overflow of the buffer '& x'. (pstypes.h:131)
2011-09-08 05:39:53 +00:00
Echelon9
687b91d197
Documentation: Code cleanup to 2d.cpp, 2d.h and 3d.h
2011-09-07 14:10:41 +00:00
Zacam
0dac515506
MSVC Analysis: Local declaration of <variable> hides previous declaration at <line> of <file>: 'Scene_texture_width'/'Scene_texture_height' in gropengldraw lines 56 & 57.
2011-09-07 09:57:37 +00:00