SamuelCho
90c8025588
Code cleanup before the big soft shadows and deferred lighting merge into master.
2015-05-08 21:55:28 -07:00
SamuelCho
520b89408e
Fixed warnings related to graphics code additions.
2015-05-08 21:21:20 -07:00
SamuelCho
094c5fe302
Resolve faster ibx and improved profiling merges.
2015-05-08 20:53:59 -07:00
Swifty
60a5a6bd7c
Removal of IBX file code and related command-line options.
2015-05-07 09:46:58 -07:00
Swifty
6da0d162b8
Fixed compilation issues.
2015-05-02 17:18:51 -07:00
Swifty
c620372357
Soft shadows, deferred lighting, and various major graphics optimizations.
2015-05-02 14:35:37 -07:00
zookeeper
8a50f844b0
Improved warnings text and clarified variable use in turret modelread code.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11236 387891d4-d844-0410-90c0-e4c51a9137d3
2015-02-02 17:21:53 +10:00
Goober5000
8e4d98bd4f
xt branch: minor tweaks to glow_points
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11130 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-13 18:23:31 +10:00
Echelon9
64dad52741
Fix Coverity 1093455 Dereference after null check: In read_model_file(polymodel *, char *, int, model_subsystem *, int): Pointer is checked against null but then dereferenced anyway (CWE-476). From Flaming_Sword.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10384 387891d4-d844-0410-90c0-e4c51a9137d3
2014-02-02 10:52:49 +10:00
niffiwan
4c93092045
Add warning for model insignia specifying an invalid LOD
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10183 387891d4-d844-0410-90c0-e4c51a9137d3
2013-12-03 21:12:50 +10:00
zookeeper
8cd19aa588
Merged model point shields from zookeeper branch.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10135 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-25 19:29:36 +10:00
Wanderer
db183e021c
Continued on Mantis #2806
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10028 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-10 18:28:58 +10:00
Wanderer
0d4cc04cd6
Fix for Mantis #2352 - Turret reset when idle woes and other limited rotation turret woes.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10024 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-10 18:28:58 +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
e8a15e7b22
Port r9728 from zookeeper branch: Made eyepoints match the orientation of their parent submodel.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9865 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-07 20:02:28 +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
zookeeper
46ad62f831
Clarified a warning about missing glowpoint textures.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9791 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-20 19:23:19 +10:00
Zacam
593be42e66
*drum roll* Pilot Code! Originated by taylor. Additional direct work by: The E, niffiwan, CommanderDJ, Pyro3D, Echelon9 (PVS-Studio), Karajorma and Eli2. (If I missed you, don't kill me.)
...
MASSIVE thanks to Mjn.Mixael and Blue Planet for tireless constant testing.
(It's still not perfect, but it probably wouldn't be where it is at without them)
Spans a lot from initial commit to AP Branch in r6835.
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9561 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
zookeeper
222f632943
Fix turrets not getting can_move = true set for them; fixes at least glowpoints parented to turrets not moving right.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9560 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
Goober5000
55d4f0b96c
follow-up to revision 9127: that commit breaks FSPort (causing part of the nameplated Orions to be translucent), so let's just check that "nameplate" is the entire texture name
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9537 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
1409e7d6cf
don't throw errors for missing skybox models... we just won't display the skybox
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9524 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
6b62d36e02
change from 1 meter to 0.1 meter
2013-01-07 04:35:36 +00:00
Goober5000
c610a1f9a2
FUBAR's fix for Mantis #2770
...
see http://www.hard-light.net/forums/index.php?topic=83122.0
2013-01-07 03:31:46 +00:00
FUBAR-BDHR
8cb31c63e7
Mantis 2759 - Add Warning for null normals on docking points
2012-12-24 06:23:56 +00:00
The_E
d702b276ef
Rename the model subsystem flag masks to MSS_MODEL_FLAG_MASK and MSS_MODEL_FLAG2_MASK respectively, for readability
2012-12-18 21:55:26 +00:00
The_E
20f7383d4a
Fix for Mantis 2513 by Admiral MS: Fixes issues with two ship classes sharing model data.
2012-12-18 21:46:35 +00:00
Valathil
01cb063bd4
Fix for Mantis 2693: Fix rotating submodels still colliding even if $no_collision or $no_collision_this_only is set. Also fix ships that have $no_collision on detail0 set colliding with bigger ships.
2012-12-06 20:44:29 +00:00
Goober5000
5ac69dc1a2
for Mantis #2346 and #1129 -- munge the data if it runs afoul of the warnings
2012-12-05 04:20:45 +00:00
Valathil
3c9130e39b
From Mantis 2346: Spit out a warning if the two docking slots lie on the same axis as the docking normal.
2012-12-04 23:02:02 +00:00
Valathil
b3465ad929
From Mantis 1129: Spit out a Warning if a model has a docking port with identical slot positions.
2012-12-04 20:25:55 +00:00
Swifty
e4880e319e
Made sure that cockpit models are getting flushed out when unloading a given model.
2012-10-15 06:21:00 +00:00
Goober5000
424c315575
remove a warning
2012-09-24 06:58:10 +00:00
Echelon9
fae7e022ad
Fix LLVM warning: Declaration shadows a local variable (modelread.cpp)
2012-09-06 16:59:02 +00:00
The_E
f591b04348
Adding nameplate textures to the list of texture names that trigger the transparency renderer.
2012-08-20 19:00:28 +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
Echelon9
2214bb7ac6
GCC warning: missing initialiser
2012-06-13 14:07:37 +00:00
Goober5000
9fd70fd5a9
fix for Mantis #2117 (dock names with trailing spaces cause errors)
2012-05-22 08:39:13 +00:00
The_E
10a2e8d1d3
Ooops, forgot the safety check
2012-05-19 09:27:36 +00:00
The_E
aa67e7dd1f
Decoupling height and normal maps
2012-05-19 09:22:11 +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
zookeeper
a1ab5a725d
Fixed a pointer assignment which should have been a value assignment.
2012-05-05 15:01:14 +00:00
Valathil
bded282738
Fix for transparent cockpits that should'nt be transparent. Breaks lightshafts for cockpit models with glass which don't use "-trans". This may be remedied in the future.
2012-05-04 18:49:34 +00:00
Echelon9
8947768fda
warning C6246: Local declaration of 'props' hides declaration of the same name in outer scope
2012-04-11 13:00:28 +00:00
The_E
ae084d47e0
Do shader compilation during modelload, in order to avoid having to compile shaders during gameplay as much as possible
2012-04-09 12:43:20 +00:00
zookeeper
472837efb3
Added the "no disappear" subsystem flag. http://www.hard-light.net/forums/index.php?topic=79093.0
2012-02-15 07:54:38 +00:00
The_E
1460805856
Given that there's an exit path available right here, changing this Assert() into a Warning() seems appropriate.
2012-01-28 19:32:09 +00:00
zookeeper
fe604aaf4a
Added support for the $detail_sphere submodel prop.
2012-01-26 14:25:20 +00:00
The_E
438aee9862
These error messages need to be waay clearer
2012-01-20 14:55:06 +00:00
The_E
10713cebc4
Fix for Mantis 2561: Rotating guns don't rotate. Allows gun rotation property to be set by using "$gun_rotation".
2012-01-13 10:44:55 +00:00