Swifty
c620372357
Soft shadows, deferred lighting, and various major graphics optimizations.
2015-05-02 14:35:37 -07:00
niffiwan
322d1f39e0
Fix mantis 2945 (From MageKing17)
...
Don't set PF_PROJECTED in g3_transfer_vertex() as it's not projecting
the vertex
Note: displaying nebula emp/lightning used to depend on unitialised data!
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10828 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-19 20:12:54 +10:00
Echelon9
4033465143
Fix Coverity reports of Uninitialized scalar variable with the vertex struct. Should vertex ever be converted to a class from a struct, these memsets as well as the pre-existing ones will need to be removed in favour of a proper constructor of the then vertex class.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10732 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-02 18:29:59 +10:00
m_m
c1b2d7c1ee
Fix for Mantis 3045: gr.drawImage()'s UV arguments aren't working properly
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10721 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-25 19:03:50 +10:00
z64555
8d5fbab768
z64555's debug console. Take 2. Includes changes to most (not Xcode) project files to include the added files of r10621
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10622 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:37 +10:00
The_E
98355da7d5
Revert 10619: Missing files
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10620 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:36 +10:00
z64555
2b2ba832f8
z64555's debug console.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10619 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:36 +10:00
The_E
6e91857745
From Yarn: Fixes interface graphics scaling issues. If, for some reason, you want to have the interface graphics stretched, use the -stretch_menu commandline flag.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10544 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-30 12:39:54 +10:00
Wanderer
6f3e773359
Fix for Mantis #2807 - not particularly elegant fix but enough to prevent the reported null vec issue
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10031 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-10 18:28:58 +10:00
niffiwan
5c3d105f85
Fix for mantis 2789: replace shield icons drawn with 100's of lines with 6-point polygons
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9584 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:07 +10:00
Echelon9
46d854d9f0
PVS-Studio fix: There is only one PI.
...
V624 The constant 3.14159 is being utilized. The resulting value could be inaccurate.
2012-07-16 11:44:22 +00:00
Echelon9
791146c9ac
GCC warnings: first pass of warning: variable is set but not used
2012-06-12 15:32:47 +00:00
The_E
8e271af26b
As requested and tested by VA, bumping MAX_INSTANCE_DEPTH to 10
2012-06-06 10:50:23 +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
3eb9602696
Documentation: Complete code clean up of the 3d/2d code
2011-09-07 14:33:26 +00:00
Echelon9
f1cd24101f
Documentation: Code clean up in 3dlaser.cpp
2011-09-07 14:26:25 +00:00
Echelon9
dd99b7b035
Documentation: Code cleanup of 3ddraw.cpp
2011-09-07 14:22:03 +00:00
Echelon9
687b91d197
Documentation: Code cleanup to 2d.cpp, 2d.h and 3d.h
2011-09-07 14:10:41 +00:00
Echelon9
bcb60d8bd0
PVS-Studio false positive: V537 Consider reviewing the correctness of 'y' item's usage (3dmath.cpp)
2011-08-31 12:58:58 +00:00
Swifty
f6ba2141b4
Shockwaves and death explosions will stay oriented independently of player's bank.
2011-08-07 09:55:18 +00:00
The_E
55427f1690
Patch for sprite orientation from Valathil
2011-08-04 16:25:19 +00:00
Swifty
5283c36d34
Let's try this again without breaking the orb radar: Optimized BSG radar and cockpit displays. Fixed cockpit models not switching when changing ships.
2011-08-04 11:01:28 +00:00
The_E
4a488dd7f0
Reverting 7411 due to it breaking the standard 3D radar.
2011-08-02 13:02:34 +00:00
Swifty
043d56b3f7
For Diaspora: Optimized BSG radar rendering and cockpit displays. Fixed cockpit models not switching when changing ships.
2011-08-02 10:49:51 +00:00
Echelon9
38257bead8
Documentation: 3D clipper functions
2011-05-12 13:43:42 +00:00
Zacam
75043ff5b1
go_faster from Antipodes 6. Everybody, say "Thank you, taylor!"
2010-10-18 18:32:37 +00:00
taylor
05f95e05ee
fix damage lightning (from Xt tree)
2010-02-06 01:02:24 +00:00
portej05
719825f80d
The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
...
I've tested this through compiling and through hand checking.
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
Wanderer
cabc75bfe5
merge from wanderer branch. 2d and 3d radar images support
2009-05-18 22:08:13 +00:00
Goober5000
6e4021888d
add apostrophes to contractions, lol
2009-04-10 07:49:12 +00:00
WMCoolmon
4bff232cad
Change set-fov back to a global override
2008-08-30 19:48:20 +00:00
WMCoolmon
ddf75fc7e0
Final scripting, camera code updates.
2008-08-30 11:05:48 +00:00
taylor
9231692e48
basic commit of a few Xt tree changes
...
- updated OpenGL code (basic shader support, etc.)
- new ships lab code
- scripting RTT fixes
- don't let FRED hog CPU time
2008-07-16 02:49:19 +00:00
taylor
88693b7388
fix various compiler warnings
2008-03-29 06:30:20 +00:00
taylor
29f8a54cd9
change gr_set_cull() so that it works better (mainly part of the RTT fix)
2008-03-20 20:18:49 +00:00
WMCoolmon
322f6e7d20
g3_draw_polygon, general purpose function that was really needed. Comes in matrix or normal direction variants.
2008-03-15 09:19:13 +00:00
taylor
a22f065ea1
add Murleen's prospective fix and revert r4421 (should cover Mantis #83 , #1248 , and everything loosely based on them)
2008-02-22 02:35:22 +00:00
taylor
05db047497
handle another null vec warning which can happen during a multiplayer respawn or certain death sequences (Mantis bug #1090 )
2006-10-06 10:04:03 +00:00
taylor
66ee39388d
meant to do this before but forgot about it (just replaced "(4.0/9.0) * PI" with it's result)
2006-10-01 19:31:19 +00:00
taylor
806027e4e8
various small compiler warning and strict compiling fixes
2006-09-11 01:00:28 +00:00
taylor
f09c7e2d03
fix things that strict compiling balked at (from compiling with -ansi and -pedantic)
2006-09-08 06:14:44 +00:00
taylor
0107652287
maybe optimize the (PI/2), (PI*2) and (RAND_MAX/2) stuff a little bit
2006-08-19 04:38:47 +00:00
taylor
32440a7dbc
remove some of the old batcher functions, nothing is using them now anyway
...
minor cleanup
add orient UV flipping to HTL drawing functions, like retail/non-HTL has support for
2006-05-27 16:47:12 +00:00
taylor
a39e8900e1
minor cleanup and a couple extra error checks
...
get rid of some wasteful math from the gr_set_proj_matrix() calls
2006-05-13 07:09:25 +00:00
Goober5000
7e41877b7b
proper capitalization according to Volition
2006-04-20 06:32:30 +00:00
taylor
7828fc7e6f
compiler warning fixes to make GCC 4.1 shut the hell up
2006-04-12 22:23:41 +00:00
taylor
9483b0a7d2
some small optimizations and cleanup
...
use floats for gr_bitmap() size and positions, mainly for non-standard resolutions since this allows proper resizing and positioning
(the cast to float was happening later anyway so there should be not additional slowdown from that with standard resolutions)
change g3_draw_2d_poly_bitmap() to use floats instead of ints, gets rid of the extra cast and allows better resize values
2006-04-12 01:00:58 +00:00
taylor
13a9c694c9
make the main vital TMAP_MAX_VERTS stuff dynamic, should handle the major non-HTL related crashes
2006-03-18 10:23:46 +00:00
Goober5000
b52b6b1e00
spelling
2006-02-25 21:47:19 +00:00
taylor
6f18a905e0
more TMAP_MAX_VERTS overflow protection for non-HTL usage (these are the things that need to be addressed to fix non-HTL)
...
fix some compiler warning messages
don't do any decal processing if decals are disabled, the math was a waste of CPU cycles in that case
2005-10-28 14:45:55 +00:00