Commit Graph

9324 Commits

Author SHA1 Message Date
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
David Rose 61ceee2e73 fix crash with bam version upgrade 2012-06-21 20:06:28 +00:00
David Rose baafed0220 minor build issue 2012-06-19 17:02:59 +00:00
David Rose 5a5a6387bd fix issues with grayscale pfm files 2012-06-19 06:01:06 +00:00
David Rose c64a59d62e integrate pfm files more tightly with other image file types 2012-06-19 04:45:36 +00:00
David Rose 36f909b2bf support patches for characters too 2012-06-14 22:32:36 +00:00
rdb e79c9aef46 more changes 2012-06-13 17:26:21 +00:00
rdb 92caea4823 missed one 2012-06-12 13:44:28 +00:00
rdb ccbfafaf8f fix the glShaderSource prototype, also fix compilation for GLES2 2012-06-12 13:34:39 +00:00
rdb 256cb5c2f7 Compile on OpenGL ES, which doesn't have geometry shaders or tesselation shaders 2012-06-12 10:34:07 +00:00
rdb 5ba7076808 apply patch in bug LP#1009593 and up bam version 2012-06-11 15:03:41 +00:00
rdb 0e72e83f4e compile correctly for OpenGL ES 2012-06-10 14:13:53 +00:00
rdb b71bca5c49 a lot of improvements 2012-06-07 07:52:56 +00:00
rdb 24cdca64e7 Brand new Cocoa display module 2012-05-25 10:38:47 +00:00
David Rose d1c9bee195 generate_vis_points() should respect zero_special 2012-05-25 00:00:11 +00:00
rdb 963c235877 initialise all DisplayMode members 2012-05-24 08:48:50 +00:00
David Rose e137dfcaa4 fix thread-unsafe tga loader 2012-05-14 16:58:44 +00:00
David Rose 78e72288ad improve rescale_texture() and consider_rescale() when loading texture from in-memory PNMImage 2012-05-10 13:46:08 +00:00
rdb 5f8283c9fb same fix elsewhere in code 2012-05-08 19:36:37 +00:00
Andrew Wason 4ced98fae9 LP bug 992049: patch from Andrew Wason 2012-05-08 19:35:19 +00:00
rdb d1c80b3876 fix bug LP 996478: Resetting default mouse cursor causes error message popup 2012-05-08 19:31:46 +00:00
David Rose c707de0661 add add_sub_image() 2012-05-01 17:12:20 +00:00
enn0x ae4c5cb5e9 Additions to PhysX CCD support. 2012-05-01 09:03:11 +00:00
enn0x ad54aff016 Exposed CCD for PhysX. 2012-04-30 22:45:12 +00:00
David Rose e9053ff910 support GLSL tessellation shaders 2012-04-27 20:29:47 +00:00
Andrew Wason 9e6cc04792 commit another rectalogic patch, to fix pbuffers on GLX 2012-04-25 18:20:13 +00:00
rdb 58675b889d work around archlinux compiler bug 2012-04-18 18:51:43 +00:00
enn0x 907872267a Added get/set_param 2012-04-15 22:44:17 +00:00
David Rose 98d7643a23 PfmFile::flip() 2012-03-28 21:06:38 +00:00
David Rose 772e96881b revert accidental commit 2012-03-28 00:13:58 +00:00
David Rose 29e5d74613 LMatrix4::xform_point_general_in_place() 2012-03-28 00:12:56 +00:00
David Rose fcbf66df25 tag some more methods BLOCKING 2012-03-27 14:31:11 +00:00
enn0x 48b3b4dc55 Python callback for collision filtering 2012-03-26 20:06:10 +00:00
David Rose d280ad2a81 deal with initially hidden windows properly 2012-03-22 18:11:11 +00:00
rdb 7978472f00 Reverting this whole mess 2012-03-20 14:32:14 +00:00
rdb d9ef0f11ae allow comparison between BitMask and integer 2012-03-20 10:59:21 +00:00
rdb 0b4654d512 let's try operator WType 2012-03-19 20:54:04 +00:00
rdb 4818adb5ed actually, temporarily revert my "operator WType" too, Python uses it for bool evaluation too 2012-03-19 09:58:39 +00:00
rdb 32ec1fbc77 actually remove operator bool, but keep operator WType 2012-03-19 09:41:49 +00:00
rdb 47f3933489 allow casting bitmasks to their integer type, and make sure that bool(bitmask) is False when all bits are off 2012-03-19 09:39:43 +00:00
David Rose 81caaa764b all ConditionVar::wait() methods need to be BLOCKING 2012-03-16 20:27:05 +00:00
David Rose 9a93914d58 properly support a different coordinate system per camera (or lens) 2012-03-14 20:51:58 +00:00
David Rose 19ddfa1ba2 fix several coordinate system issues 2012-03-14 16:29:05 +00:00
rdb ea3b967f8a support loading icons through the VFS 2012-03-13 17:35:28 +00:00
David Rose c8c7ea5dfb add set_no_data_value() 2012-03-13 16:18:33 +00:00
rdb 252b7bc656 fix type-oh 2012-03-12 18:57:46 +00:00
rdb 5e7fb20065 fix issue introduced by CMU students (bless them) 2012-03-12 09:12:31 +00:00
David Rose 95c7d74a4d fix textures-auto-power-2 2012-03-05 19:14:00 +00:00
rdb d1e912e5e7 make multi-line textarea work 2012-03-04 21:23:41 +00:00
rdb a018f152df *** empty log message *** 2012-03-04 14:10:25 +00:00
David Rose 4183b88c44 fix obscure text-rendering crash 2012-03-03 18:34:56 +00:00
David Rose f9faceee5b fix CardMaker for y-up 2012-03-02 14:53:36 +00:00
David Rose c9f9eba3fc fix relative dependent filenames in bam cache 2012-03-02 14:06:16 +00:00
rdb 700c299844 hack to make decorators work 2012-02-29 12:51:36 +00:00
rdb 46d85d7ac1 keep cursor hidden when switching to fullscreen (LP bug #784153) 2012-02-28 11:04:38 +00:00
enn0x 4546fb9e77 (Perhaps) fixing BulletContact crashes on Linux 2012-02-27 22:46:42 +00:00
David Rose ec81b415a5 implement cache-check-timestamps for models 2012-02-26 03:02:57 +00:00
David Rose ce0ad5dde8 work-in-progress: cache-check-timestamps 2012-02-25 02:28:41 +00:00
David Rose a572d1a413 shouldn't automatically build a dependency on Windows 7 2012-02-22 18:43:56 +00:00
David Rose 849f276dd8 track mouse beyond DisplayRegion too 2012-02-22 04:23:11 +00:00
rdb 5f649a31c1 protect from interrogate 2012-02-21 15:56:23 +00:00
rdb 562296e694 add support for the libRocket debugger 2012-02-19 12:20:16 +00:00
enn0x 1d5b7d4c55 Exposing btWheelInfo::RaycastInfo. 2012-02-17 21:37:05 +00:00
David Rose 3a75ebde9a DepthOffsetAttrib::min_value, max_value 2012-02-17 19:11:22 +00:00
David Rose ef44a814a3 project() should preserve w coordinate 2012-02-16 18:26:09 +00:00
David Rose 646f12f625 squelch backtrace on SystemExit 2012-02-16 00:19:09 +00:00
David Rose c301075586 set_view_mat() needs to be preserved through make_copy() 2012-02-15 02:02:13 +00:00
David Rose 2c7d493513 NodePath::set_tex_projector(..., lens_index) 2012-02-14 02:40:51 +00:00
David Rose 51d420ed81 new certificate authorities needed--I guess we need to automate this somehow 2012-02-13 17:38:51 +00:00
David Rose e6ffb2e509 more robust handling of graphics buffers with very limited (e.g. netbook) graphics drivers 2012-02-13 14:13:36 +00:00
rdb 949395a4cc Add normal_gloss texture mode (requested by wezu) 2012-02-13 08:35:52 +00:00
rdb 39e520268d fix debugging message accidentally left in 2012-02-13 06:59:22 +00:00
David Rose d81fef3ae1 early fail on GLGraphicsBuffer if no support for fbo 2012-02-13 01:47:08 +00:00
David Rose 841bfb0743 fix Tut-Fireflies demo (problem with initially zero-sized buffers) 2012-02-12 21:40:16 +00:00
rdb 90eac01be0 One more step towards PointLight shadows 2012-02-12 15:22:04 +00:00
David Rose f2d095b3a3 fix win32 build issue 2012-02-11 23:40:57 +00:00
David Rose bb8867fb77 move GSG::get_supports_render_texture() into GraphicsOutput to support render-to-texture on non-Windows platform. Also, further fixes to FBO render-to-texture. 2012-02-11 21:09:35 +00:00
rdb 6795dd86b1 show error message when rocket fails to open a file 2012-02-11 11:36:57 +00:00
enn0x fd1f1e19b3 Added base class for character controllers, in oder to allow C++ developers to replace the default implementation with their own. 2012-02-11 10:02:25 +00:00
rdb 9afc789755 no GL_MULTISAMPLE in gles 2012-02-11 09:47:02 +00:00
rdb 1c8f6f378a Attempt to unbreak OpenGL ES build 2012-02-11 09:21:54 +00:00
David Rose fffc982206 fixes to depth buffer for cube maps 2012-02-11 02:21:05 +00:00
David Rose d743dc8a55 The buffer flip should be performed in end_flip(), not in begin_flip(). This long-existing mistake caused double-flips with parasite buffers in effect. 2012-02-10 18:21:55 +00:00
David Rose 61fa1e4c26 extend compute_planar_bounds() 2012-02-10 02:02:13 +00:00
David Rose d34c964e53 UnionBoundingVolume, IntersectionBoundingVolume, Camera::set_cull_bounds() 2012-02-09 21:55:31 +00:00
David Rose abf84dbd0a something's broken with FBO-based cube maps and the depth buffer. Needs more research. 2012-02-08 23:30:46 +00:00
enn0x 3345f207b8 Fixed bug in CTOR for BulletCylinderShape, and added copy constructor for all shapes. 2012-02-08 22:22:20 +00:00
David Rose 6d630e2cf1 auto-clear depth between eyes by default for stereo 2012-02-08 20:34:26 +00:00
David Rose 9d83449006 expose Lens::get_last_change() 2012-02-07 23:01:56 +00:00
David Rose e125604c50 use fourth point for compute_planar_bounds(). 2012-02-07 20:34:05 +00:00
David Rose b7a51b133e GraphicsOutput::set_swap_eyes(), PfmFile::set_flat_texcoord_name() 2012-02-07 19:16:27 +00:00
David Rose 2d1cee4623 fix stereo rendering in pview 2012-02-07 19:11:32 +00:00
David Rose c931758917 compilation error 2012-02-07 05:22:45 +00:00
David Rose 53c9fd5086 typo 2012-02-06 23:18:23 +00:00
David Rose d90284daf2 further experimenting with bba 2012-02-06 17:22:37 +00:00
David Rose 8a6c221d94 minor cut&paste error 2012-02-04 01:17:25 +00:00
David Rose 651a95df40 format_coordinate_system() 2012-02-04 00:04:29 +00:00
David Rose 81384baf08 don't write blue images for grayscale bmp files 2012-02-03 22:58:16 +00:00
David Rose 85e983dbb1 compilation issue 2012-02-03 22:25:54 +00:00
David Rose 78abcf23e7 ConnectionManager::wait_for_readers() 2012-02-03 19:58:08 +00:00
David Rose e893b91a17 unify mayapath.cxx and mayaWrapper.cxx 2012-02-02 17:45:48 +00:00
rdb eaa31cc65b fix font colour issue (all text was showing up white regardless of font colour) 2012-02-01 11:10:17 +00:00
rdb c04486cb14 this should fix an error on Windows 2012-02-01 11:03:21 +00:00
rdb 81513a83cd "and" and "or" keywords aren't valid C++ 2012-02-01 09:17:56 +00:00
David Rose 683743345a whoopsy 2012-02-01 02:47:26 +00:00
David Rose 948ce27815 PfmFile::merge() 2012-02-01 00:51:20 +00:00
David Rose c67fb27206 support subclassing CollisionNode properly 2012-01-31 23:45:55 +00:00
David Rose 2d4170963b a few more degenerate cases 2012-01-31 23:45:22 +00:00
rdb fadea1bedb include filename.h even when zlib support hasn't been compiled in 2012-01-31 21:39:48 +00:00
David Rose 4c578d3ccb show number of dependent files (to make zero files more obvious) 2012-01-31 20:31:32 +00:00
David Rose 6d32be8a1d better deal with degenerate cases 2012-01-30 21:57:28 +00:00
rdb 72af325f2b allow binding float[n] variables to float[n-1] variables in Cg shaders 2012-01-28 12:47:14 +00:00
rdb fc8935035a fix fonts issue (generated textures were upside down) 2012-01-28 12:19:49 +00:00
rdb 1168011850 lots of improvements to the rocket integration 2012-01-28 11:49:41 +00:00
rdb 3c65b5171b handle Python exceptions properly in get_context() 2012-01-28 09:55:06 +00:00
David Rose 75f4a86aba preload MovieTexture with black 2012-01-26 21:50:19 +00:00
David Rose 186da11f36 Trackball::set_control_mode() 2012-01-24 15:24:18 +00:00
David Rose deb8a56b8a record Texture::pad_size in bam cache too 2012-01-22 21:19:59 +00:00
rdb fa50a04775 pick up and fix G0gg's C++ pixel2d changes 2012-01-22 13:32:17 +00:00
David Rose 6f88d641bf PNMImage::reverse_rows() 2012-01-19 18:22:22 +00:00
enn0x d5d13d2990 Removing unnecessary const-ness of return values in BulletContactResult 2012-01-17 21:14:51 +00:00
enn0x 3ae3c26eb8 Remove unnecessary console output. 2012-01-17 21:09:00 +00:00
enn0x 2e3667e7d4 Fix for bug #916732 2012-01-16 23:00:04 +00:00
rdb ec18c967dd unbreak GLES 2012-01-16 09:19:28 +00:00
David Rose 401da63c22 OSphereLens shouldn't scale vertical component by focal_length. 2012-01-15 23:21:08 +00:00
David Rose d1a31167f7 use new GraphicsWindowInputDevice::focus_lost() 2012-01-15 22:08:52 +00:00
rdb 44db7716df use fregs on shadow coordinates, maybe this'll fix some of the shadow-related issues 2012-01-15 21:27:03 +00:00
David Rose 6f5fd1525d GraphicsWindow::_unexposed_draw 2012-01-15 20:13:16 +00:00
David Rose 38a73900f1 protect against zero-sized windows 2012-01-15 17:56:49 +00:00
David Rose eb4b58eade very minor debug fix 2012-01-15 17:05:34 +00:00
David Rose 1968a30cd0 stop button spam on lost focus 2012-01-15 17:01:20 +00:00
David Rose 6c34e0fb6c fix makepanda built; ppremake build should use composites too 2012-01-15 15:43:06 +00:00
rdb 86dce18afa understand more GL_DEPTH_COMPONENT variants when reading back 2012-01-15 11:13:53 +00:00
David Rose 1fd8a621ff further robustness for WxPandaWindow on Linux 2012-01-14 19:20:56 +00:00
David Rose fdca621619 slightly more robust handling of CallbackGraphicsWindow 2012-01-14 16:21:53 +00:00
David Rose 279b3a8aeb support wx main loop in p3d system too 2012-01-14 01:18:10 +00:00
David Rose 93d625845c invert the WxGlobal loop: now wx owns the main loop, it seems to like that a lot better. 2012-01-14 00:16:05 +00:00
David Rose e08f1d204f more WxPandaWindow fixes 2012-01-13 23:42:23 +00:00
David Rose 50e53a4d4e better support for multiple windows, multiple trackballs, one camera 2012-01-13 00:22:05 +00:00
enn0x 9eea663587 Fixed typo (marging --> margin). 2012-01-11 20:35:45 +00:00
David Rose 7fd4c1cc18 solve WxPandaWindow issues on Linux 2012-01-11 01:58:25 +00:00
David Rose ce8af6bc29 CallbackGraphicsWindow on Linux, but there are issues 2012-01-10 01:09:48 +00:00
David Rose 191863995a CallbackGraphicsWindow for Windows 2012-01-09 23:47:25 +00:00
David Rose 15d2441661 handle incorrect display modules better 2012-01-09 23:30:31 +00:00
David Rose 59fb785d68 it's called p3tinydisplay now 2012-01-09 23:20:15 +00:00
David Rose e16719797a fix bug with clear_control_effects() 2012-01-09 22:02:27 +00:00
David Rose 5e4ca78c07 leveleditor works on Mac too 2012-01-09 21:55:54 +00:00
David Rose 00a012ef13 fix old bam loading 2012-01-09 19:02:45 +00:00
rdb f4c73d8b46 rename rocket_composite1.cxx to p3rocket_composite1.cxx 2012-01-08 21:08:10 +00:00
David Rose 87e6012f88 don't build if no librocket 2012-01-08 17:46:56 +00:00
David Rose 56f22e0692 WxPandaWindow 2012-01-08 16:10:18 +00:00
rdb ce696a157e temporarily revert most of zhao's FBO changes, it seems to break a lot of things 2012-01-08 14:00:51 +00:00
rdb 69fcb76b1a experimental libRocket support 2012-01-07 19:02:41 +00:00
rdb 2d78a0503b more easily extendable DisplayRegion 2012-01-07 18:52:20 +00:00
rdb c06eafece4 fix from teedee 2012-01-07 08:40:06 +00:00
David Rose 2d0fb30fd6 support transparency in material's diffa 2012-01-06 21:58:36 +00:00
enn0x e68cb77e4a Added wrapper for btMultiSphereShape. 2012-01-05 13:07:38 +00:00
David Rose faf7af4b67 tag long-running function with BLOCKING 2012-01-05 02:43:45 +00:00
Zhao Huang cbf9c83e23 Fix for gles returning driver info causing incomplete builds on certain linux distros 2012-01-04 06:24:59 +00:00
David Rose f110a269c8 GraphicsEngine::get_render_lock() 2012-01-03 03:05:54 +00:00
David Rose cfcde491a8 set BLOCKING on long-running functions 2012-01-03 02:29:53 +00:00
David Rose 8f68dd373b return status from recompute_if_stale() 2012-01-03 01:47:02 +00:00
David Rose bbdd1341d8 print_xml 2012-01-01 02:39:36 +00:00
Zhao Huang ebc948b3f8 Fixed FBO Float Buffers; Multisample FBOS were left untouched and needs more work. 2011-12-31 21:43:18 +00:00
David Rose b405b6bfac add set_auto_recompute() 2011-12-30 19:24:47 +00:00
Zhao Huang a56760cbcf Exposes Opengl Vendor, Driver, Shader Model information to python 2011-12-30 09:00:37 +00:00
David Rose 1c9395b311 a few checks against bad data 2011-12-29 22:23:14 +00:00
rdb 49326183a9 it'd be so incredibly useful if GraphicsEngine just outputted what kind of buffer it created as an info message 2011-12-29 12:45:50 +00:00
rdb c80f1572d8 fix compilation issue 2011-12-23 12:07:21 +00:00
David Rose a06fd5521f found a reason to use dlmalloc if 16-byte alignment is required 2011-12-22 22:44:31 +00:00
Zhao Huang 3138076bc4 Add a small change to make the header more friendly to the Intel Compiler 2011-12-22 08:30:07 +00:00
David Rose f647872b2b lower egg-recursion-limit to 1000 2011-12-21 23:12:10 +00:00
Zhao Huang f2d1a429f2 Added include <time.h>, necessary to define localtime when compiling using --optimize=4 2011-12-21 18:12:43 +00:00
David Rose d39739b37f wrong assert, get_num_components() != size(). 2011-12-21 15:09:51 +00:00
David Rose e9b967435e more win32 build issues 2011-12-20 20:26:08 +00:00
David Rose 0053d01843 ssize_t isn't defined on windows, but we don't need it here 2011-12-20 20:13:29 +00:00
David Rose 17f51995e3 a few more win32 build issues reported by forum users 2011-12-20 15:05:37 +00:00
David Rose ba249508c4 win32 alignment issues 2011-12-20 00:17:08 +00:00
David Rose 8b3ec4b1ba pass by reference 2011-12-20 00:10:11 +00:00
David Rose 95db6ebaca GeomVertexFormat::maybe_align_columns_for_animation() 2011-12-19 23:52:06 +00:00
David Rose cb3b1423c0 align tangent and binormal too 2011-12-19 23:02:53 +00:00
David Rose 1a4f42706b remove a few epvectors 2011-12-19 18:16:30 +00:00
rdb bc8e5de9bf Support reading TGA files with alpha channel 2011-12-19 15:53:59 +00:00
David Rose 05be3e1b5e add egg-recursion-limit 2011-12-19 14:44:38 +00:00
David Rose f9240e0258 a couple more fixes to self-memory-alignment 2011-12-19 14:26:57 +00:00
David Rose 42e8f806f1 leave lvecbase2/3 and lmatrix3 unaligned; it's so much cleaner 2011-12-19 14:17:26 +00:00
David Rose 66a52cb6a3 fix MemoryHook internal memory alignment issues 2011-12-18 19:20:18 +00:00
David Rose c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +00:00
David Rose fd75c89949 whoops, overloaded LINMATH_ALIGN by mistake 2011-12-18 02:03:58 +00:00
David Rose 787742c93e LINMATH_VECTORIZE -> LINMATH_ALIGN 2011-12-18 02:00:31 +00:00
David Rose a4728957da whoops, fix bam reading 2011-12-18 01:26:17 +00:00
David Rose 0fa828b5e3 very minor tweaks 2011-12-17 23:56:14 +00:00
David Rose 6824cb6928 better implementation of vertex-column-alignment 2011-12-17 23:08:03 +00:00
enn0x 88ac4f920e Changed imports from 'lpoint' etc. to 'luse' 2011-12-17 20:54:38 +00:00
David Rose 571282694d should include only luse.h instead of individual linmath headers 2011-12-17 18:24:39 +00:00
David Rose 7de805989f add vertex-column-alignment 2011-12-17 01:55:52 +00:00
Zhao Huang 73e89c8254 Allows no-vsync when a multisample buffer is requested 2011-12-16 16:31:43 +00:00
David Rose 33b9a1e1cf integrate Eigen 2011-12-16 14:17:48 +00:00
Zhao Huang a34cb75f82 Added to characterJoint
INLINE const LMatrix4 &get_transform() const;
  CPT(TransformState) get_transform_state() const;

This is to reduce the code bloat for freezing a joint using actor.
Previously, freezing a joint (using its current transform required two temporary
initailizations, a Mat4() and a TransformState in python.

tmat = tmat4(); joint.getTransform( tmat); tstate = TransformState( tmat);
freeze(..., transform = tstate )

now this can be collapsed down to
freeze( ..., transform = joint.getTransformState() )
2011-12-15 01:51:59 +00:00
David Rose 7e8737dd3d some animation optimizations 2011-12-15 00:33:03 +00:00
David Rose 5e5d8f7e17 whoops, missing trivial constructor 2011-12-13 22:39:00 +00:00
David Rose de346aa4d1 add egg-vertex-membership-quantize 2011-12-13 19:32:59 +00:00
David Rose c6cc36e604 Add Animation:charname:Calc blends pstats collector 2011-12-13 19:24:35 +00:00
David Rose 622c047344 several USE_PACKAGES oopses 2011-12-12 22:53:39 +00:00
David Rose f5da2ff9bf fix seek problems with certain avi's 2011-12-12 22:33:28 +00:00
David Rose 1302a89f3d missed another p3 prefix here 2011-12-12 18:11:03 +00:00
David Rose 57165297a7 ClockObject needs a copy constructor 2011-12-08 15:28:29 +00:00
David Rose b773dfb41c p3movies_composite2 etc. 2011-12-06 21:56:25 +00:00
David Rose 610a8fdfb9 whoops, somehow missed one 2011-12-06 14:13:32 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
enn0x e15f8fd87e Exposed additional members of btManifoldPoint. 2011-12-05 22:25:18 +00:00
David Rose 05caa603bb add missing modes etc. 2011-12-05 17:16:42 +00:00
David Rose 19adb4cd99 allow Texture::read() etc. to release Python GIL 2011-12-05 05:28:11 +00:00
David Rose ae76495d75 SubprocessWindow requires a ReMutex to avoid self-deadlock 2011-12-05 05:24:21 +00:00
David Rose abc64b3915 explicitly link with pnmimagetypes to foil dynamic linker optimizations 2011-12-04 16:18:14 +00:00
David Rose 36ca6df75f remove broken six-parameter constructor 2011-12-02 19:08:50 +00:00
David Rose c1b23c986d win32 compilation issue 2011-12-01 02:00:21 +00:00
David Rose a1048204dc win32 compilation issue 2011-12-01 01:53:21 +00:00
David Rose 6eb257bb8a Add movies-sync-pages 2011-12-01 01:27:55 +00:00
David Rose d1c257fba9 fix failure to search multiview texture names along model-path 2011-11-30 00:33:31 +00:00
David Rose 921e6946c9 fix identification of failed TCP connection 2011-11-28 22:04:45 +00:00
David Rose 3d89cef544 Add Texture::set_auto_texture_scale() 2011-11-28 21:42:44 +00:00
rdb 14d7c7093a allow arbitrarily named vertex attribs in OpenGL 2011-11-28 19:21:47 +00:00
rdb 8609b6e6b1 gl_Tangent and gl_Binormal 2011-11-28 16:21:21 +00:00
David Rose a09bb8a154 fix MovieTexture::get_time() 2011-11-28 15:22:48 +00:00
rdb 53835b541d allow swizzling of higher-dimension vectors from lower-dimension ones (eg vec2.xyxy) 2011-11-25 11:35:38 +00:00
rdb b9c02b60a5 Commit patch by teedee to fix CollisionBox reporting in PStats 2011-11-25 08:55:56 +00:00
David Rose 9d5e107aa4 patch from teedee for dx9 custom vertex data 2011-11-24 14:34:35 +00:00
David Rose 560221d566 add ffmpeg-show-seek-frames 2011-11-22 22:38:01 +00:00
David Rose 75ac6c1bae static fonts should support explicit space advance specified from font file 2011-11-21 18:59:54 +00:00
David Rose ffa6d1bf16 add pushers-horizontal and make the initial default for CollisionHandlerPusher::set_horizontal() be false. 2011-11-21 15:44:48 +00:00
enn0x 424fde9112 Bugfix: setting angular/linear sleep threshold have been swapped. 2011-11-19 13:19:52 +00:00
David Rose 39b32376bb move a few more PStatCollectors out of local statics 2011-11-19 00:11:43 +00:00
David Rose 1ead653ce5 don't lose alpha format when bouncing through texture cache 2011-11-18 23:35:31 +00:00
David Rose dca824b5de hey, this time I really found the ffmpeg crash. 2011-11-18 19:40:40 +00:00
David Rose f322dc5853 add eggVertexAux to Sources.pp 2011-11-18 14:42:33 +00:00
David Rose f2b5952159 fix double-lock 2011-11-18 00:36:31 +00:00
David Rose d3cdb2e11b prebuild-bison 2011-11-18 00:07:24 +00:00
David Rose 539b61571c guarantee word alignment for AtomicAdjust stuff 2011-11-17 23:31:31 +00:00
David Rose 078ddc7c27 oops, missing files from teedee's checkin 2011-11-17 22:10:09 +00:00
David Rose e97e6c03f8 Add patch from community member teedee to support GLSL array inputs 2011-11-17 19:42:51 +00:00
David Rose 807a6f61da Add patch from community member teedee to improve alternate coordinate-system support 2011-11-17 19:41:33 +00:00
David Rose be7f483478 Add patch from community member teedee for egg <Aux> syntax 2011-11-17 19:39:29 +00:00
David Rose b8497a0478 fix deadlock with reset_prev_transform() 2011-11-17 19:20:38 +00:00
David Rose 3a05c89924 minor tweaks 2011-11-17 02:23:56 +00:00
David Rose f6a0af6f8d ffmpeg-global-lock 2011-11-17 01:23:06 +00:00
David Rose 9f4251397e more fixes for new interface 2011-11-16 03:55:31 +00:00
David Rose 86b8a8dc37 oops, build issue 2011-11-16 03:52:09 +00:00
David Rose 6e7efefd22 minor notify fixes 2011-11-16 03:26:02 +00:00
David Rose 9a810db5d2 further attempts to fix ffmpeg. sheesh. 2011-11-16 03:25:18 +00:00
David Rose 59f5b1cadf fix ffmpeg crash 2011-11-16 00:25:39 +00:00
David Rose 5b7c19ee73 paranoid locking 2011-11-15 23:59:59 +00:00
David Rose b4e931322f use integer frame numbers instead of floating-point time values in ffmpeg movies, for robustness 2011-11-15 22:34:43 +00:00
David Rose 3f2b3ca4b5 possible fix to build error 2011-11-15 03:00:20 +00:00
David Rose 742d5ffe7e solve some seeking issues 2011-11-15 02:17:27 +00:00
enn0x 65885e5069 Added optional (and more powerful) collision filtering algorithm. 2011-11-12 23:26:53 +00:00
David Rose 7fc41e9cb8 minor pstats adjustment 2011-11-12 02:06:41 +00:00
David Rose 9f5d8a9548 further fixes 2011-11-11 23:27:55 +00:00
enn0x 3262f702a3 Fix debug rendering: switch from modify_geom to set_geom 2011-11-11 20:52:51 +00:00
David Rose 67dc3fabfa pull _convert_ctx out of loop 2011-11-11 19:28:41 +00:00
David Rose 2584e3d57d add ffmpeg-thread-priority 2011-11-11 17:59:51 +00:00
rdb f50a1895f9 fix typo 2011-11-11 14:23:04 +00:00
rdb 2895c33f42 fix compilation error 2011-11-11 09:24:35 +00:00
David Rose 82e1b6703a support threaded ffmpeg decoding, fix a couple of ffmpeg bugs 2011-11-11 01:42:37 +00:00
enn0x 38618c17fb Changing the implementation of BulletDebugRenderer. Less dirty now, but slower. 2011-11-10 22:13:11 +00:00
David Rose c0b7ca96b8 perform shell-style filename globbing on Win32 too 2011-11-09 01:35:19 +00:00
David Rose 17611c2d20 protecting openal against multithreaded access too 2011-11-08 01:44:33 +00:00
David Rose 25cb3ae4a5 first attempt to protect fmod against multithreaded access 2011-11-08 01:31:19 +00:00
David Rose 370a9886b7 stringstream_hack 2011-11-07 20:15:57 +00:00
David Rose ead8b03712 MF_back etc 2011-11-07 20:06:42 +00:00
David Rose 2a3ad0d4e5 Add RenderState::get_auto_shader_state() 2011-11-07 00:08:04 +00:00
David Rose be2657311d pipeline lens changes 2011-11-06 02:56:02 +00:00
David Rose 83b87652f8 fix prepare_scene() to prepare vertex buffers as well as textures 2011-11-05 17:58:28 +00:00
David Rose 003aa9e3dd PNMImage::gamma_correct() 2011-11-05 01:37:36 +00:00
David Rose 5cbc418073 add project() 2011-11-02 22:50:39 +00:00
David Rose 5ba97d2ccc export more nested classes 2011-11-02 19:04:00 +00:00
David Rose 1e80e3d39d oops with copy_file() 2011-11-01 23:39:06 +00:00
David Rose 8ebd82fbcc support cross-compatibility of 32-bit and 64-bit bam files 2011-10-31 22:24:35 +00:00
David Rose 8dc21c8cae fix hashmap crash 2011-10-30 21:45:12 +00:00
enn0x 868047e65d Bullet: fix walk velocity of character controller. 2011-10-29 21:45:35 +00:00
David Rose cb9b0f075d PStats should use doubles consistently 2011-10-27 18:39:27 +00:00
David Rose be85a6ada1 fix crash with threaded setPythonTag() 2011-10-26 20:01:16 +00:00
enn0x db54994233 Bullet double precision support (experimental). 2011-10-23 23:55:32 +00:00
rdb 07ef637e07 another GLES2 fix 2011-10-18 08:28:21 +00:00
rdb 2235e313b2 this should fix OpenGL ES 2 errors 2011-10-18 08:26:19 +00:00
David Rose 0b4b90b742 hmm, I guess we really do need to publish the string type, but only because interrogate seems to want to anyway for some uncertain reason. 2011-10-17 19:51:45 +00:00
David Rose e1ff78f048 don't expose C++ string class 2011-10-17 18:27:53 +00:00
rdb 0462d5f758 single -> float 2011-10-17 14:18:23 +00:00
rdb 6b012b7cb6 fix typo 2011-10-14 12:41:11 +00:00
rdb 50f2f777d5 fix the GLES builds 2011-10-14 08:49:30 +00:00
David Rose 0fcd46e5bb run on stdfloat_double 2011-10-11 18:19:09 +00:00
David Rose 05c6cc00a4 build in stdfloat_double 2011-10-11 17:28:03 +00:00
David Rose 483a02735e build in stdfloat_double 2011-10-11 17:14:37 +00:00
David Rose 65e9303415 attempts to fix win32 build 2011-10-11 15:41:53 +00:00
David Rose fd3a43b751 fix bug handling colors in stdfloat_double build 2011-10-11 05:22:19 +00:00
David Rose 800c0ceeb5 remove debug statement 2011-10-11 04:52:45 +00:00
David Rose f77cd81fcd typo 2011-10-11 00:59:38 +00:00
David Rose 1353827116 cheese OpenGL ES hack 2011-10-11 00:57:43 +00:00
David Rose 134e9a9e92 dual names for interrogate 2011-10-11 00:45:51 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose 9e22c72bf3 finally, pipelined textures 2011-10-08 21:04:05 +00:00
rdb feaac60df4 commit ambient occlusion for terrain 2011-10-08 18:02:38 +00:00
rdb 58124af9f5 add fog support to shader generator 2011-10-08 13:27:40 +00:00
rdb d86356f122 fog-related shader inputs 2011-10-08 13:25:51 +00:00
rdb 9b23b04b7d OpenGL ES doesn't have GL_DOUBLE 2011-10-07 13:51:04 +00:00
David Rose 3e89b7a4e8 fix parasite buffer clear problem 2011-10-06 21:39:19 +00:00
David Rose 72f97c2107 support NT_float64 as a vertex numeric type 2011-10-06 18:59:10 +00:00
David Rose a821755936 bandaid around race condition 2011-10-05 19:11:28 +00:00
David Rose 6854e21423 overlooked mesadisplay with _textures pipelining 2011-10-04 21:39:45 +00:00
David Rose e91fb0d53e better implementation of set_one_shot() 2011-10-04 18:05:08 +00:00
David Rose 7609fc777f minor fixes 2011-10-03 20:48:23 +00:00
David Rose bee4cb326a pipeline GraphicsOutput::set_active() to better support offscreen rendering in threaded mode 2011-10-03 20:23:17 +00:00
David Rose d156c4a1d5 publish more prc stuff 2011-09-30 23:57:34 +00:00
Chris Brunner 3832219296 MSVS 2010 2011-09-29 00:28:49 +00:00
Chris Brunner dd6c64e285 2010 2011-09-29 00:24:28 +00:00
David Rose 02ba3d189c build on msvs2010 2011-09-29 00:05:07 +00:00
David Rose c7adc6246f build on msvs2010 2011-09-28 23:56:59 +00:00
David Rose ac0a33e65c cast NULL to pointer type 2011-09-28 23:00:30 +00:00
David Rose 5588210e22 set some config variables to suitable defaults for threading 2011-09-28 19:52:58 +00:00
David Rose cd79af53fe dx9 shader support from zhao 2011-09-28 18:42:58 +00:00
David Rose 9009141e45 missed a Display reference 2011-09-28 14:36:00 +00:00
David Rose fa67efc870 build on windows 2011-09-27 20:55:59 +00:00
David Rose 5496c4a9ec more writable vfs stuff 2011-09-27 16:10:19 +00:00
David Rose 9a7af0f435 should fix egl.h issues 2011-09-27 14:22:00 +00:00
David Rose 024e5e9d19 oops, mustn't auto-wrap file in this case 2011-09-23 22:04:42 +00:00
enn0x 0ea1ff0ecb For some reason dynamic_cast failed with current Bullet revisions. 2011-09-23 22:01:42 +00:00
enn0x 8e93bee2d6 Testing some alternatives for character controller stepping. 2011-09-23 20:57:56 +00:00
David Rose 4ebdf7b6fa make_texture() is a useful function to publish 2011-09-23 18:54:59 +00:00
David Rose 278bc55d62 a couple more writable-vfs migrations 2011-09-17 00:40:29 +00:00
David Rose 191ce517da migrate a few use cases to writable vfs 2011-09-17 00:05:23 +00:00
David Rose 84fdd2ea9e more robust vfs write operations 2011-09-16 23:10:46 +00:00
David Rose e986614cfc writable vfs 2011-09-16 20:13:08 +00:00
David Rose 074b9ee60b define print_signature_certificate() 2011-09-14 17:19:12 +00:00
David Rose 4b5d087246 use more explicit casting chain, to maybe help out the Intel compiler 2011-09-14 14:00:46 +00:00
enn0x 540f7f2150 Warning if elapsed time < stepsize (no simulation but interpolation!) 2011-09-11 20:37:58 +00:00
David Rose 6064045aa3 fix an assertion failure at shutdown 2011-09-09 01:17:35 +00:00
David Rose 00a87f7c44 fix a bit more type inheritance issues 2011-09-09 00:52:17 +00:00
David Rose 0687324183 fix memory leak 2011-09-09 00:14:17 +00:00
David Rose a4909730dc better movie seeking behavior 2011-09-08 17:49:16 +00:00
David Rose 79e60e25ec hey, I overlooked heap_alloc_array() et al 2011-09-08 15:34:07 +00:00
David Rose 0ce0196027 can't query TypeHandle::none() pointers 2011-09-08 15:19:21 +00:00
David Rose 369f93951f fix a memory leak in the garbage-collect-states case 2011-09-08 15:02:34 +00:00
David Rose 007b7d3f9e tracking down memory leaks 2011-09-08 02:28:14 +00:00
David Rose d7ee644809 simple error prevented driver-generate-mipmaps from working 2011-09-08 01:14:13 +00:00
David Rose e552c230a0 further debugging in TransformState (and one important bugfix) 2011-09-07 23:44:36 +00:00
enn0x 212ed1e510 Switch from setVelocityForTimeInterval to setWalkDirection. 2011-09-07 21:54:44 +00:00
David Rose ad0a1ab64f use dual linked lists instead of a linked list and a pset 2011-09-07 06:22:04 +00:00
David Rose 48df7995e5 need garbageCollectStates task 2011-09-07 00:31:22 +00:00
enn0x e722b48c02 Added some documentation. 2011-09-06 22:43:26 +00:00
enn0x 66ace2c235 Added methods for getting and setting (overriding) inertia. 2011-09-06 22:16:58 +00:00
David Rose 59ec701a26 build once more with the Tau profiler 2011-09-06 17:29:30 +00:00
David Rose 37bdfa9815 typo 2011-09-06 03:15:49 +00:00
David Rose 525c422d74 compilation fix 2011-09-06 00:55:48 +00:00
David Rose 3ed8632a68 further bugfixes 2011-09-05 23:53:19 +00:00
David Rose 229cf67ae5 Finishing migration of RenderState and RenderAttrib to SimpleHashMap and garbage_collect() models, working towards threaded pipelining 2011-09-04 15:47:45 +00:00
David Rose 220ba658a0 new, experimental TransformState seems to work better for multithreading 2011-09-04 02:52:41 +00:00
David Rose c3d8f81581 progress on multithreaded Panda 2011-09-04 00:11:57 +00:00
David Rose 08693413e8 need a destructor to fix a major file handle leak! 2011-09-04 00:11:18 +00:00
enn0x 05ff620572 Fixed bug with scale P2B synchronisation. 2011-09-03 00:37:37 +00:00
David Rose f63bf2526a forgot to check this in 2011-09-02 23:09:18 +00:00
David Rose 5bdb3e695f typo 2011-09-02 23:07:23 +00:00
David Rose 27f8cf2e06 add loaded_textures_lock to avoid deadlock 2011-09-02 19:31:32 +00:00
David Rose eb0f42af91 remove bogus assert 2011-09-02 00:22:32 +00:00
David Rose dad8b88c62 whoops, forgot to remove debug output 2011-09-01 20:59:07 +00:00
David Rose 6154c9b431 use unicode flavors of RegisterClass et al 2011-08-30 15:56:41 +00:00
David Rose 53f656f028 windows unicode support 2011-08-30 03:02:38 +00:00
David Rose 6ecf2fed29 preparing for unicode filenames 2011-08-29 04:33:00 +00:00
David Rose dcc4a33ae9 protect x11 namespace better; support building with x11 support on osx too 2011-08-28 23:31:28 +00:00
enn0x fcd08bf996 Added some documentation to BulletWheel (contributed by tanuva). 2011-08-28 20:58:52 +00:00
enn0x 948a3810e1 Added some documentation. Thanks to tanuva who provided the descriptions. 2011-08-26 22:21:48 +00:00
enn0x 949fc99c0f Mac linebreaks not supported by MSVC. 2011-08-25 22:46:37 +00:00
enn0x 35a3287abd Minor fixes, no API change. 2011-08-25 21:51:53 +00:00
David Rose 5ebc96d531 new ca bundle 2011-08-25 21:20:50 +00:00
David Rose 9dfa6e2905 another update 2011-08-25 21:13:41 +00:00
enn0x 84187f6e6d Automatically wake up rigid bodies if user changes the transform. 2011-08-24 15:58:07 +00:00
rdb 8edfc69f2b this should probably fix the windows build 2011-08-24 10:02:17 +00:00
enn0x 8c9bb7be1f Enforce update of inertia tensor after shape or mass changes. 2011-08-22 22:03:50 +00:00
enn0x b110845659 Renamed BulletDistanceConstraint to BulletSphericalConstraint 2011-08-22 21:12:20 +00:00
David Rose 6e789ec480 make 64-bit safe 2011-08-22 17:47:07 +00:00
enn0x 00f2d43ec1 More detailed limits for generic constraints. 2011-08-20 21:22:03 +00:00
enn0x 96061636a2 Minor renaming for upper/lower limits. 2011-08-20 20:40:02 +00:00
enn0x a0b8d5758d Replace BulletDebugNode.setVerbose with setters for individual debug components (wireframe, bounding boxes, constraints, normals) 2011-08-20 11:54:39 +00:00
David Rose 4603b5f652 disallow negative indices for SwitchNode 2011-08-16 13:39:13 +00:00
David Rose a8519d5f0b fix color in doc string 2011-08-16 13:36:34 +00:00
enn0x d65d78850e Fixed bugs with constraints on Linux. 2011-08-16 11:52:08 +00:00
enn0x 5bea667a74 An implementation of btMotionState is required for kineamtic bodies. 2011-08-13 21:29:13 +00:00
David Rose 5158b9b5bf remove vector_LVecBase3f to avoid opt4 linking issue 2011-08-12 23:16:17 +00:00
enn0x d0c8ccd901 Redesign of the Bullet <--> scene graph synchronisation. 2011-08-12 20:57:59 +00:00
enn0x 1bd2bac3ef Remove scale from TransformStates before converting to Bullet, and some minor changes. 2011-08-10 21:36:26 +00:00
David Rose c3b5e1ec6b fix bug with movie textures in egg files 2011-08-08 23:29:32 +00:00
David Rose 6872488839 stereo/multiview textures 2011-08-08 18:55:26 +00:00
enn0x c23a719b26 Fix for conversion from TransformState (with scale) to btTransform. 2011-08-07 22:09:42 +00:00
enn0x 9bb87232a1 Removed kinematic flag from BulletCharacterController. Thanks to AL.dev for hinting me at this unnecessary flag. 2011-08-07 18:26:01 +00:00
David Rose 6335c11050 fix max_dist bug with CollisionBox 2011-08-05 00:07:32 +00:00
enn0x 5430833ef4 Fixed bug with raycasts and 128-bit groups masks. 2011-08-04 21:54:16 +00:00
David Rose 9d5325e05a replace gnu_getopt with new Panda-licensed implementation 2011-08-03 23:37:43 +00:00
enn0x a1b0bfd018 Bullet debug node now considers absolute transform. 2011-08-03 22:29:55 +00:00
enn0x da7458efce Added guardiang to BulletTriangleMeshShape CTOR which asserts that meshes have at least one triangle. 2011-07-31 19:57:28 +00:00
enn0x 7ee4f338ac Using OmniBoundingVolume for BulletDebugNode. 2011-07-27 23:24:54 +00:00
David Rose 5055403995 add support for text/binary distinction within multifile subfiles 2011-07-27 18:16:44 +00:00
David Rose 49c1710712 add no-singular-invert 2011-07-27 18:12:15 +00:00
David Rose 4b86327663 include config_speedtree.h 2011-07-27 18:11:12 +00:00
enn0x 24acb72bb4 Some additional output for ls(). 2011-07-25 20:40:04 +00:00
enn0x 0b3af39363 Added missing(?) include of bamWriter.h; please undo if this causes problems. 2011-07-25 19:22:23 +00:00
enn0x 729db666c0 New method to disable collision response. 2011-07-25 19:20:37 +00:00
enn0x f008ebe351 Fix for updating bounds for the BulletDebugNode. 2011-07-20 20:43:13 +00:00
enn0x 8841b1d80a Added restiction of lin/ang movement for rigid bodies. 2011-07-10 20:10:13 +00:00
David Rose e5272c9e3d fix mistake in tangent computation 2011-07-03 18:09:49 +00:00
rdb 02cd936e73 bit more tolerant in reading mode strings, for the sake of reading collada texture formats 2011-07-01 15:27:09 +00:00
rdb bada796a5e nothing interesting to see here, just a bit of cleanup 2011-07-01 11:26:43 +00:00
David Rose c4cdae59e0 fix problem with cached movie textures and textures-power-2 2011-06-30 00:02:08 +00:00
David Rose 0cf03bc158 untabify 2011-06-29 22:09:10 +00:00
David Rose f9a3770230 fix fps bug 2011-06-29 20:56:36 +00:00
David Rose 965c7fa05f squelch warning 2011-06-29 20:56:07 +00:00
David Rose fcaf349081 dos2unix 2011-06-29 20:49:04 +00:00
David Rose 30f6b29537 build on windows 2011-06-29 20:46:36 +00:00
David Rose 285d70c29e support caching movie files in the model-cache-dir and in a txo file 2011-06-29 20:33:34 +00:00
David Rose 0ffae72f88 minor tweaks 2011-06-21 22:42:19 +00:00
David Rose 8a84a3b284 squelch noisy complaints about channels being reused 2011-06-21 17:22:58 +00:00
David Rose 5b2c80e5f3 fix fmod threading issues 2011-06-21 17:10:51 +00:00
David Rose 8fd5dff01c fix bogus assert 2011-06-20 20:20:37 +00:00
David Rose 4785161374 squelch some more compiler warnings 2011-06-18 00:16:48 +00:00
rdb 5cdc46bf0b compatibility with older ffmpeg versions 2011-06-17 18:57:38 +00:00
David Rose 87ebb4f32c fix GeomVertexRewriter::set_row() problem with empty data; add GeomVertexReader/Writer::set_row_unsafe(); fix some compiler warnings 2011-06-17 18:57:04 +00:00
David Rose 320be916f5 a few compiler warnings 2011-06-17 17:37:44 +00:00
David Rose b99493c63d MovieTexture should be the global default nowadays 2011-06-17 17:37:27 +00:00
David Rose 22fa5dff1e fix MovieTexture::orig_file_size bug 2011-06-17 17:36:50 +00:00
David Rose 830bfcb056 integrate with latest ffmpeg 2011-06-16 20:23:30 +00:00
David Rose e58cd23fd8 spam output 2011-06-13 16:13:50 +00:00
David Rose 7a3e652709 fix uninitialized _scale 2011-06-13 01:57:52 +00:00
David Rose 4f59ca4705 minor cosmetic change 2011-06-13 01:57:14 +00:00
enn0x 89b92f1f19 Prevent empty debug geom from getting optimized away. 2011-06-12 13:10:57 +00:00
David Rose 1e10f5238a implicitly drop an empty array during register_format() 2011-06-09 18:52:39 +00:00
rdb d6c9ed46a2 make_copy should be a const method 2011-06-03 16:29:13 +00:00
rdb ee03d5c45d fix compile warning 2011-06-03 09:56:10 +00:00
rdb 3b07f3a2b4 fix annoying compiler warning 2011-06-03 09:15:25 +00:00
rdb 61cfd40824 fix an oops 2011-06-03 09:11:12 +00:00
David Rose a552cfa859 add time_delta interfaces 2011-06-02 18:21:33 +00:00
David Rose 33886780c4 Fix tendency of CollisionFloorMesh to introduce NaN's into result 2011-06-02 18:05:48 +00:00
rdb 2d6edaf18b first step toward reading Collada FX materials 2011-05-29 19:46:38 +00:00
David Rose 9bf5812c93 support thread-stack-size for OS X simple threading implementation 2011-05-28 17:33:38 +00:00
enn0x 878486712f Adding a bunch of methods for different constraints. 2011-05-28 00:07:37 +00:00
rdb 23e0cb922a fix, part 2 2011-05-24 14:08:55 +00:00
rdb b33ffd9636 lots of improvements to the COLLADA loader 2011-05-24 13:14:11 +00:00
rdb d30f60c70f hopefully remove dependency on v4l 1 2011-05-21 18:59:58 +00:00
rdb d89621bd33 change from zhao to support non-pow textures on dx9 2011-05-20 14:31:56 +00:00
David Rose a81ba6d755 missing newline: 2011-05-17 20:52:55 +00:00
enn0x 10a64db343 Adding bullet physics. 2011-05-14 07:00:02 +00:00
David Rose b1822b4930 egg-emulate-bface should default to true 2011-05-11 16:38:33 +00:00
rdb 4a5db4ca35 patch from Nox_fire(galaxy) 2011-05-11 14:12:37 +00:00
rdb 5b74526c15 patch from eryx 2011-05-10 06:19:59 +00:00
rdb f75eb5e15c oops, fix compile 2011-05-07 14:13:57 +00:00
rdb 1a0bae35b7 correct faulty segment-into-plane collision, adds interior point 2011-05-07 12:25:39 +00:00
rdb 49e157ecd1 report all extensions and stuff 2011-05-05 11:31:30 +00:00
rdb ffb3eb80ae better debug output 2011-05-04 10:42:40 +00:00
rdb f38f17b116 remove a 'fix' that didn't work anyway 2011-05-04 10:41:13 +00:00
David Rose d2f531211a publish sort_descendants() 2011-05-03 16:52:13 +00:00
David Rose 337a09552f fix typos with paren grouping 2011-05-03 00:08:48 +00:00
rdb cdcd003ec3 Add a get_screenshot returning a Texture 2011-05-01 09:14:18 +00:00
rdb ddbc707a09 never mind 2011-04-29 11:33:39 +00:00
rdb a46aa90061 include stdint.h 2011-04-26 07:16:11 +00:00
David Rose ae38a4eb44 fix ode crash on exit 2011-04-25 19:46:13 +00:00
David Rose a0b8d403de latest ca-bundle.crt 2011-04-19 16:19:15 +00:00
rdb 28f1fd83ca let's not forget this 2011-04-15 20:50:31 +00:00
rdb 2d975e0681 it's int64_t in the ffmpeg headers, so it will be int64_t here, god damn it 2011-04-15 19:33:11 +00:00
rdb db5e5c6c5d fallback to XVisual interface if there are no FBConfig contexts (untested) 2011-04-15 07:09:00 +00:00
TheKrush 7ca69c16a1 - old version was giving error when trying to build because it is using an old DIB 2011-04-14 17:55:32 +00:00
rdb e53e831142 fix crash on glx implementations that don't support FBConfig 2011-04-13 15:16:17 +00:00
rdb 969f12171b Fix relative mouse on OSX- coordinates were bound by a 0-32767 range 2011-04-13 13:15:53 +00:00
rdb 62f2d8be4d Support lighting 2011-04-05 09:03:58 +00:00
rdb 776baf7c15 Basically functional collada loader that uses the COLLADA DOM. Can load scene graph and geometry. 2011-04-04 20:56:50 +00:00
rdb be24c5711c Add symbols for collada dir 2011-04-04 19:25:04 +00:00
David Rose d74e014dee make osx-support-gl-buffer be true by default 2011-04-03 21:49:25 +00:00
rdb e508c07765 Add almost completely useless flip() method 2011-04-01 12:24:08 +00:00
rdb a003a73c3f Add default-antialias-enable configuration variable 2011-03-31 09:16:36 +00:00
rdb e461c21c56 Slight optimisation 2011-03-30 07:20:26 +00:00
rdb 630568494a Fix compilation error 2011-03-28 21:56:47 +00:00
David Rose db74845139 fix crash with debug notify and NULL anim (untested, but trivial fix) 2011-03-28 18:03:51 +00:00
David Rose 1b8d55ce34 further occluder enhancements from teedee 2011-03-28 17:58:31 +00:00
David Rose 0062e134b1 fix cegui + shader issue 2011-03-26 00:12:09 +00:00
David Rose 49a1a950e6 whoopsy, wrong case 2011-03-22 23:50:28 +00:00
David Rose dd4df70a28 fix msvs 2010 build issues reported by community member FriarTuck 2011-03-22 23:48:31 +00:00
David Rose cea91656ea fix bug with two-parameter set_fov() 2011-03-22 00:34:42 +00:00
David Rose 19d52c3221 fix problem with local transform on occluder; add egg bface support for occluders 2011-03-18 19:02:46 +00:00
David Rose b099e2d063 more fixes from teedee including set_double_sided() 2011-03-18 17:49:48 +00:00
David Rose 44375f019d explicit occlusion culling support from community member teedee, with additional enhancements by drwr 2011-03-18 01:56:09 +00:00
David Rose aea8fa70bf add vis_2d 2011-03-14 21:58:32 +00:00
David Rose d5f8a968a2 pfm-vis-max-vertices 2011-03-14 21:17:57 +00:00
David Rose 2a691dd339 move pfmfile from pandatool 2011-03-14 20:09:33 +00:00
David Rose 5f42b92027 filename extension check should be case-insensitive 2011-03-14 20:09:06 +00:00
David Rose 0316dc67e3 add OSphereLens 2011-03-14 20:08:15 +00:00
rdb f6c6e7eb75 fix bug in LightRampAttrib::out 2011-03-13 07:14:41 +00:00
David Rose 372532346e GeomVertexData::reserve_num_rows() and related changes--big performance improvement, especially on Windows 2011-03-12 21:42:34 +00:00
rdb 99ef646132 Remove the treacherous NDEBUG markers 2011-03-11 19:58:48 +00:00
rdb 0027610832 fix from tito 2011-03-09 16:49:30 +00:00
David Rose b845c7988a reorder for clarity 2011-03-05 16:42:54 +00:00
rdb 730a278372 minor cleanup 2011-03-02 11:33:23 +00:00
rdb 926f4e5b30 NULL -> 0 2011-03-02 11:27:55 +00:00
rdb 6fbdca0c96 Experimental texture compression with OpenGL ES 2011-03-01 19:20:32 +00:00
David Rose d620d2a998 programmatically minimize/restore window 2011-02-28 18:41:21 +00:00
David Rose 3462cbe372 fix rescale_texture bug 2011-02-28 18:10:15 +00:00
David Rose bd3c2fdb61 fix programmatic collapse for undecorated windows 2011-02-27 01:55:19 +00:00
David Rose 03a030532f programmatic control of minimize/restore state 2011-02-26 19:44:53 +00:00
David Rose d906bb1959 include NID_subject_alt_name for friendly name 2011-02-26 19:36:13 +00:00
rdb b1ee669c82 doxygen code things 2011-02-25 13:14:51 +00:00
rdb b5861ed654 Another missing expclcl thing 2011-02-24 11:32:38 +00:00
rdb 750405202b properly export this class 2011-02-22 20:20:51 +00:00
rdb 726316ad64 Revert my changes, they weren't right after all 2011-02-20 19:10:37 +00:00
rdb 82dc0ffef4 Send lshift/rshift, lalt/ralt and lcontrol/rcontrol instead of just shift/alt/control (untested) 2011-02-20 16:25:32 +00:00
rdb 768dc99607 Fixes from constantexpected 2011-02-20 15:48:48 +00:00
rdb c823dd27ae fix bug #716509: NodePath.findMaterial does not work properly 2011-02-20 15:35:53 +00:00
David Rose 95d9a344ae add Texture::rescale_texture() 2011-02-16 15:30:12 +00:00
rdb 009c00d9f1 commit super awesome patch from 11thPenguin 2011-02-13 06:51:18 +00:00
rdb 100bec43b6 Work around annoyance in Mesa's GLES implementation 2011-01-26 15:22:33 +00:00
rdb 10511a4246 better fix for previously named problem 2011-01-26 15:02:32 +00:00
rdb 1feec43b43 Oops, the fix was only for EGL 2011-01-26 14:41:47 +00:00
rdb bdf4591c3a Fix minor issue that has been limiting the number of framebuffer configurations to 32, severely limiting render functionality across the board. 2011-01-26 14:13:02 +00:00
David Rose 97feb6bd97 remove unneeded and troublesome CollisionSolid == CollisionSolid optimization 2011-01-18 22:37:58 +00:00
David Rose a8b7f6bc85 write_bam_file() should take a Filename 2011-01-18 19:10:16 +00:00
David Rose e3a3170e5b add Texture::set_ram_image_as(), Texture::string_*(), Texture::get_tex_scale() 2011-01-17 18:31:11 +00:00
rdb 04be70338a ugly fix for older versions of Cg 2011-01-13 17:14:22 +00:00
rdb 263588716e Add back support for shadow mapping, that CMU students removed 2011-01-13 12:10:09 +00:00
Ken Patel 70e4e9c559 panda - downloader - httpChannel logging returned to reasonable levels 2011-01-08 01:12:10 +00:00
rdb c32b599370 Port linmath classes to the new extension system 2011-01-03 09:02:23 +00:00
rdb 9067399079 Various bugfixes to the new cursor stuff 2010-12-28 12:25:07 +00:00
rdb 21bad8cd14 Oops, forgot closing bracket 2010-12-27 17:52:17 +00:00
David Rose 7d0f8c69bf second suggested fix by community member nopcode 2010-12-27 17:30:10 +00:00
rdb 636f28d173 There's no point in compiling this code at all without XCursor 2010-12-26 17:17:59 +00:00
rdb b4508cbc99 Proper fix for .cur loading bug 2010-12-26 11:52:12 +00:00
rdb 3ca1f47ea1 and this 2010-12-26 11:36:46 +00:00
rdb f43b378d4e Few fixes 2010-12-26 11:28:19 +00:00
Maxwell J. Koo 396c66d191 mjkoo's patch for loading ico files, with my modifications 2010-12-26 10:55:30 +00:00
rdb defc9bf266 Add swizzling/write masks to the Point classes. Also, use the PySequence interface for write masks. Although totally pointless, I can now do v.xy = ['inf', 'nan'] or v.wxzyw = range(5) . 2010-12-23 21:48:50 +00:00
rdb eafad905c5 fix compile error with python 2.5 (that doesn't have PyType_TYPE) 2010-12-21 19:37:20 +00:00
Maxwell J. Koo f41f3277eb apply addendum patch by mjkoo 2010-12-21 14:44:52 +00:00
Maxwell J. Koo 40b487d3fa Apply patch from launchpad user mjkoo to add custom mouse cursor support on X11 2010-12-21 12:36:11 +00:00
rdb 8cd721b150 Write masks and swizzle masks for all vecbase and vector classes (e.g. ability to do v.xy *= 1.5 or v.wz = Vec2(1, 2) and stuff) 2010-12-21 11:09:43 +00:00
rdb e1347210f6 Swizzle masks for LVecBase* (ability to access components as properties like vec.x, but also like vec.xyz or vec.zyxw in any order). I'll do write masks tomorrow or so 2010-12-20 21:49:29 +00:00
rdb 35e4335e53 heh, fixed bug in glx_is_at_least_version. 2.0 > 1.1 2010-12-20 12:12:18 +00:00
rdb 0ea72a4712 Remove GLU dependency from Panda3D. Yes. That's right, folks.
And now I shall make myself some coffee and wake up, in that order.
2010-12-19 07:03:49 +00:00
rdb 4b4ccee24a Don't even try to build Cg support when building for OpenGL ES, which is unsupported by the Cg Toolkit anyway.
The code tried to include cg/cgGL.h in the case that HAVE_CG was defined, but internally cgGL.h included GL/gl.h, so I got header file conflicts between OpenGL and OpenGL ES.
2010-12-18 23:29:00 +00:00
rdb 34f39259ca Fallback case for get_error_string in case we're not building with GLU 2010-12-18 12:47:15 +00:00
rdb e859c4ddc5 macrocomposite file for egldisplay 2010-12-18 10:19:09 +00:00
David Rose 93637862da add trackball-use-alt-keys 2010-12-16 00:54:33 +00:00
David Rose 859cb0294d remove debug output 2010-12-15 00:32:07 +00:00
David Rose 0368aaaf82 add make_point_primitives() 2010-12-14 22:17:34 +00:00
rdb 6c41c5db1d Apply patch from forum user teedee 2010-12-13 09:59:33 +00:00
David Rose 9b0ae43ad4 patch to apply texture in groove mode from Taldor 2010-12-10 22:21:34 +00:00
rdb 089f99659d Don't use GLU when compiling for GLES 2010-12-09 17:58:44 +00:00
rdb dd652284a4 sm5 geometry programs 2010-12-07 21:27:29 +00:00
rdb f15b0bed01 support generation 5 gpu programs 2010-12-07 21:04:16 +00:00
rdb 062e90a81a We don't really need jpegint.h 2010-12-02 17:47:28 +00:00
rdb 907e399469 Newline at end of file 2010-11-26 19:51:11 +00:00
rdb 817c12f179 Newline at end of file 2010-11-26 19:16:44 +00:00
rdb 8a8316c20a run faster pl0x? ^.^ 2010-11-24 20:53:37 +00:00
rdb 81d8d44989 Performance increase in GeoMipTerrain 2010-11-24 08:49:49 +00:00
rdb 1bf017054a Another fix for iPhone and OpenGL ES 2.0 2010-11-23 19:05:11 +00:00
rdb e6311cb5cf fix iPhone compilation issue with OpenGL ES 2.0 2010-11-23 18:31:21 +00:00
rdb 2ae5a103ec Oops, remove debug message I accidentally checked in 2010-11-17 17:32:16 +00:00
rdb 95b8f46895 Fix crash on 32/64-bits Linux with the 2.8.3.3 SDK 2010-11-17 17:28:14 +00:00
rdb 0d12ddf3e9 OSX support for the PhysX SDK 2010-11-17 15:35:40 +00:00
rdb f05831d24d Improvements. Too lazy to describe them (pay me enough and I'll write a book about these changes) 2010-11-17 12:17:41 +00:00
rdb 804a72b716 Partially apply typo fix patch I found somewhere on the web, by someone named Christoph Korn 2010-11-16 08:58:45 +00:00
rdb c1941ad9b5 Perhaps a fix? 2010-11-10 15:10:18 +00:00
rdb c1722844bb "unhandled X event" should be warning, not error 2010-11-10 12:23:35 +00:00
rdb 3b6dd07d5d Fix compilation issue on Windows 2010-11-06 13:56:45 +00:00
rdb 59bc70bd4b GeomVertexFormat.getColumns 2010-11-03 14:51:20 +00:00
enn0x f13c9097af Removed silly outputs for debugging purposes. 2010-11-02 23:39:44 +00:00
enn0x bca6077f24 Fixed misleading #ifdef in physxEnums.h 2010-11-02 06:26:30 +00:00
rdb 3a6e008f72 Better solution to subzero clamping problem 2010-10-31 13:32:35 +00:00
rdb 44bf0582cf fix image -= colour 2010-10-31 13:23:00 +00:00
rdb c5f2020858 protect from string destruction 2010-10-30 19:36:03 +00:00
rdb 4a74961882 fix ppremake compilation error with soft body mesh code 2010-10-25 09:45:26 +00:00
rdb 1bbf9b7782 Don't get OpenCV webcam listing if we already have directcam or video4linux 2010-10-22 13:49:35 +00:00
David Rose 285923e83e WebcamVideoOpenCV 2010-10-20 20:34:18 +00:00
David Rose f6e2d9a387 repair OpenCVTexture (not safe for 1.7.x) 2010-10-20 16:28:26 +00:00
David Rose 40b8521245 fix for mysterious assertion failure in MSVS 2010, from community member swx. 2010-10-17 20:55:04 +00:00
enn0x e2093b1c2d Moving to PhysX SDK 2.8.4 (win only), and added first experimental SoftBody code. 2010-10-17 08:09:48 +00:00
David Rose b1d16dd3ce publish randomizer 2010-10-14 21:14:12 +00:00
David Rose 1c8d2859f1 add_random_instances(), get_slope() 2010-10-14 21:12:54 +00:00
David Rose 593393dd64 speedtree win64 2010-10-14 16:57:00 +00:00
David Rose f85ccdf0f3 pstats 2010-10-14 00:31:36 +00:00
David Rose 71e686ab5a more config variable polish 2010-10-13 23:18:33 +00:00
David Rose 267114bd09 shadows 2010-10-13 23:08:57 +00:00
Ken Patel fa68ec6a52 GIB - improve logging esp in httpChannel to identify which channel is associated with each log message 2010-10-13 21:16:25 +00:00
David Rose b4a5ac7a25 bam files 2010-10-13 18:40:06 +00:00
David Rose 1bd404eaa8 clean up output a bit 2010-10-13 00:14:15 +00:00
David Rose c7628bb9f1 minor fixes 2010-10-12 23:57:33 +00:00
David Rose d93aac8ad8 terrain 2010-10-12 23:12:51 +00:00
rdb 66f1acc32f unconst the consty constipation 2010-10-11 19:29:54 +00:00
rdb b72ae7c513 commit teedee's portal fixes 2010-10-10 06:05:58 +00:00
David Rose 92852073f2 anisotropic-degree 2010-10-09 17:09:55 +00:00
David Rose 67df80cd1b config variables 2010-10-09 01:18:19 +00:00
David Rose 48995655dc missing defines 2010-10-09 00:15:47 +00:00
David Rose 66099fdce8 missing includes 2010-10-09 00:15:26 +00:00
David Rose 0596c3990d speedtree dx9 2010-10-08 21:32:15 +00:00
David Rose 6f69411aac flatten 2010-10-08 21:11:39 +00:00
David Rose dcdbe1b699 cvsignore 2010-10-08 18:42:25 +00:00
David Rose 4fb98a7f95 lighting 2010-10-08 18:41:42 +00:00
David Rose 1764ae7a7a rats, unintended commit 2010-10-08 00:28:11 +00:00
David Rose 71689ea198 stf files 2010-10-08 00:27:49 +00:00
David Rose 48c6a8756a speedtree refinements 2010-10-07 23:17:28 +00:00
David Rose d0db1d1f07 SpeedTree: first pass 2010-10-07 23:04:46 +00:00
David Rose eebf4874b0 USE_GENERIC_DXERR_LIBRARY is better as a configuration parameter 2010-10-05 18:53:51 +00:00
David Rose b041ea7e6d use generic dxerr, it's more broadly available 2010-10-05 17:08:49 +00:00
rdb 754cb8e4bc Changes to build PhysX support on 64-bits Linux 2010-10-01 16:23:16 +00:00
Ken Patel 0949ebd92a panda - downloader now logs the start of all http requests (method and url) and reports url for connection timeouts 2010-09-28 23:22:35 +00:00
David Rose fbd5477d7b add unixshortname to docs 2010-09-28 20:49:15 +00:00
Ken Patel c95c1374ad Logging - demoting the Loading url.mp3 log messages to debug 2010-09-27 22:24:19 +00:00
David Rose 80705de816 add egg-flat-colors 2010-09-25 03:31:56 +00:00
David Rose 57f10c8a37 fix assertion error after long delay 2010-09-22 14:31:42 +00:00
David Rose a49e684dbe fix osx win-fixed-size 2010-09-12 00:10:59 +00:00
David Rose 5a635059b6 add CollisionBox::test_intersection_from_segment() from forum user teedee 2010-09-11 08:39:05 +00:00
David Rose 358e83bb89 fix scrollbar buttons disappearing when resizing 2010-09-09 19:20:04 +00:00
David Rose 060217dcdd need HAVE_VIDEO4LINUX 2010-08-29 17:53:17 +00:00
Bei Yang cec641bea1 Added support AuxFloat in add_render_texture 2010-08-26 19:21:00 +00:00
David Rose 64300e32bc add describe_vertex() 2010-08-25 19:11:08 +00:00
David Rose 17535c41a6 fix NodePath::adjust_all_priorities() for textures 2010-08-21 00:22:44 +00:00
David Rose ae77c767c2 fix comment 2010-08-21 00:22:13 +00:00
David Rose eeb2bf2547 Solaris doesn't provide FIONBIO 2010-08-20 15:01:24 +00:00
David Rose 27a65375d0 fix comment 2010-08-18 21:34:59 +00:00
David Rose 2ee7d0067b patch from forum user danlepage for new FMod API 2010-08-15 20:25:42 +00:00
Redmond Urbino 6b837e55fd more robust client when dealing with slow network connections 2010-08-06 21:36:18 +00:00
David Rose 834ff90f7c fix VirtualFile::read_file() for text files 2010-08-05 22:04:14 +00:00
uid30437 9f996f451e fix poor placement of window in OSX runtime environment 2010-08-05 17:54:48 +00:00
uid30437 909c54194d reduce warning messages 2010-08-05 17:48:37 +00:00
Mike Christel 4ec660096d Added getters for auto_flatten mode, near and far (i.e., get_flatten_mode, get_near, get_far). 2010-08-03 14:56:17 +00:00
rdb 8fd806a5c9 Whoops, let's not forget the init_type() 2010-07-29 17:03:41 +00:00
rdb 892cf20f5a Add BitMask16 definition 2010-07-29 15:37:50 +00:00
rdb 5e1af4fd46 Fix compile errors 2010-07-28 08:36:11 +00:00
enn0x 39ffe108c3 Fixed bug with releasing PhysxController (get_actor got called after unlink). 2010-07-27 05:24:17 +00:00
David Rose 306d4a8337 build error 2010-07-26 21:34:31 +00:00
rdb e14039fdbd Add matroska video container 2010-07-26 14:09:12 +00:00
rdb 253473d3ea calc_tight_bounds default to current thread 2010-07-21 09:21:47 +00:00
David Rose 775184f113 build error 2010-07-19 20:46:13 +00:00
David Rose 59d74640fa oops, stoopid me 2010-07-19 19:14:23 +00:00
David Rose 4fea43386f stoopid cvs 2010-07-19 19:13:50 +00:00
David Rose 9124513b82 side-by-side stereo 2010-07-19 18:43:24 +00:00
Zeno Gerakin 9a3d16b1c5 patch from gerakinis and yaio to detect available desktop sizes 2010-07-19 13:35:22 +00:00
David Rose f42788880f add explicit glx prototypes 2010-07-15 18:15:42 +00:00
David Rose 9d53f9cfa1 Status -> PStatus 2010-07-14 22:49:07 +00:00
rdb 382bd8296b needs more cow bell
nah, I actually fixed the ffmpeg compile bug
2010-07-14 18:58:16 +00:00
David Rose 16a4cc0d84 protect jpegint.h references 2010-07-14 13:59:34 +00:00
David Rose 1e92150040 add pnmtext 2010-07-09 21:32:50 +00:00
David Rose b978d45af5 properly handle HAVE_CG 2010-07-09 00:45:52 +00:00
enn0x f8601ef179 Added move_global_* methods to PhysxActor 2010-07-06 17:32:44 +00:00
enn0x 955b03dff9 Refactor debug names, this time using C++ strings 2010-06-30 21:44:12 +00:00
Chris Brunner fec47d9aea Make things a bit more efficient 2010-06-30 00:15:31 +00:00
Chris Brunner e2127a0ba2 adding a fail case for node_frame_inv 2010-06-29 23:13:57 +00:00
Chris Brunner 06bc35360d Prevent trying to invert singular matrix 2010-06-29 22:47:44 +00:00
enn0x 2b1f43f5d8 Fixing compile error on Linux. 2010-06-29 18:20:10 +00:00
enn0x 082e0781ac Added 'is_deleted_a/b' methods to PhysxContactPair, to check if actors are already deleted and thus invalid 2010-06-28 21:24:03 +00:00
enn0x 76c3f1268b Fixed bug with internal debug names getting lost. 2010-06-28 18:22:19 +00:00
rdb c5a67c5f63 Attempt to fix compilation error 2010-06-27 12:43:21 +00:00
rdb a1093099c8 (untested) fix for ffmpeg versions 52.68.0 and above 2010-06-27 12:17:19 +00:00
rdb a153f2ff7f Fix circular include 2010-06-27 07:25:32 +00:00
Walt Destler bb5d97f1bf Fixed the following issues with the multitouch and python eventing code comitted earlier this week:
-	Renamed CustomGraphicsWindowProc to PythonGraphicsWindowProc.
-	PythonGraphicsWindowProc now extends the PythonCallbackObject class.
-	Added a GraphicsWindowProcCallbackData class. The data stored in this class depends on the OS being compiled for. (Currently only members for WIN32.)
o	Multitouch is now handled through this class as well. It has is_touch_event(), get_num_touches(), and get_touch_info() methods. The GraphicsWindow class still has these methods (GraphicsWindowProcCallbackData simply calls them), but they are no longer published.
-	Updated Sources.pp to use all these new files.
-	Added function and class comment blocks to everything.
-	Fixed a few coding convention things and continued to follow those conventions to the best of my knowledge.
-	Checked for literal tab characters.
-	pandabase.h comes before all other includes
-	No Windows-specific typedefs in non-Windows code.
-	All python-specific code in HAVE_PYTHON blocks.
-	Fixed the case between TIF_move, TIF_down, and TIF_UP (now TIF_up).
2010-06-25 21:46:53 +00:00
rdb fc485af1be Minor comment fixes 2010-06-23 09:34:22 +00:00
rdb 966d467ab2 Compile fix for non-Linux systems 2010-06-23 09:04:50 +00:00
rdb 99f238f0a3 Fix typo in error message 2010-06-23 08:57:30 +00:00
rdb 00ee003d1e Video4Linux2 support for WebcamVideo and a few minor improvements to the webcam code. 2010-06-23 08:51:53 +00:00
David Rose 1fe3638a1f __WIN32__ -> WIN32 2010-06-22 22:07:30 +00:00
Chris Brunner ce00397d7c Changing Windows-centric UINT's to regular int's 2010-06-22 22:02:32 +00:00
David Rose f520917426 fix some more build issues 2010-06-22 21:51:13 +00:00
David Rose 18699ac31f another missing file 2010-06-22 21:29:34 +00:00
David Rose 5c565538a4 another missing file 2010-06-22 21:02:24 +00:00
David Rose a4c570bcd4 add missing file to INSTALL_HEADERS list 2010-06-22 20:27:16 +00:00
Walt Destler b4231f8df0 Added ability to receive windowing events in python.
Added Windows 7 multitouch support. Makepanda will detect when compiling with the Win7 SDK and turn on Win7 multitouch features.
2010-06-22 16:37:17 +00:00
rdb 47649afc5b Let's not use the non-standard timegm() even if __GNUC__ is defined 2010-06-22 07:25:33 +00:00
David Rose 4b15eab071 output fbprops too 2010-06-18 01:00:48 +00:00
David Rose 065b130d64 libp3tinyxml_mt 2010-06-17 18:15:15 +00:00
David Rose 9d3724a40b optimizations to vfs.readFile(), particular for mounted multifiles 2010-06-16 21:58:39 +00:00
David Rose 6532984ea6 even better fix: allow callback to save OdeGeom pointers 2010-06-15 17:39:47 +00:00
David Rose 5823ecc588 fix crash 2010-06-15 17:01:44 +00:00
David Rose ecf55f8955 Py_XDECREF? 2010-06-15 00:45:29 +00:00
David Rose cff2eb6052 Py_DECREF 2010-06-14 17:33:43 +00:00
David Rose 94eeacbbe2 display cubes for a cube map or 3-d texture 2010-06-12 21:09:22 +00:00
David Rose 02a740c143 fix cube maps in conjunection with 'preload-textures 0' and model-cache-dir 2010-06-12 21:08:13 +00:00
Bei Yang 626cb5966a Added a windows OpenGL implementation of finish frame and begin finish. This allows for frame flip syncronization across multiple machines. This is a change made by WDI to aid cave rendering 2010-06-11 16:43:53 +00:00
David Rose 60b3920388 fix interrogate issue 2010-06-09 00:45:42 +00:00
David Rose 9d14c7867b allow far plane to go further out 2010-06-08 22:49:44 +00:00
rdb 80dba4efd6 Preventive fixes for some unlikely memory issues 2010-06-04 08:05:49 +00:00
Chris Brunner cd33f54950 win64 support 2010-06-02 19:13:31 +00:00
David Rose bc0529fce2 fix bug with set_subdata 2010-05-31 18:51:42 +00:00
rdb 1eb6bf3d42 Add missing include (to fix compile error on FreeBSD) 2010-05-30 15:59:57 +00:00
David Rose 23208e494c protect against undefined symbol 2010-05-29 18:49:48 +00:00
David Rose edd9d59c0e protect against undefined symbol 2010-05-29 18:47:45 +00:00
David Rose cde8a0bf38 PTHREAD_MUTEX_NORMAL -> PTHREAD_MUTEX_DEFAULT 2010-05-29 16:50:58 +00:00
Chris Brunner c87f384a40 fixes for 32 and 64-bit builds both being able to build 2010-05-28 23:22:43 +00:00
Chris Brunner 547a72053c support for #ifdef WIN64_VC instead of just #ifdev WIN32_VC alone 2010-05-28 21:09:22 +00:00
David Rose 6f6b803297 capture movement operations 2010-05-28 17:32:23 +00:00
Chris Brunner 74f0849d7e workaround for a compiler bug with Win64 2010-05-27 23:50:59 +00:00
Chris Brunner 60e2152767 use a value for BAD_SOCKET that's compatible with 64-bit unsigned long ints 2010-05-25 23:02:10 +00:00
David Rose 8d69803105 clear_colliders() should clear handlers too 2010-05-25 22:41:23 +00:00
David Rose bb96117de2 interrogate fix for ode::get_id() 2010-05-25 21:12:44 +00:00
David Rose 6138518de9 need to install tinyxml.h 2010-05-25 20:53:36 +00:00
rdb ad0d9f1f78 Revert big mistake 2010-05-25 07:53:48 +00:00
rdb 5b0c06d5f9 Combine tinyxml into dxml directory 2010-05-25 07:24:31 +00:00
rdb 4173057c26 Move tinyxml into the source tree, rather than using it as external library 2010-05-24 18:55:08 +00:00
David Rose 326da19431 limit cost of test_vref_integrity() 2010-05-23 00:21:07 +00:00
rdb 66b5af633b Oops, minor correction 2010-05-21 16:42:56 +00:00
rdb e28653275d Don't add render texture if it is NULL 2010-05-21 09:17:05 +00:00
Bei Yang e4620b577e no message 2010-05-20 17:42:08 +00:00
Bei Yang 802dc492cc First commit of graphics window proc 2010-05-19 23:20:44 +00:00
Bei Yang 2f60d17345 Fixed white space problem 2010-05-19 22:15:53 +00:00
Bei Yang 48fe578648 Fixed some CVS shinanigins 2010-05-19 21:03:36 +00:00
Bei Yang 6a514be7d7 no message 2010-05-19 20:58:28 +00:00
David Rose 4eae7e6635 remove unused declaration 2010-05-19 13:01:42 +00:00
rdb a617a5cb97 Add get_average_xel, get_average_xel_a, get_average_gray 2010-05-17 13:11:43 +00:00
rdb 76f2f2b0ba Add unary complement operator to PNMImage (ability to do ~image) 2010-05-16 09:46:19 +00:00
rdb 1a7653d146 Ability to add, subtract, multiply PNMImages with each other or with a constant 2010-05-15 08:44:18 +00:00
David Rose 8f1999f63d fix some edge conditions with non-blocking download_to_file 2010-05-12 21:58:01 +00:00
rdb fb70cee298 I think this should fix a compilation error with OpenGL ES 2010-05-12 18:21:58 +00:00
rdb 609a328946 Add PNMImage::perlin_noise_fill 2010-05-08 14:49:41 +00:00
rdb d92008a76d Protect against crash 2010-05-07 14:36:18 +00:00
Abhishek Nath da0908002c Stop the hard crash at the python level when maximum buffer size is exceeded 2010-05-07 05:56:29 +00:00
David Rose 91e6231a3c apply per-attrib override to TexMatrixAttrib also 2010-05-06 01:12:34 +00:00
rdb 045f7acb41 Fix compilation error when compiling without support for Cg 2010-05-05 15:19:41 +00:00
Mike Christel 01b720ceb9 Added get_supports_cg_profile 2010-05-05 14:13:24 +00:00
David Rose 9d62ca9f98 one override per TextureStage, instead of a global override per TextureAttrib 2010-05-04 22:39:40 +00:00
David Rose 2475878a70 temp_context 2010-05-04 19:34:32 +00:00
David Rose 24c91f85f3 x_error_count, etc 2010-05-04 19:33:27 +00:00
David Rose 42a456b2db protect against gcc compiler bugs in general 2010-05-04 17:07:15 +00:00
Mike Christel ad30e4c71f Overload improved (not optimal, but better than list of string arguments) to set_shader_auto to allow any of normal, glow, gloss, ramp, shadow to be turned on or off via bitmask 2010-05-03 16:41:16 +00:00
David Rose 6a7580ca45 TextFont::make_copy() 2010-05-03 03:51:15 +00:00
David Rose 62889f3fa6 fix release_font issue 2010-05-03 03:21:22 +00:00
David Rose 5e09cff612 Thread::is_simple_threads() 2010-05-01 19:21:58 +00:00
David Rose 5e8d539f1f move OS_SIMPLE_THREADS to dtool_config.h 2010-05-01 16:10:54 +00:00
David Rose aa7c806ff4 fix dxgsg9 shader support with new PandaSE stuff 2010-05-01 01:29:51 +00:00
David Rose 26cde69b5c use OS_SIMPLE_THREADS, and add posix threads support 2010-04-29 18:45:43 +00:00
Mike Christel 5dfa504370 Texture arrays added to Texture class, passed to shader through setShaderInput(name, texture). A new Cg type sampler2DArray has been added to the panda3d Shader Class. 2010-04-29 14:48:44 +00:00
David Rose 93583d77bc work around compiler bug 2010-04-28 22:55:33 +00:00
David Rose c489fbeefc is_true_threads() on win32 case 2010-04-28 18:22:46 +00:00
Mark Wojtowicz 3255e51f1d Bring in some lines from the DX9 gsg to fix textures getting swapped to their simple form but not getting reloaded. 2010-04-28 16:25:09 +00:00