Commit Graph

8757 Commits

Author SHA1 Message Date
David Rose 531c5907fc fill_distance_inside(), fill_distance_outside() 2013-03-06 22:09:59 +00:00
David Rose 1f309fede5 support greater variety of maxvals when writing png 2013-03-06 22:09:33 +00:00
David Rose d52335621b More pfm enhancements 2013-03-06 02:41:40 +00:00
enn0x 65b698217f Added angular/linear motors for 6DOF constraint. 2013-03-03 22:29:11 +00:00
enn0x f3b4ba8fc8 Added method to retrieve debug node from bullet world. 2013-02-25 20:41:43 +00:00
rdb 21472cda9b Fix GLSL bugs with passing Vec2 and Vec3 2013-02-23 10:55:43 +00:00
David Rose d52e2a9ea9 support UDP broadcast 2013-02-21 17:33:51 +00:00
rdb d4098452e9 forgot to commit this fix 2013-02-19 11:41:42 +00:00
rdb 234619864b Compile with Python 2 2013-02-18 12:59:44 +00:00
rdb 5846d8d8c4 Commit patch from Josh Enes (see LP bug #1027758) 2013-02-17 21:36:05 +00:00
rdb 192d10b937 Experimental Python 3 support to the C++ code including interrogate. Also adds support for rich comparison in interrogate. 2013-02-16 19:22:26 +00:00
rdb d521615f3d fix missing symbol when trying to compile with both HAVE_CARBON and HAVE_COCOA 2013-02-13 15:16:51 +00:00
rdb 645ee9d05f fix compile error on tiger 2013-02-12 15:51:16 +00:00
rdb 6fde10f9d1 write render state info to generated shader as comment. also fix a switch with missing breaks 2013-02-12 15:28:17 +00:00
rdb f9b4dad6f9 Eye normals weren't being normalised when lighting was disabled 2013-02-12 14:30:38 +00:00
enn0x 55b7f59509 Added support for breakable constraints. 2013-02-07 20:57:25 +00:00
rdb 65e555543a fix compile error 2013-02-07 20:37:49 +00:00
rdb b099a82224 fix compile warning 2013-02-07 15:36:24 +00:00
rdb 498badb726 fix CGprofile cast 2013-02-06 08:25:10 +00:00
rdb 6c52484f05 fix compilation for older Cg versions 2013-02-05 22:55:41 +00:00
rdb b04f8a5db8 Add x-wm-class and x-wm-class-name configuration variables (closes LP bug 1075555) 2013-02-05 19:45:13 +00:00
rdb 1b76a13784 detect SM4 and SM5 2013-02-05 12:08:58 +00:00
enn0x 8848966298 Adding helper method for tracking dirty state of BulletRigidBodyNodes. 2013-01-31 11:51:47 +00:00
Przemyslaw Iwanowski ef0545ba41 fixed identifier name 2013-01-30 19:40:28 +00:00
Przemyslaw Iwanowski 2725a289be double declaration fixed 2013-01-30 19:38:40 +00:00
Przemyslaw Iwanowski 609d274573 set_wavoutput added to set writing audio out to a wav file 2013-01-30 19:34:56 +00:00
rdb dbbf6ef012 fix gles compilation again 2013-01-30 17:26:44 +00:00
rdb 31b9233ec6 Fix compilation with OpenGL ES 2013-01-30 11:49:58 +00:00
enn0x 927c9b8c47 Don't use Mac file format. 2013-01-29 21:37:54 +00:00
rdb 8e4f43ea34 fix gles 2 compilation error 2013-01-29 18:29:19 +00:00
rdb 731d6197d9 fix compilation errors 2013-01-29 17:47:18 +00:00
rdb 78c982f0c0 Detect whether the OpenGL implementation is software or handware by looking for "PixelFlinger" in GL_RENDERER 2013-01-26 20:33:40 +00:00
David Rose cdbd54c9be PfmFile::box_filter() etc., improved forward_distort(). 2013-01-26 00:24:47 +00:00
rdb bc85e1a4f2 More android support 2013-01-24 20:17:08 +00:00
rdb 0631441b20 Android support, part 2 (display module) 2013-01-24 18:19:54 +00:00
rdb 0303166a35 Some ARToolKit bugfixes and cleanup (makes it work on Mac OS X) 2013-01-19 19:32:51 +00:00
rdb 29871ed63a fix crash on android 2013-01-13 14:49:30 +00:00
rdb 8b40d8f83c fix compiler warning 2013-01-13 14:48:05 +00:00
David Rose de10a2ae4e more bitdepth fixes 2013-01-11 21:01:49 +00:00
David Rose ab40d5456e properly deal with animated vertices in make_flat_mesh() 2013-01-11 17:43:18 +00:00
David Rose 93bd44e85e fix confusion with depth range of Lens::project() 2013-01-11 02:26:36 +00:00
David Rose 6a1beaf609 try to report the correct number of depth bits 2013-01-11 02:26:10 +00:00
rdb b3b306bdc9 egldisplay currently requires X11 2013-01-10 12:24:16 +00:00
David Rose eefb99cbc5 define Lens::extrude_depth() to reverse Lens::project(), and use this in PfmVizzer 2013-01-10 02:01:39 +00:00
David Rose 8dff4f69e5 GeomVertexData::unclean_set_format() and related methods 2013-01-08 00:19:35 +00:00
rdb 6d835868c1 fix incorrect integral type 2013-01-07 20:13:35 +00:00
rdb 7a9e94cac9 fix some cases of 'return false' in functions returning a pointer or integer 2013-01-07 20:13:06 +00:00
rdb 32a47094d7 small compile fix 2013-01-04 12:05:50 +00:00
David Rose b3b2308c6c load obj files directly into PandaNodes for performance 2013-01-04 00:35:42 +00:00
rdb 6f987a585d fix some deprecated function calls, partly based on patch from plaristotle 2013-01-03 19:58:02 +00:00
rdb efe1285e88 Fix the other case of avformat_open_input too 2013-01-02 20:51:16 +00:00
rdb 557257f4b8 support even older versions of ffmpeg 2012-12-31 19:26:23 +00:00
rdb 8ce7ef28d8 Fallback case for avformat_open_input 2012-12-29 20:07:58 +00:00
rdb 1d21ad016e Another deprecated function 2012-12-28 18:11:47 +00:00
rdb 5a4eff9759 New ffmpeg function 2012-12-28 18:05:31 +00:00
rdb 86d32bee63 There's no need to relink the program now that we're no longer use glBindAttribLocation 2012-12-20 18:40:42 +00:00
rdb 052bf2b2bb _glsl_parameter_map has moved to GLShaderContext 2012-12-20 16:21:54 +00:00
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
David Rose c4154ab908 fix bug with PfmFile::flip() 2012-09-14 22:22:39 +00:00
David Rose 449554465d fix bug with vis_inverse() and vis_2d() 2012-09-12 19:33:18 +00:00
David Rose ede16a5287 fix Thread::force_yield() on win7 2012-09-07 16:35:24 +00:00
David Rose 3a6c7cc376 build issue when openssl is not available 2012-08-31 22:19:11 +00:00
David Rose 54a29d5ece fix assertion failures 2012-08-22 02:09:23 +00:00
rdb 33d494d0f4 make AsyncTaskManager::_global_ptr an ordinary pointer to prevent static init issues with PandaFramework 2012-08-15 10:55:40 +00:00
David Rose e5bed7767e LR_DEFAULTSIZE 2012-08-13 23:44:04 +00:00
David Rose ab5a3b2f09 openssl build issue 2012-08-13 22:14:09 +00:00
David Rose 2ff43ca88e some more texture/pfm integration 2012-08-12 17:56:56 +00:00
David Rose 7ba693137c integrate PfmFile with PNMImage, Texture 2012-08-12 15:49:08 +00:00
David Rose 0f1098c1ae move PfmFile to pnmimage 2012-08-11 14:28:56 +00:00
David Rose 5a9cb3f934 revert fiddly change: bad idea. 2012-08-10 18:08:31 +00:00
David Rose 908feb7631 fiddly change to pixel offsets 2012-08-09 23:32:19 +00:00
David Rose 38e4d64f22 add set_texcoord_3d 2012-08-09 05:55:24 +00:00
David Rose 9ae0dd8cca correct matrix for 3-d uvs 2012-08-09 05:27:59 +00:00
rdb 3d68b34f9a forgot this change earlier 2012-08-08 16:35:31 +00:00
rdb 109bb61252 remove stepfast1 stuff to support more recent versions of ODE 2012-08-08 16:33:44 +00:00
David Rose 8b53d19a68 fix issue with rgb + alpha movie textures 2012-08-07 19:25:03 +00:00
rdb 30872b617e somewhat experimental support for 64-bits OS X and OS X Lion 2012-08-06 09:57:34 +00:00
David Rose 37cd123d37 PNMImage::rescale() 2012-08-04 17:13:12 +00:00
rdb 1f0304c696 new Cocoa graphics pipe is now fully functional 2012-08-03 12:14:04 +00:00
rdb dcdc6d9877 mouse coordinates are now stored as doubles, not ints 2012-08-03 12:00:08 +00:00
rdb 1f20cfe19c initialise pystub correctly 2012-08-03 09:40:40 +00:00
David Rose 15b55b2183 animate normals in blendshapes too 2012-07-31 02:46:07 +00:00
David Rose 3ce560b4a9 more pfm refinements 2012-07-26 22:22:59 +00:00
David Rose e2066b62ff wip: add_vis_column() 2012-07-26 02:23:26 +00:00
David Rose d459a084b4 more pfm fixes 2012-07-24 20:50:36 +00:00
David Rose 7fd2a81412 resolve some float-double confusion 2012-07-24 13:09:22 +00:00
David Rose 5eef6cd37e fix some stdfloat_double issues with pfmfile 2012-07-23 04:34:40 +00:00
David Rose 8cc85e4024 support for 4-channel pfm files 2012-07-23 02:10:21 +00:00
David Rose bd6100bcab more low-level pnmimage accessors 2012-07-23 02:09:46 +00:00
enn0x b7eb296cff Support for optional TransformState when adding a Geom to a triangle mesh or convex mesh. 2012-07-10 22:22:59 +00:00
rdb 248e4f2672 add fmod-speaker-mode variable 2012-07-09 13:59:18 +00:00
David Rose bf03940bcb opencv 2.3 2012-07-08 20:04:33 +00:00
rdb 83ffe90202 fix compiler dumbness 2012-07-08 13:37:27 +00:00
rdb 8660443235 remove _physical_node_path entirely on trunk 2012-07-07 19:01:17 +00:00
rdb ece7ed20e1 remove circular reference in Physical::_physical_node_path. 2012-07-07 18:59:23 +00:00
rdb 3ddad3e2d2 let the empty bitmask evaluate to False in Python 2012-07-01 15:23:34 +00:00
rdb b83c81bee4 fix crash when xrandr is not used 2012-07-01 15:20:24 +00:00
David Rose 7aa44fe7e3 add scale-by-color 2012-06-29 13:55:23 +00:00
David Rose 68de528a0f pfm crop 2012-06-27 06:21:04 +00:00
David Rose c2fb0e11a9 revert accidental debug checkin 2012-06-25 22:12:39 +00:00
David Rose 1bd2db3b20 minor refcounting issue 2012-06-22 00:30:12 +00:00