Commit Graph

9353 Commits

Author SHA1 Message Date
rdb e098da9030 Support uint8 indices in DX9 renderer 2016-07-10 15:48:17 +02:00
rdb c34758ea5c Cg fixes for DX9 2016-07-10 14:31:58 +02:00
rdb fa7730819f Fix assertion when using aux render targets in DX9 2016-07-10 14:05:29 +02:00
rdb f7fde882b8 Fix uninitialised variable 2016-07-10 12:25:35 +02:00
rdb 44d59edc30 Fix cube map render and rendering the same camera with two GSGs
The problem was that the cull result was being reused across different lens indices and GSGs
2016-07-09 14:42:25 +02:00
rdb 11861cb73d Backport shadow-depth-bits config var to 1.9 2016-07-09 14:27:33 +02:00
rdb 47d1b4e220 PythonTask: don't crash if repr(owner) errors, deal better with bad owners 2016-07-09 10:02:55 +02:00
rdb fd8dd360b2 Fix compile error statically linking build with DX9 2016-07-09 09:59:51 +02:00
rdb 7dfd907e17 Try to report red/green/blue bits for Cocoa windows 2016-06-27 00:38:14 +02:00
rdb bf26cecb32 Fix some compile warnings 2016-06-22 13:44:16 +02:00
rdb 1974b3e692 Fix deadlock waiting for Python task to end at end of program 2016-06-12 12:04:03 +02:00
rdb 12873c0d7e Fix wxPython and tkinter issues on Mac OS X 2016-06-10 02:02:36 +02:00
rdb 0a731d0545 Improve performance of texture load/store 2016-06-09 21:49:26 +02:00
rdb a1749b2f07 Don't align transform_blend vertex column to 4 byte boundary
Somewhat improves performance of CPU vertex animation
2016-06-09 21:48:57 +02:00
rdb b303962e96 Disable cycle detection in tasks for now, it is way too unstable 2016-06-09 16:48:31 +02:00
rdb e9c76328fb Fix a crash in PythonTask destructor 2016-06-08 13:18:31 +02:00
rdb d53b2ca80e Backport various bugfixes from master, among which:
- Fix Windows pbuffer crash on Intel cards
 - Fix crash when using pnmimage.write with unsupported format
 - Fix GLSL diagnostics on Mesa GLES2 compiler
 - Reduce warning severity when resizing immutable storage texture
 - Print more debug info when FrameBufferProperties are insufficient
 - Fix "Bam file contains objects of unknown type: MovingPart<LMatrix4f>"
 - Fix memory leak in BulletTriangleMesh
 - Fix pmerge in Python 3
2016-06-07 14:40:27 +02:00
rdb 82fdb30957 Fix incorrect format selection for renderbuffers (missing alpha channel) 2016-04-12 20:44:07 +02:00
rdb 873fd3294a Work around bug in certain Intel drivers with #pragma include 2016-04-12 18:20:27 +02:00
rdb 2b034506fa Backport fixes for Arch compile issues to 1.9 2016-03-25 01:40:00 +01:00
rdb ce947adf8f Replace uses of "delete" with "delete[]" where appropriate 2016-03-24 23:56:12 +01:00
rdb cccd29cc61 Fix use of uninitialized variable pointed out by valgrind 2016-03-17 21:39:42 +01:00
rdb 844a284925 Fix mipmap level count calculation for texture arrays 2016-02-22 19:47:08 +01:00
rdb ef623aa0e2 pview should use clamp wrap mode when loading image as model 2016-02-03 13:37:23 +01:00
rdb 623d81db6b Support various kinds of BMP headers (incl reading bmp with alpha) 2016-02-03 13:36:38 +01:00
rdb c855049f24 Fix glstuff compilation error 2016-01-27 17:14:32 +01:00
rdb 375baaaabd Fix constant reloading of texture when using gl-ignore-mipmaps 2016-01-26 11:39:50 +01:00
rdb d574dd4b0b Fix texture format selection in FrameBufferProperties 2016-01-26 11:39:19 +01:00
rdb ea368dd559 Bam reader robustness; allow threaded bam reading from Python 2016-01-26 11:35:04 +01:00
rdb 47de3542f6 Apply tobspr's texture memory calculation fixes to 1.9 branch 2016-01-26 11:15:22 +01:00
rdb 8564dbedce Backport workaround for NVidia 361.43 driver bug to 1.9 2016-01-03 20:09:24 +01:00
rdb 6a2e1a438c Clamp shininess to 0 to avoid a GL error when negative shininess was entered 2016-01-02 21:48:25 +01:00
rdb 8eab20a6c1 gl-texture-max-lod false should not inhibit the setting of GL_TEXTURE_MAX_LEVEL 2015-12-31 20:43:30 +01:00
rdb 6035a9613d Fix issues in box-sphere interaction 2015-12-31 20:39:20 +01:00
rdb 86faaae9f8 Add variant of transform_vertices that accepts a SparseArray 2015-12-26 13:54:53 +01:00
tobspr 7d9b5d61f9 Fix crash when unpacking aligned textures 2015-12-25 17:02:34 +01:00
rdb 2f7c8e8e97 Fix typo in error message 2015-12-25 17:00:40 +01:00
rdb 86eef29974 Error instead of crash if no spawn templates are present (with thanks to tobspr) 2015-12-24 16:11:16 +01:00
rdb 5f59f54475 set_render_mode_thickness/perspective no longer overwrites wireframe color 2015-12-19 23:44:23 +01:00
rdb 56194acf87 Fix clock-mode Config.prc setting 2015-12-19 15:34:34 +01:00
rdb 5b1cfd115c Backport some GL tweaks to 1.9, particularly gl-support-texture-lod 2015-12-16 21:07:07 +01:00
tobspr 81691e3103 Fix crash on invalid tangent in rope node, fix invalid tangents for certain up vectors 2015-12-16 20:52:56 +01:00
rdb c0f48900e0 More OpenGL compatibility for versions older than 2.0 2015-12-10 13:52:40 +01:00
tobspr 8e772366b1 Fix unitialized memory in nurbsVertex, prevent division by zero in NurbsCurveEvaluator 2015-12-09 22:53:27 +01:00
rdb c2b44b57c9 Fix crash on very, very, old OpenGL versions 2015-12-09 22:46:25 +01:00
rdb 287c44ce53 Various fixes for Python 3 versions before Python 3.3 2015-12-06 22:05:44 +01:00
rdb 2abe2df1b4 Add dummy return values to keep MSVC happy 2015-11-25 02:53:56 +01:00
rdb f6b66fc5db Fix PhysX compile issues on Mac 2015-11-25 02:01:07 +01:00
rdb a98d50cd61 Fix for older OpenAL versions 2015-11-23 16:33:16 +01:00
rdb f84b9e1f63 More reliable OpenAL device selection mechanism, add fallbacks, prefer "OpenAL Soft" over "Generic Software" 2015-11-23 16:17:44 +01:00