Commit Graph

8543 Commits

Author SHA1 Message Date
rdb ccb80d7837 error message should really be debug message 2012-12-20 16:18:24 +00:00
rdb c7976e945d Fix various GLSL bugs: attributes, p3d_Color range, and missing MatrixInverseTranspose stuff 2012-12-20 16:01:41 +00:00
David Rose 3af8da3bcd loader.saveModel(), EggToObjConverter, etc. 2012-12-20 00:09:14 +00:00
rdb a02e494ae3 Patch by Josh Enes to fix LP bug 1089245 2012-12-12 08:24:03 +00:00
enn0x ea1a39d123 Bullet: better performance for rigid body scene graph sync 2012-12-10 21:34:30 +00:00
David Rose 0d43ab3c75 read broken dds files with NumLevels 0 2012-12-08 00:49:07 +00:00
rdb 8c83ab08f4 Add get_tag_keys / get_python_tag_keys (based on patch by Josh Enes) 2012-12-02 12:21:17 +00:00
enn0x b309198210 PhysX: adding controller report callbacks. 2012-11-27 23:32:59 +00:00
enn0x 70cea909c5 Bullet: added tick callback, and filter callback now uses CallbackObject. 2012-11-26 22:49:36 +00:00
enn0x 8d66921d79 Bullet: contact added callback 2012-11-24 22:29:00 +00:00
enn0x a762ee42f4 Exposed additional member of btManifoldPoint 2012-11-20 22:53:50 +00:00
David Rose 3b8025c54c whups, typo 2012-11-20 21:41:32 +00:00
David Rose 6f248198e7 clip to bounds in make_displacement() 2012-11-20 19:36:08 +00:00
David Rose b16e829044 mult_sub_image() 2012-11-20 19:33:56 +00:00
David Rose 779fceafdd make_callback_gsg() 2012-11-20 12:11:14 +00:00
David Rose 1733b1abd9 ae-undershift-factor 2012-11-20 00:32:43 +00:00
David Rose 85014ba179 fix some off-by-one errors 2012-11-19 23:06:41 +00:00
Zhao Huang 3d05d84d87 Added support for shorthand shaderinput lexicons like mspos_camshadow and
trans_model_to_clip_of_camshadow to GLSL.
2012-11-13 02:45:44 +00:00
rdb 4166327919 Fix some special keys, specifically backspace (it was mismapped to delete) 2012-11-08 13:35:48 +00:00
David Rose 267e02c3d3 PfmFile::store_mask() 2012-11-07 19:08:32 +00:00
rdb 4017e1897d Backport to work on Leopard as well 2012-11-04 13:56:09 +00:00
David Rose 5c644b7543 compile with STDFLOAT_DOUBLE 2012-11-03 19:42:28 +00:00
rdb 68863d5c14 fix GLSL 2012-11-03 13:50:32 +00:00
rdb 6a98f97c9b support pre-10.6 OSX 2012-11-03 13:39:53 +00:00
David Rose 7299a150c3 raise precision of 16-bit image processing 2012-11-02 01:14:51 +00:00
David Rose 94bf21b65c make_displacement() 2012-11-01 20:23:15 +00:00
rdb 21c922c7cd Some fixes for ppremake+bullet 2012-10-25 22:03:04 +00:00
rdb c7c5671911 0 -> NULL 2012-10-25 08:56:22 +00:00
rdb de2d36f073 Change ClockObject to a regular pointer, to avoid static init issues 2012-10-25 08:54:49 +00:00
rdb 793665d2a6 Fix Cg include 2012-10-25 08:53:59 +00:00
rdb b2dcde40c7 Apply patch by Josh Enes 2012-10-22 10:11:40 +00:00
rdb 3f4195616a Apply patch to fix bug 1013419 2012-10-22 08:21:48 +00:00
rdb 19cb1e5230 Commit Camera::set_lod_scale patch by Josh Enes 2012-10-19 15:25:48 +00:00
enn0x 7fef72afee Undo Bullet double define, see https://www.panda3d.org/forums/viewtopic.php?p=88420#88420 2012-10-14 11:39:30 +00:00
rdb 6b0bf98d0e fix some minor bugs, and remove unsupported double-precision glUniform functions 2012-10-12 17:12:32 +00:00
rdb 879540aec4 Fix incorrect centering formula 2012-10-10 07:41:07 +00:00
enn0x 5d6d2d850c bullet with double precision 2012-10-05 20:57:20 +00:00
rdb b53de998c9 Fix compile error introduced by zhaohuang's commit 2012-10-03 20:08:15 +00:00
David Rose a098df8670 fix win32 link issue 2012-10-01 17:59:36 +00:00
Zhao Huang bc900d2555 In Rev 1.130 of GraphicsOut.cxx by drwr, the query for render-to-texture support is no longer made to the gsg directly at line 368, but is instead routed through an internal GraphicsOut.get_supports_render_texture() which defaults to false. In the wgl path, the derived wglGraphicsBuffer supplies its own get_supports_render_texture() that queries the gsg. The DirectX equivalent classes do not supply an overriding get_supports_render_texture() and so fails everytime when trying to render_to_texture.
Hence, why distortion the sample is failing under Dx9.

This set of fixes patches in the requisite get_supports_render_texture() for wdxGraphicsBuffer9 and fixes a few typos between depth and color texture usages. It also fixes a depth buffer bug with render-to-textures where the depth check appeared to be missing.

Thanks to Jonah (11thpenguin) for these fixes.
2012-10-01 04:33:54 +00:00
Zhao Huang a6993457cc In Rev 1.130 of GraphicsOut.cxx by drwr, the query for render-to-texture support is no longer made to the gsg directly at line 368, but is instead routed through an internal GraphicsOut.get_supports_render_texture() which defaults to false. In the wgl path, the derived wglGraphicsBuffer supplies its own get_supports_render_texture() and querys the gsg. The DirectX equivalent classes do not supply a new get_supports_render_texture() and so fails everytime when trying to render_to_texture.
This patches in the requisite get_supports_render_texture() for wdxGraphicsBuffer8 and fixes a few typos between depth and color texture usages.

Thanks to Jonah (11thpenguin) for pointing these mistakes out.
2012-10-01 03:21:23 +00:00
David Rose 8e3e89b5b3 fix build circularity issue 2012-10-01 00:40:56 +00:00
enn0x 62ffe69dbc Providing a single method for attaching/removing objects from a world. 2012-09-28 20:47:15 +00:00
enn0x 526159f961 A few asserts for better error localisation. 2012-09-28 20:20:05 +00:00
David Rose 0fa4376f8a pnmImage::flip() 2012-09-26 21:55:43 +00:00
David Rose 306bb1ff42 add set_vis_blend() 2012-09-26 17:44:45 +00:00
David Rose 7c830b277f forward_distort, reverse_distort 2012-09-22 00:48:31 +00:00
David Rose f0c6f3fb45 fix PfmFile::extrude() 2012-09-21 21:36:35 +00:00
David Rose 3df5abf110 fix stdfloat_double goof 2012-09-20 19:04:25 +00:00
David Rose 22534c9a07 wip: extrude() 2012-09-20 00:43:33 +00:00