Echelon9
|
6d52a7c2b2
|
Fix Coverity 1093407 Logically dead code: In model_interp_sub(void *, polymodel *, bsp_info *, int): Code can never be reached because of a logical contradiction (CWE-561). From Flaming_Sword.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10389 387891d4-d844-0410-90c0-e4c51a9137d3
|
2014-02-02 10:52:50 +10:00 |
|
Echelon9
|
2936dde64f
|
Fix Coverity 1093728 Allocation size mismatch: In model_allocate_interp_data(int, int, int): Allocation size is not a multiple of the target pointer's pointed-to type (CWE-131). From Flaming_Sword.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10383 387891d4-d844-0410-90c0-e4c51a9137d3
|
2014-02-02 10:52:49 +10:00 |
|
The_E
|
d20df5b4c9
|
Adds a safety check to model_render_glow_points to stop it from blowing up when a glowpoint texture is for some reason not available
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10006 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-11-10 18:28:56 +10:00 |
|
niffiwan
|
24e7810b24
|
Coverity fixes from Flaming_Sword
Uninitialized scalar field 1093859 1093917 1093810
Out-of-bounds read/access 1093669 1093670
Logically dead code 1093413 1093396 1093407 1093408 1093409 1093410 1093423 1093427 1093390
Allocation size mismatch 1093729 1093728
Unused pointer value 1093921 1093922
Wrong sizeof argument 1093732 1093731
Operands don't affect result 1093365
Dereference after null check/return value 1093475 1093455 1093627
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9979 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-10-27 13:51:50 +10:00 |
|
zookeeper
|
81a40458c2
|
Fixed -misc maps being dependent on LOD and lighting levels.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9929 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-10-16 19:46:02 +10:00 |
|
Goober5000
|
a0c510e1c6
|
fix Mantis #2931: don't prematurely exit the model_interp_tmappoly method if we're drawing outlines
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9913 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-10-16 19:46:00 +10:00 |
|
niffiwan
|
62d06cfcd9
|
Coverity multiple CID: fix potential not null terminated strings
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9842 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-09-29 22:12:22 +10:00 |
|
Goober5000
|
c7f6394d6c
|
polymodel code now has basic class management in place and no longer uses memset
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9833 387891d4-d844-0410-90c0-e4c51a9137d3
|
2013-09-28 11:47:23 +10:00 |
|
Valathil
|
3fbbaf05fa
|
Fix for Mantis 2738: Reset buffer state before drawing spheres and lines. Additionally fix the new htl outline rendering in fred by setting the outline color.
|
2012-12-19 00:11:28 +00:00 |
|
Goober5000
|
5b77af048c
|
since invisible textures were loaded as -1, they have to be flagged specially to actually replace real textures (Mantis #2340)
|
2012-12-17 08:00:17 +00:00 |
|
Valathil
|
ec32829615
|
Fix for Mantis 184: Use Vertex shader to replicate nohtl rendering of thruster cones. Also make shader state handling a bit less hackish.
|
2012-12-09 21:51:20 +00:00 |
|
Valathil
|
96c9a56549
|
Fix for Mantis 2727: Add Autocenter for debris rendering
|
2012-12-03 20:45:14 +00:00 |
|
Valathil
|
699e69b027
|
Followup to 9357: Don't flush texture state we don't care about that in shader pipeline and also move the fix to a more efficient place per Swifty's suggestion.
|
2012-11-18 23:33:01 +00:00 |
|
Zacam
|
815b74691b
|
Lets see if this handles Mantis 2724.
On Valathil's suggestion, pulled the code added in 9312 from 'model_render_glow_points' and 'model_render_thrusters'
|
2012-11-04 21:50:34 +00:00 |
|
The_E
|
40536f9069
|
PVS Studio fix: Pointer shipp is not checked against NULL
|
2012-11-03 09:36:44 +00:00 |
|
Swifty
|
2b857771fc
|
Created Hardpoints gauge.
|
2012-09-10 06:58:59 +00:00 |
|
Swifty
|
eeeeb2ce96
|
Base support for desaturated model rendering.
|
2012-09-10 04:51:11 +00:00 |
|
The_E
|
f5ebe4be4a
|
Fix for Mantis 2685: Glowpoints attached to a modelled subsystem will be rendered even if that subsysstem has been destroyed
|
2012-08-18 16:57:48 +00:00 |
|
Swifty
|
c6c12fc251
|
go_even_faster: Improved collision detection performance by rewriting broadphase and narrowphase testing.
|
2012-08-11 21:14:53 +00:00 |
|
Swifty
|
638ff917a1
|
go_even_faster: Added framework to improve rendering performance by reducing OpenGL state changes between vertex data binds.
|
2012-08-11 20:20:24 +00:00 |
|
The_E
|
64d55a67a1
|
Fix to make glowpoints respect clip planes during warpout again
|
2012-08-03 18:19:35 +00:00 |
|
Swifty
|
ad6e68d819
|
Corrected glow point directional attenuation. Need to use world coordinates of glow points, not local.
|
2012-07-18 08:07:47 +00:00 |
|
The_E
|
cc2b907673
|
Changes the glBegin()/glEnd() stuff we were using in some places to the more modern glDrawArrays() way of doing things. Thanks to Kromaatikse for the initial implementation.
|
2012-07-02 15:48:56 +00:00 |
|
The_E
|
72bfeef335
|
Changing glowpoint rendering from being a separate step during model rendering to being a part of the batch renderer. This makes glowpoint rendering much faster.
|
2012-06-24 20:17:46 +00:00 |
|
Echelon9
|
791146c9ac
|
GCC warnings: first pass of warning: variable is set but not used
|
2012-06-12 15:32:47 +00:00 |
|
zookeeper
|
3f34b57fb3
|
Allowed detail spheres to provide an $offset: x,y,z prop to offset the sphere from the model center.
|
2012-05-18 15:24:45 +00:00 |
|
The_E
|
be86dc5254
|
Introduces "-misc" maps, which can be used to pass information to shaders using the sMiscmap sampler and FLAG_MISC_MAP shader define.
|
2012-05-12 21:08:15 +00:00 |
|
Valathil
|
a6d112c192
|
Fix for transparent submodels that are children of submodels.
|
2012-05-04 21:26:49 +00:00 |
|
zookeeper
|
7ebb6f53a3
|
Fixed a screwup in $detail_sphere distance calculation.
|
2012-03-31 20:10:26 +00:00 |
|
The_E
|
5c18143aa1
|
From casual_pilot: Fix for Mantis 2395 (incorrect index values passed to OpenGL)
|
2012-03-05 12:01:44 +00:00 |
|
Valathil
|
fe511293fa
|
Fix for Mantis 2614: Remove that statement, it works fine without exponentiating the offset.
|
2012-02-27 16:45:29 +00:00 |
|
Valathil
|
1d64312266
|
Fix for Mantis 2534: Separate Warp IN and OUT when checking if the thrusters are behind the clip plane and don't do any checks for the "Hyperspace" warp type
|
2012-02-03 19:05:01 +00:00 |
|
Valathil
|
5fcc1c513e
|
Add a random offset to the thruster distortion to make thruster clusters look better.
|
2012-02-03 15:27:24 +00:00 |
|
zookeeper
|
fe604aaf4a
|
Added support for the $detail_sphere submodel prop.
|
2012-01-26 14:25:20 +00:00 |
|
The_E
|
eed196e9ba
|
Followup to 8327: Texture names from pofs are provided without extension, so we have to make sure to account for it.
|
2012-01-23 13:51:13 +00:00 |
|
The_E
|
9b15f2bc0f
|
Fix for Mantis 1997: "Filename too long" warning for nonexistant textures.
|
2012-01-23 01:25:08 +00:00 |
|
zookeeper
|
a42c430650
|
Added support for the $Targetbox Shader Effect option in hud_gauges.tbl.
|
2012-01-05 19:48:39 +00:00 |
|
The_E
|
717ea3a2dd
|
From zookeeper: Proper fix for thrusters attached to rotating submodels
|
2011-11-19 19:11:47 +00:00 |
|
The_E
|
3fd09a9828
|
Slight fix for the "thrusters on rotating subobjects" thing: Only account for rotations that are actually happening.
|
2011-11-15 21:39:39 +00:00 |
|
Zacam
|
bcf9fd90be
|
From zookeeper: allow thrusters to follow a rotating engine
http://www.hard-light.net/forums/index.php?topic=74290.msg1557431#msg1557431
|
2011-11-12 15:22:48 +00:00 |
|
Echelon9
|
9f711bf53e
|
Documentation: General code cleanup for 64bit
|
2011-11-05 08:12:04 +00:00 |
|
Valathil
|
965c251ce6
|
Fix the transparency delay framework to work with submodel_render()
|
2011-10-11 15:55:43 +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 |
|
Echelon9
|
17e9ace62a
|
Documentation: Code cleanup in modelinterp.cpp and ancilliary changes
|
2011-10-03 08:35:36 +00:00 |
|
Valathil
|
a899b8601f
|
Allow customization of the thruster distortion effect in species_defs.tbl and ships.tbl
|
2011-09-12 03:59:45 +00:00 |
|
Zacam
|
b781d3220c
|
From Goober5000: Fix for model read for 'submodel_get_two_random_points' failing to find any points in the POF 'defpoints' as reported by Nighteyes.
|
2011-09-09 15:13:23 +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 |
|
Zacam
|
efaa50fd0c
|
From Valathil: Fixes thrusters with -trans textures
|
2011-09-08 17:12:25 +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 |
|
Valathil
|
388fd3bb81
|
Delay transparent texture rendering to fix z-buffer ordering issues
|
2011-09-06 17:17:58 +00:00 |
|