Commit Graph

11210 Commits

Author SHA1 Message Date
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
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
Zachary Pavlov f1cb508349 using a hexy to keep the segment non-axis-aligned 2010-04-28 01:57:32 +00:00
David Rose e5751db70a mac build error 2010-04-27 22:47:41 +00:00
David Rose dbf690e844 whoops, lost _offset assignment 2010-04-27 22:37:24 +00:00
Zachary Pavlov 4930c9a6f2 collision segment that does not extend to an infinite bounding volume 2010-04-27 22:16:41 +00:00
David Rose c3eace229e add vfs::mount_loop() 2010-04-27 21:45:00 +00:00
David Rose 15d98ead96 experiment with WIN_THREAD_CONTEXT 2010-04-27 21:30:08 +00:00
rdb 0e54f8b85b Work around compiler optimisation bug on FreeBSD by swapping two lines of code :-/ 2010-04-25 08:30:02 +00:00
rdb 54769c76b5 Fix compilation error for OpenGL ES 2 2010-04-23 12:13:37 +00:00
rdb a464e45c0e Apply fix from andresv to fix flickering objects with a shader 2010-04-18 15:50:15 +00:00
Mike Christel 671276fa6d Fixed bug with textures in synthesize_shader (case TextureStage::M_modulate): separate textures formatted as alpha were wiping the color info off the resulting rgb 2010-04-16 18:50:32 +00:00
Mike Christel c308b57137 Overload added to set_shader_auto to allow any of normal, glow, gloss, ramp, shadow to be turned on or off 2010-04-16 14:06:26 +00:00
David Rose 674099f5c1 osx-support-gl-buffer 2010-04-13 23:05:07 +00:00
David Rose 30155fb72e add support for uncompressed luminance and luminance-alpha dds files 2010-04-13 17:19:18 +00:00
David Rose 848d439f72 compilation errors 2010-04-12 18:55:31 +00:00
rdb c9073b1d80 Put back a fix that the PandaSE team happily but accidentally reverted 2010-04-12 16:47:59 +00:00
rdb f76a3b37da Fix compiler warning 2010-04-09 13:15:19 +00:00
David Rose 481aa0d8ec fix to typo 2010-04-07 22:54:26 +00:00
David Rose f7b9b5144d whoops, forgot too 2010-04-07 22:26:54 +00:00
David Rose 31fd59476a migrate UvScrollNode -> pgraphnodes 2010-04-07 22:02:31 +00:00
enn0x 8dd0b6ca96 Cloth simulation and rendering. No tearing yet. 2010-04-07 18:42:06 +00:00
rdb 06167a0ec7 Shouldn't do so without actually trying my fix first, though 2010-04-07 17:30:17 +00:00
rdb c700c23c28 Attempt to fix build without HAVE_CG 2010-04-07 17:28:53 +00:00
rdb 102b46878e More compatibility with exotic compilers (yes, I actually tried to port Panda to clang) 2010-04-07 16:59:46 +00:00
Mike Christel 6418e6f221 extended shader input system support for Cg (see Panda SE Project 2010-03-17 blog post for more details) 2010-04-07 11:16:29 +00:00
treeform d5ebb58874 Added more debug messages to openAL audio manager for closing it.
We use resent OpenAL-soft in the distribution (1.12 or more instead of 1.8)

There is this bug:
OpenAl soft some times selects ALSA software
ALSO software some times has a bug working with pulse audio
So we need to make sure OpenAL uses pulse audio directoly, then it works.

KittCat (openAL soft author):
well, more like worked around it. but it's not something I can fix in openal soft
I've gone over the code several times and had other people comment on it. alsa just enables mmap when using the pulse plugin even though the plugin doesn't support it
using the pulse api directly (or disable using mmap with alsa) gets around the problem, though
2010-04-03 07:26:00 +00:00
treeform d5071f89b6 I have added the debug output for AL_RENDERE AL_VENDER and AL_VERSION when starting openAL 2010-04-03 06:08:56 +00:00
David Rose 3293a6574a http-preapproved-server-certificate-name 2010-04-03 01:17:45 +00:00
Mark Wojtowicz 822c496f68 Fixed typo in apply_clip_plane() causing only the first plane to be considered. 2010-04-02 23:09:58 +00:00
enn0x 05c8023f55 Fixing broken build, and undoing previous quickfix. 2010-03-28 21:25:51 +00:00
enn0x b7eb84762f Define cloth classes/methods only if PhysX cloth API is defined (Not yet tested). 2010-03-28 19:01:03 +00:00
enn0x 195a8d93ad Cloth meshes (descriptor, mesh, cooking, pool). 2010-03-28 14:44:16 +00:00
rdb e3fdfaf312 Fix API reference explanation for relative mouse 2010-03-28 13:29:43 +00:00
rdb de4280ea20 Remove helix 2010-03-27 09:56:49 +00:00
rdb 93c6b27e70 ucontext.h seems to be deprecated in Snow Leopard, so let's include sys/ucontext.h there 2010-03-27 06:57:12 +00:00
David Rose 226c5de6ba fix fullscreen restore from minimized 2010-03-26 19:50:45 +00:00
enn0x 7b2df70c7b Config-option to activate multithreaded/multicore mode for PhysX engine. 2010-03-26 13:13:15 +00:00
enn0x c7bdb4ae1b PhysxManager.get_global_ptr now returns NULL is SDK initialization fails. 2010-03-25 21:35:41 +00:00
enn0x 7bd70efba7 Convenience classes for vehicles and wheels (no members or methods yet). 2010-03-25 21:29:52 +00:00
Bei Yang d79c1db68e Made this into a datanode 2010-03-25 08:37:04 +00:00
Bei Yang be7a26dd12 initial add 2010-03-25 01:20:11 +00:00
Chris Brunner d4bb6e276a added a much-needed 'info' notify output for loading audio files 2010-03-24 00:07:17 +00:00
Bei Yang fb9d65b149 Working version checked in. TODO: Lots of documentation. Finish implementation of javascript callback methods. 2010-03-23 23:06:00 +00:00
rdb e9234408c0 Fix errors on destruction when the GLSL shader failed to link 2010-03-23 13:23:34 +00:00
Bei Yang 846505743d Fixes an optimization bug producing #INF in the egg file. Added check to make sure data isn't empty. This might be an issue only found in VS2008 SP1. 2010-03-19 23:10:50 +00:00
gogg 938c86eee6 (Correctness) Delete internal arrays as arrays, not scalar. 2010-03-18 20:46:42 +00:00
David Rose f3df033696 fix is_2d() bug 2010-03-17 22:31:45 +00:00
gogg 8c4996c152 Fixes an OpenAL bug where certain sounds are cut off after a few seconds (this is rather experimental) 2010-03-17 14:38:13 +00:00
David Rose 2e4c938c71 fix bug with set_saved_result 2010-03-16 00:03:51 +00:00
rdb a9062aa25f Fix weird bugs regarding indexed_color on Unix/GLX 2010-03-15 10:49:42 +00:00
gogg dd2b42eaf1 Remove voodoo workaround from find_acceptable_display_mode. 2010-03-14 22:27:48 +00:00
David Rose bace12e8d7 need accum-bits config variable 2010-03-14 18:31:05 +00:00
David Rose b89595c845 further fixes to two-step context creation 2010-03-13 18:28:52 +00:00
David Rose 6d21f840bd fix crash when no default font available 2010-03-12 19:16:00 +00:00
David Rose e972a6dd0b get_text() should return a reference 2010-03-10 20:26:18 +00:00
David Rose bbddefa885 make_window() should be public 2010-03-10 18:51:30 +00:00
rdb eec6ae2728 Typo 2010-03-10 09:40:08 +00:00
David Rose 4fd129413a more robust handling of glx version and extension functions w.r.t. pbuffers and pixmaps 2010-03-08 20:58:06 +00:00
David Rose 181663ad66 fix error handling in NDEBUG case 2010-03-07 17:44:32 +00:00
David Rose 26332522da cursor color should follow text_fg color 2010-03-06 00:00:25 +00:00
David Rose b615117dff typo: has_fixed_size -> get_fixed_size 2010-03-05 02:31:33 +00:00
gogg 6785a61f3c Export the built-in font pointer, so that we can use it with other libraries/classes. 2010-03-03 15:13:04 +00:00
David Rose 53274c354a win-fixed-size 2010-03-02 21:53:39 +00:00
David Rose b61d739f19 fix fullscreen failure case 2010-03-02 19:04:01 +00:00
rdb 0d169cb3e8 Fix longstanding bug with "window-type offscreen", enable pbuffers 2010-03-02 18:47:18 +00:00
David Rose 6db963dfa6 publish PTA_double, PTA_LMatrix4f, PTA_LVecBase3f 2010-02-28 03:29:34 +00:00
enn0x d5c93ae026 Debug renderer: rendering triangles and improved performance, and smaller fixes. 2010-02-24 21:09:58 +00:00
rdb 2e503bd284 Fix error message 2010-02-24 15:57:02 +00:00
Chris Brunner 569adce11b removing dead header file from Sources.pp 2010-02-23 22:22:35 +00:00
David Rose cfe0796c46 fix assertion error on showTightBounds() 2010-02-23 20:42:25 +00:00
Zachary Pavlov ad4056cf6c oops, missed one 2010-02-19 22:02:07 +00:00
David Rose 5c1fd06799 don't double-compress images 2010-02-19 20:38:11 +00:00
Zachary Pavlov 34a80d821b tentative lod scale support 2010-02-19 02:32:05 +00:00
rdb b9f4cec283 Minor clarification 2010-02-17 09:55:16 +00:00
rdb 9f229cf4ee Remove NDEBUG markers 2010-02-15 17:41:19 +00:00
David Rose a942ce5fbf lists and strings will be automatically coerced into a PTA_blah 2010-02-11 22:38:34 +00:00
David Rose 4cf4811af6 more refinements to the whole shared-node pickle thing 2010-02-11 01:32:00 +00:00
David Rose 981890183b bamify NodePath's parents etc too, to better support common nodes 2010-02-10 23:50:57 +00:00
David Rose f6f9e269f4 introduce stdpy.pickle module with support for common-node NodePaths within a pickle stream 2010-02-10 19:43:58 +00:00
David Rose 2494b49728 Thread::get_current_task() 2010-02-09 20:14:58 +00:00
David Rose 7c3bd0bd8d reduce end-of-phase chugs 2010-02-09 19:51:20 +00:00
gogg fbbc5bb9e6 Compatibility with DX SDK August 2009 that shouldn't break older SDKs. SECURE_SCL settings restored in makepanda. 2010-02-04 04:27:35 +00:00
David Rose 764585f43a temporarily revert dx9 sdk change 2010-02-02 19:02:43 +00:00
gogg d067be47f5 Support for August 2009 DirectX SDK. New DTool configuration macros. Makepanda can now detect Window Framework 6.0A 2010-02-02 02:20:25 +00:00
David Rose 5d724d16a8 fix static-init ordering issue preventing ssl_certificates from being read at startup 2010-02-02 00:27:34 +00:00
rdb 80e31c60bb Add mp4 2010-02-01 08:01:15 +00:00
rdb e25d3d75e2 accept mpeg extension too 2010-01-31 20:32:23 +00:00
rdb b2b32aea5b Fix longstanding bug with the FPU being forced into single-precision mode on Windows 2010-01-31 08:48:41 +00:00
rdb 41ad9b2776 Fix leak/crash on shutdown on Linux 2010-01-29 14:17:58 +00:00
rdb d56b98b37d Er, typo 2010-01-27 18:06:11 +00:00
rdb 06bafd70ce Fix compile issue, I think 2010-01-27 17:40:23 +00:00
rdb d4dcd9cb12 Support for the latest version of OpenSSL 2010-01-27 16:00:23 +00:00
rdb 0a372b463a Fix compile issue with OpenGL ES 2010-01-26 17:10:27 +00:00
rdb 26a8e60405 Fix compilation error with OpenGL ES 2010-01-25 12:40:14 +00:00
enn0x c299cba834 Fixed loading of binary meshes from virtual file system. 2010-01-24 21:56:02 +00:00
rdb bb1ea5ebd3 New artwork from Gogg 2010-01-23 11:52:03 +00:00
David Rose 27ab160e8f add pta_int.cxx to this composite (moved from putil) 2010-01-21 01:15:02 +00:00
Abhishek Nath 59b7df2c50 Red's workaround (hack) to get awWebCore to build 2010-01-20 18:35:06 +00:00
rdb 5f0d9ca5d7 Remove pta_int.cxx from composite file to fix compiler error 2010-01-20 10:26:12 +00:00
David Rose fb73301676 publish low-level GeomPrimitive methods 2010-01-19 16:10:45 +00:00
David Rose ff8d5eaf77 bug with unlock assertion 2010-01-18 23:09:07 +00:00
rdb b8cacaf29e Change from forum user stickm 2010-01-16 20:45:12 +00:00
enn0x eb1a45529c Add material indices for triangle meshes. 2010-01-16 09:10:52 +00:00
rdb b4fa8e90f9 Wait, this fix is cleaner 2010-01-16 08:49:48 +00:00
rdb a7cd0077b7 Compile fix for Xrandr 2010-01-16 08:48:49 +00:00
Darren Ranalli 0955e0aabc make sure DirectObject._addTask and ._clearTask are called only once per task create/destroy 2010-01-13 23:37:56 +00:00
treeform b373379e59 Added better doc comments to meshDrawer 2010-01-13 06:49:49 +00:00
treeform 38bb5593ad made the meshDrawer take rec instead of a frame, drepricating the limited plate/frame system 2010-01-13 06:33:39 +00:00
treeform fa700bd7c3 Fixed the curve bug for real this time. Last fix to the curve just hid it.
https://bugs.launchpad.net/panda3d/+bug/383969

Happy curving without segfaults!
2010-01-12 08:19:15 +00:00
rdb ca2ec74da7 Fix uninitialized MeshDrawer2D TypeHandle errors 2010-01-12 07:59:57 +00:00
David Rose 777322003a morph threshold comparisons 2010-01-11 19:43:54 +00:00
David Rose 2dd54c37ef new files added 2010-01-11 19:19:25 +00:00
rdb 1ac95453bd Fix runtime fullscreen toggle 2010-01-11 09:39:25 +00:00
gogg 97c48d762f Bugfix: Client area was getting cropped when switching back to windowed under Windows. 2010-01-11 08:03:58 +00:00
rdb 264c603608 Don't forget the window manager hint 2010-01-10 20:36:35 +00:00
rdb 478a28bb77 Fullscreen toggling 2010-01-10 20:30:02 +00:00
enn0x b59d5a2887 Fixed an issue with the platform specific defines. 2010-01-10 17:34:32 +00:00
gogg b37d1191d5 Support for switching to and from fullscreen mode in Windows during runtime. 2010-01-10 16:54:09 +00:00
gogg acb8427feb Fixes to MeshDrawer2D; Missing declarations make MSVC sad. 2010-01-10 14:25:06 +00:00
treeform 48918928c8 adding meshDrawer2D - to compliment meshDrawer 2010-01-10 04:56:10 +00:00
treeform a95620c2db fixed https://bugs.launchpad.net/panda3d/+bug/383969 , whas doing default_curve-> when default_curve is null, now just returns false 2010-01-09 16:35:09 +00:00
rdb 0bf8946512 Resolution switching support under Linux 2010-01-09 16:18:11 +00:00
rdb 350119fd45 Support querying the available display modes in X11 2010-01-09 10:50:49 +00:00
rdb 3eda1e1109 dos2unix 2010-01-08 10:22:42 +00:00
enn0x e1665c7abb Moving platform-specific defines from buildfiles to code. 2010-01-08 01:13:23 +00:00
David Rose f0597899d9 remove debug statements 2010-01-08 00:15:58 +00:00
David Rose e5e0cb86d5 fix eggvertex comparision 2010-01-07 22:10:12 +00:00
David Rose f0312e4158 replace uhvr8ac.pfb with persans.ttf 2010-01-07 21:22:20 +00:00
enn0x dcf28f5205 Fixes to building module physx using ppremake 2010-01-07 14:02:50 +00:00
David Rose 32bbe5f8fe fix uninitialized usage_hint 2010-01-07 01:28:29 +00:00
Redmond Urbino d8c08f5170 kill crash when you logout to pick a toon then choose a diff toon 2010-01-06 03:06:19 +00:00
David Rose fe763aff9a bugfix suggested by Erik Pojar 2010-01-05 15:40:17 +00:00
enn0x 319d89d213 Removing PT (PointerTo) makro where not required, part 2 2010-01-05 12:19:11 +00:00
enn0x 069cc6aab9 Removing PT (PointerTo) makro where not required, part 1 2010-01-05 11:28:55 +00:00
rdb 32790419f4 Initialize _cg_context 2010-01-03 10:27:13 +00:00
rdb ded22d4fc6 Fix comment typo 2010-01-01 18:31:18 +00:00
David Rose ed32f2264e avoid low-level case-sensitive issues 2009-12-31 19:58:36 +00:00
enn0x f40a807484 Removed unnecessary lines. 2009-12-31 12:36:23 +00:00
David Rose 9ec2028de5 compiler warnings 2009-12-30 19:22:34 +00:00
rdb 51378e31a0 Improve parallax mapping support 2009-12-30 15:09:29 +00:00
David Rose a180898666 fix crash at shutdown 2009-12-30 01:18:44 +00:00
David Rose 478909b764 avoid crash at exit 2009-12-30 00:03:31 +00:00
David Rose 5455b869b2 download-throttle config var 2009-12-28 19:15:48 +00:00
David Rose 59e6a8a444 spam -> debug 2009-12-28 19:15:11 +00:00
enn0x 1a7942b40c Merging dev_physx_2009 to HEAD. 2009-12-28 11:33:36 +00:00
Redmond Urbino 79b6b53d32 add support for WebViewListener 2009-12-24 22:37:08 +00:00
rdb 2c777c23d6 Let's use RTP_depth for now, with the shadow system, until the bugs with RTP_depth_stencil on Windows are resolved. 2009-12-22 15:47:54 +00:00
rdb eafe6572a9 Fix compile issue on OSX 2009-12-22 10:52:14 +00:00
rdb 22beaad50d Apply Schell Games change to GLX case as well 2009-12-21 19:01:03 +00:00
rdb c136904fa9 Add hardware instancing support 2009-12-21 14:22:12 +00:00
rdb f2a937c79f And this 2009-12-21 12:37:47 +00:00
rdb b5bab4084f Forgot this checkin 2009-12-21 12:37:13 +00:00
David Rose 1fc71a28e8 operator bool 2009-12-19 07:09:45 +00:00
David Rose 539737278b blocking methods 2009-12-19 06:37:17 +00:00
David Rose 83b78b6587 fix right-click menu deadlock on IE 2009-12-19 04:01:30 +00:00
David Rose d477cf1615 fix win-origin -1 -1 2009-12-18 21:51:50 +00:00
rdb 765f00d846 MUAHAHA I found my little typo. = -> == 2009-12-17 18:48:56 +00:00
rdb 2e41525198 Oops, fix compilation issue in my latest commit 2009-12-17 18:11:31 +00:00
rdb 161c92ba7a I think I messed up in my latest commit. Let's try it again. 2009-12-17 18:08:29 +00:00
David Rose 265dfba3ad name threads 2009-12-16 17:27:19 +00:00
David Rose 5755ae390c simple_thread_yield_sleep 2009-12-16 17:27:03 +00:00
David Rose 92ac3b6ee8 fix typos for mac build 2009-12-16 15:38:33 +00:00
rdb 67fa81636d oops, fix 2009-12-16 14:50:42 +00:00
rdb 9426525fcc window centering stuff for OSX tinydisplay 2009-12-16 14:28:21 +00:00
rdb 85fda457fa window centering for OSX 2009-12-16 14:27:15 +00:00
David Rose 11895d990a more general threshold() 2009-12-16 13:25:49 +00:00
rdb 1ad9a31163 auto-center windows, Windows case (untested) 2009-12-16 12:30:33 +00:00
rdb 9dcbaf835d Support for putting window automatically in the center of screen (by passing -2, -2 as value) 2009-12-16 12:10:12 +00:00
rdb 98281d31c6 Changes from Keith: glPrioritizeTextures, initial_clear, slightly more helpful error reporting 2009-12-16 08:58:12 +00:00
David Rose 849dc8cccb add PNMImage::threshold() 2009-12-16 06:57:52 +00:00
David Rose 538b8dafdc expose C++ fstream classes 2009-12-15 23:03:18 +00:00
David Rose 165f739fc2 remove debug output 2009-12-15 07:04:00 +00:00
David Rose 42dea034e8 whoops, comment 2009-12-14 20:46:45 +00:00
David Rose 3bb37ce5ce further improvements 2009-12-14 20:46:18 +00:00
rdb 5590431e09 display_width, display_height for OSX tinydisplay renderer 2009-12-14 14:45:24 +00:00
rdb ee6d1b113d Add support for display_width/display_height on OSX 2009-12-14 13:54:57 +00:00
David Rose 96dbda26ba calc_width 2009-12-13 07:53:30 +00:00
David Rose 5d8b61ca86 PGFrameStyle::T_texture_border 2009-12-13 07:20:23 +00:00
Darren Ranalli 9a519539dd fixed uninitialized memory bug 2009-12-11 09:58:42 +00:00
Darren Ranalli 9531a23ef1 added legacy mode for Toontown, only throws events for floor that Toon is standing on 2009-12-11 02:16:42 +00:00
David Rose c22bd94db2 win32 compilation issue 2009-12-10 01:14:53 +00:00
David Rose 816ddc0387 low-level support for python copy and pickle modules 2009-12-10 01:09:06 +00:00
rdb b7f659bd0a Add read offset support to Multifile 2009-12-09 17:59:48 +00:00
rdb 7d9d27e74f Expose ISubStream to Python 2009-12-09 10:08:41 +00:00
David Rose 2773e08b5a default thread priority should be TP_low for readers and writers 2009-12-05 22:35:15 +00:00
David Rose e749054ba5 update comment 2009-12-05 19:37:52 +00:00
David Rose b7fdc8d797 tag a few more methods BLOCKING 2009-12-05 19:37:17 +00:00
David Rose ea31a192b0 add frame_sync flag 2009-12-05 19:04:39 +00:00
David Rose 44dba03a49 fix VirtualMouse code rot 2009-12-05 19:04:05 +00:00
David Rose 7ed5437e15 expose shutdown() 2009-12-05 07:17:11 +00:00
David Rose e86f48a210 attempt to smooth out threaded network layer 2009-12-05 07:01:36 +00:00
David Rose 7cac7363dd fix set_time()--it should set the time for the next play() call, not start the sound playing at that time 2009-12-04 16:14:02 +00:00
David Rose b7134366df gstatic.com doesn't want a port number 2009-12-03 01:24:09 +00:00
David Rose c9114fb40d expose consider_rescale() 2009-12-01 07:35:26 +00:00
David Rose f4ed61f659 support listening on a specific interface 2009-12-01 01:34:02 +00:00
gogg 876bd72fb9 Remove unused member _mods from mouseWatcherRegion declaration. 2009-12-01 00:38:04 +00:00
gogg 7418a00f76 Improved overflowable DirectEntry/PGentry caret-positioning's usability. 2009-11-30 23:41:04 +00:00
David Rose aa489ceb53 build issue 2009-11-30 21:55:57 +00:00
David Rose 052b8cdb93 fix comment 2009-11-29 16:09:39 +00:00
gogg fbf0d87592 D3D9 multisampling can now be enabled with 'framebuffer-multisample' and 'multisamples' settings, and it doesn't crash anymore when an unsupported sampling level is requested. 2009-11-28 17:50:30 +00:00
rdb eb341f8a54 Deprecate get_data and set_data, let's switch to get_tri_mesh_data and set_tri_mesh_data so that we can add support for dGeomSetData 2009-11-27 19:09:31 +00:00
rdb 12fa338faf Add subprocessWindowBuffer.cxx to composite file (for OSX only) 2009-11-27 19:01:31 +00:00
David Rose b4501169f9 more HAVE_P3D_PLUGIN stuff 2009-11-27 18:51:42 +00:00
David Rose 4e586c6e8d remove dependency on HAVE_P3D_PLUGIN 2009-11-27 18:25:14 +00:00
rdb a638ba2062 Add dInitODE() 2009-11-27 18:08:40 +00:00
gogg fe94fedc10 fix for ancient bug that causes non-gui keyboard input to be discarded if the mouse pointer is outside the client area of the window 2009-11-24 01:21:19 +00:00
Bei Yang 538e17d302 Fixed pointer textures to work with SIMPLE_THREADS 2009-11-23 17:38:59 +00:00
David Rose f6971cc724 fix texture limit on shader case 2009-11-19 19:22:18 +00:00
David Rose f165019d2b correct comment 2009-11-19 15:36:27 +00:00
David Rose 5b92b341b6 fix roundoff error in fill() 2009-11-18 22:55:52 +00:00
David Rose c172d80a41 more fixes from Gogg: Windows 7 fullscreen workaround 2009-11-18 22:14:05 +00:00
David Rose 9dad929019 FreetypeFace::init_type() 2009-11-18 15:19:23 +00:00
David Rose 8a64a06946 changes from Gogg: startup optimization, freetype faces, string tokenizer 2009-11-18 15:00:52 +00:00
Ken Patel 8bcbfa6a57 Bam with objects of unknown type error now prints filename of bam 2009-11-17 23:23:50 +00:00
rdb 640b428d91 Fix ppremake build errors with libp3vision 2009-11-16 13:13:34 +00:00
rdb 89a18e62f7 libvision -> libp3vision in ppremake too, as David recommended 2009-11-15 19:28:38 +00:00
David Rose 95db0714db needs EXPCL 2009-11-15 01:06:32 +00:00
David Rose 6e33ac4513 tcp_header_size, some threading issues 2009-11-14 23:27:09 +00:00
David Rose db28251d40 fix onwindowattach/detach for mac 2009-11-13 01:20:52 +00:00
David Rose 24ccc6209b shouldn't cull internal scene 2009-11-12 13:55:50 +00:00
Bei Yang 129d70e265 Fixed it so pointer textures works again. Why does clear image kill it? 2009-11-12 07:11:54 +00:00
David Rose 6ae91cabd2 set_parent_window() implicitly sets window to NULL 2009-11-10 22:27:07 +00:00
Bei Yang 0a673d3e8c Changed x64 compile define code fo COLOR_VALULE 2009-11-10 01:05:35 +00:00
David Rose f6e248c29f movies is a local_lib, not an other_lib 2009-11-09 19:14:14 +00:00
David Rose b1e21add06 win32 2009-11-09 18:28:18 +00:00
David Rose bfc08d6543 remove redundant BUILDING_DLL 2009-11-09 18:20:25 +00:00
David Rose de48c80239 BUILDING_VISION 2009-11-09 17:47:18 +00:00
David Rose 53486852f4 compare_to 2009-11-09 16:49:55 +00:00
rdb f15125ce30 Fix to solve dllexport/import compile issues on Windows, I hope 2009-11-09 14:10:50 +00:00
rdb 414bc4f452 Histogram -> HistMap, to solve compile issues 2009-11-09 14:09:16 +00:00
David Rose a789df141d histogram stuff 2009-11-09 01:11:37 +00:00
David Rose 62f6e4dbe7 fix bug with initial writes to an open connection getting lost 2009-11-08 22:06:23 +00:00
rdb f26e77ecdf Forgot to commit this one, contains BUILDING_VISION stuff 2009-11-08 16:10:44 +00:00
rdb 7036d75501 Move OpenCVTexture, ARToolKit and WebcamVideo to a new "vision" module 2009-11-08 12:56:45 +00:00
David Rose 340aafea67 add copy_channel 2009-11-08 03:11:32 +00:00
David Rose 5843771931 TextureStage objects need to be reference-counted in the scene graph 2009-11-05 01:42:16 +00:00
David Rose bfc0b2ea2b BundlePath is always set in 10.4 2009-11-04 19:52:25 +00:00
David Rose 239676ffd6 hmm, contradictory requirements for placement of glgsg.h 2009-11-04 19:13:39 +00:00
David Rose 91c69d68a8 a few snow leopard build issues 2009-11-04 16:29:52 +00:00
David Rose dc3668bf0e set_parent_window(0) means NULL 2009-11-02 20:47:29 +00:00
rdb 86aa00e1b9 Committed patch from Nz (forum user Gogg) to support text overflow in PGEntry 2009-10-29 12:20:29 +00:00
David Rose 6415d2cc0b add get_button_thrower() 2009-10-28 19:18:34 +00:00
David Rose 884c389bad using bundles (and LSUIElement=1) to better manage OSX dock icons 2009-10-24 23:24:34 +00:00
David Rose af847d758e protect under HAVE_AUDIO 2009-10-24 04:57:46 +00:00
David Rose b6dfe5d6c8 protect under HAVE_AUDIO 2009-10-24 04:50:39 +00:00
David Rose c8c51528bd squelch noisy "cert already in hash table" errors 2009-10-23 04:40:57 +00:00
David Rose 6505a4fbe5 int != GLint 2009-10-21 18:05:38 +00:00
rdb c6796739e9 Fixes for geometry shaders in GLSL, and fixes for nvidia's implementation of GLSL 2009-10-21 17:12:32 +00:00
David Rose 8987a19ba2 fix ssl error messages 2009-10-20 22:25:57 +00:00
David Rose 024c9c31cb add get_frame_buffer 2009-10-20 20:09:07 +00:00
rdb 6eee4b9ace Replace remaining instances of Disney license with CMU license 2009-10-20 08:16:12 +00:00
Redmond Urbino 7d646cb4f5 Notes for building the associated Awesomium.dll 2009-10-20 02:21:42 +00:00
Redmond Urbino 2407c6883a integrating awesomium with panda 2009-10-19 08:29:08 +00:00
David Rose 54ab266373 support series of words in cipher_list 2009-10-17 00:17:40 +00:00
David Rose 3f6192c963 clamp shininess at 128 2009-10-16 04:25:29 +00:00
David Rose 5b3fc8b4be get_display_region 2009-10-16 00:55:55 +00:00
David Rose 7ae0c8c305 a few assertion checks 2009-10-15 19:49:15 +00:00
David Rose 0040b7094a take out troublesome asserts for now 2009-10-13 23:03:50 +00:00
David Rose 9b32060d7c resurrect iphone support 2009-10-13 18:54:43 +00:00
Zachary Pavlov c0f1124dfe aggresive flattening of certain nodes 2009-10-13 18:19:18 +00:00
David Rose b621721cf3 avoid crash 2009-10-12 21:52:19 +00:00
David Rose 787bfc5f94 libfmod_audio -> libp3fmod_audio, libopenal_audio -> libp3openal_audio 2009-10-11 22:22:59 +00:00
David Rose c469dda2c7 another fix to texture::reload() 2009-10-11 20:57:42 +00:00
David Rose 6534f9ba59 allow zero-file multifiles 2009-10-11 20:57:10 +00:00
rdb bdbe391be3 Double the amount of supported semantics 2009-10-11 19:48:44 +00:00
David Rose 7bc69b76ed osx ucontext issues popping up again. This should fix them for good. 2009-10-11 18:45:33 +00:00
David Rose 8bbbd8c7cf compile with openssl 0.9.6 2009-10-09 19:06:19 +00:00
David Rose 7f4aa0e1d7 support wildcard certs 2009-10-09 18:50:20 +00:00
David Rose f01b8ac21c more fallout from Filename change 2009-10-09 00:57:41 +00:00
David Rose 34e66acbba yield thread while downloading 2009-10-08 22:35:07 +00:00
David Rose e371e638dc install for p3dcert 2009-10-08 03:05:19 +00:00
David Rose e6e862b35f compile in ca-bundle.crt 2009-10-08 02:37:20 +00:00
rdb cd6ec4c28c Clean up nonexisting include 2009-10-07 17:47:36 +00:00
David Rose 3557012e6e report cpu info 2009-10-05 18:10:18 +00:00
David Rose 8061092d8e receive_windows_message 2009-10-02 20:22:47 +00:00
David Rose 5e12be142a request_keyboard_focus 2009-10-02 00:04:53 +00:00
David Rose f89a811cf6 wrong severity level 2009-10-01 19:14:53 +00:00
David Rose ee1f03abe7 move subprocess_window into new WindowHandle structure 2009-10-01 19:10:14 +00:00
rdb 5d5a131026 More PyODE-like feedback system 2009-10-01 18:17:35 +00:00
rdb 34729b3495 Missing newline at end of file 2009-10-01 18:02:24 +00:00
rdb cce6604f25 Fix joint feedback exposure 2009-10-01 17:27:42 +00:00
rdb 6290e4c2b5 Protect CertRecord stuff by an #ifdef HAVE_OPENSSL 2009-10-01 16:25:29 +00:00
David Rose 2b5d5fb9e6 interrogate objections 2009-10-01 00:48:48 +00:00
David Rose 802933b0c2 includes 2009-10-01 00:45:21 +00:00
David Rose 7ab86daba6 fixes 2009-10-01 00:42:34 +00:00
David Rose 366d56a74b protect cppparser 2009-10-01 00:31:16 +00:00
David Rose d48310ad07 typo 2009-10-01 00:27:06 +00:00
David Rose 7857e5fa9b better WindowHandle stuff 2009-10-01 00:23:12 +00:00
David Rose 9ea14818de WindowHandle build on windows 2009-09-30 23:07:24 +00:00
David Rose 175b951440 comment out osx parent_window: it's broken anyway 2009-09-30 23:05:54 +00:00
David Rose 7ebb9477f8 build on windows 2009-09-30 22:21:19 +00:00
David Rose f46981eec9 WindowHandle 2009-09-30 22:14:30 +00:00
David Rose 83e6ecc1a4 comment 2009-09-28 15:52:24 +00:00
David Rose fd305329c7 PortalNode contributions by Erik Pojar 2009-09-28 11:51:01 +00:00
David Rose 0a0224f1ef auto-cpu-data 2009-09-24 19:51:38 +00:00
rdb 87ba6c1597 Fix ARToolKit compile issues 2009-09-24 12:56:11 +00:00
David Rose d2307eb838 keep-all-uvsets 2009-09-23 21:08:06 +00:00
rdb 1f850ccb9e Fix build issue 2009-09-20 15:38:42 +00:00
rdb cdfc31c4fa Interrogate can do perfectly without those 2009-09-20 15:18:50 +00:00
rdb 30a2c57cb3 Fix an issue with programs being destroyed and then reused by different copies of the same shader. Also, added better error reporting system for Cg errors. 2009-09-19 09:55:05 +00:00
David Rose b8fadef8cb unquote file URL's 2009-09-19 00:38:12 +00:00
David Rose 2552864754 common_name -> friendly_name 2009-09-18 00:29:53 +00:00
Abhishek Nath f7c8650c07 Added more Sequence Node frame rate possibilities 2009-09-17 19:14:49 +00:00
David Rose bc23d7835b OK, we need ssl-certificates too 2009-09-17 17:38:07 +00:00
David Rose ea41a5a834 ssl-certificates -> ca-bundle-filename 2009-09-17 15:45:09 +00:00
David Rose 9f80ba33d1 ssl-certificates 2009-09-17 14:24:50 +00:00
David Rose b137e55464 fix fog-flickering-nametag issue: shaders not resetting fog state 2009-09-14 22:50:31 +00:00
rdb af7f3f7e28 Fix crash with pandagl on freebsd - Panda now fully works on FreeBSD. yay! 2009-09-14 16:34:37 +00:00
rdb 89d68a083c Fix a typo that causes texture flickering with custom shaders 2009-09-14 09:17:15 +00:00
rdb 5f4fe3bc32 Fix some compiler warnings 2009-09-12 10:45:49 +00:00
David Rose c07d10f74b fix crashing bug with compressed texture 2009-09-09 18:06:46 +00:00
Przemyslaw Iwanowski d937cb20f9 fix for audio bug where stopped looping sounds resume after sndmgr is turned back on 2009-09-09 00:43:06 +00:00
David Rose 9b35958d4c support 0.9.7 too 2009-09-08 17:53:42 +00:00
David Rose db0d629076 support openssl 0.9.6 2009-09-08 17:35:19 +00:00
David Rose fc7ac53864 missing return value 2009-09-08 17:24:34 +00:00
David Rose 154812d25a protect against recursive entry to do_pending() 2009-09-08 02:15:10 +00:00
Bei Yang 61bb918380 Modified glGsg to support Pointer Textures 2009-09-07 22:47:43 +00:00
Bei Yang 52d9b08b81 Added method getRamMipMapImageFromPointer to support python pointer passing via long long 2009-09-07 22:47:07 +00:00
Bei Yang 214888267d Added time.h 2009-09-07 22:42:53 +00:00
Bei Yang b3d2ec3db2 Redefine of WIN32_LEAN_AND_MEAN avoided 2009-09-07 22:39:52 +00:00
David Rose 8d2072da9c info severity too noisy 2009-09-06 22:56:53 +00:00
David Rose 87776490b4 get_signature_public_key() 2009-09-06 22:32:05 +00:00
David Rose 104c27f20c correct handling of certificate chains 2009-09-06 21:05:06 +00:00
David Rose 3c0e701659 signed multifiles 2009-09-06 18:49:05 +00:00
rdb 4aef327d79 Fix crash in shader generator when mixing texgen stages and non-texgen stages 2009-09-05 05:40:40 +00:00
David Rose d807610d32 multify -P 2009-09-04 21:38:43 +00:00
David Rose ea4e8abcaa new, better, make_buffer() interface 2009-09-04 16:43:30 +00:00
rdb bdb3d15332 More PHAVE fixes 2009-09-03 18:43:47 +00:00
David Rose f360650ccc text options to encrypt_file and pencrypt 2009-09-02 06:07:28 +00:00
David Rose b027447c0f copy_stream 2009-09-01 22:45:07 +00:00
David Rose 8a30b5fae0 support set_dt(0) in M_slave mode 2009-09-01 18:50:42 +00:00
David Rose 3c79e6b042 more generic fix for flex version 2009-08-31 20:05:45 +00:00
David Rose 870e983ae6 yy_size_t 2009-08-31 19:56:12 +00:00
David Rose b9b6dc8f0d patcher cleanup 2009-08-31 06:10:55 +00:00
David Rose 034a977c3d set frame size 2009-08-29 16:31:51 +00:00
rdb 61e984f63d Fix compiler error by renaming HAVE_UCONTEXT_H -> PHAVE_UCONTEXT_H 2009-08-27 08:22:44 +00:00
David Rose 35bf03caf1 fix crash with vfs-mount at startup 2009-08-26 18:02:09 +00:00
David Rose c5082a543e non-destructive mode 2009-08-26 06:23:35 +00:00
David Rose b93375dd09 fixes for obscure bugs 2009-08-25 21:41:32 +00:00
David Rose 36231ac4af minor fixes 2009-08-25 00:43:01 +00:00
David Rose d62ae11874 reduce spam 2009-08-21 23:03:11 +00:00
David Rose c30ae4fc99 forgot HAVE_GETOPT_H 2009-08-21 17:26:26 +00:00
Josh Wilson 5ebe9077ac using <param>2 parameters when axis == 1 2009-08-21 17:15:18 +00:00
Gyedo Jeon 900fe8b650 Improved contains_hexahedron function little bit 2009-08-21 17:10:27 +00:00
David Rose 494d61083e avoid compiler warnings from HAVE_BLAH_H conflicts by renaming macros 2009-08-21 15:40:05 +00:00
David Rose ec785ca61e reduce noisy output 2009-08-21 03:27:48 +00:00
David Rose 0c13f6a654 multifile::set_header_prefix 2009-08-20 23:12:08 +00:00
David Rose a4f2f54cd4 pnmimagetypes must be listed first 2009-08-15 00:56:10 +00:00
David Rose 640358a9d7 use spaces, not colons 2009-08-14 18:50:50 +00:00
David Rose 2db208431e allow set_data() on a null array 2009-08-14 17:35:12 +00:00
David Rose 472d40b850 GL_ARB_multisample mainstream as of 1.3 2009-08-13 21:41:26 +00:00
Zachary Pavlov d15bcd5062 oops, typo 2009-08-13 17:45:00 +00:00
Zachary Pavlov efa3af6e46 typos abound 2009-08-13 16:00:00 +00:00
Zachary Pavlov d426b9179f more handler event code 2009-08-12 23:04:07 +00:00
Zachary Pavlov a2b0168dd5 documenting subtle steal_children issue 2009-08-12 19:14:20 +00:00
Zachary Pavlov fae008bee2 fix for flattenStrong nodepath cutting 2009-08-12 19:13:27 +00:00
rdb b2c4018466 Very very very minor optimization 2009-08-12 10:32:58 +00:00
David Rose 9ae42186d1 close_read_subfile 2009-08-12 00:19:58 +00:00
David Rose 3dbd0672f7 fix compilation error (constant integer overflow) 2009-08-11 17:35:48 +00:00
Zachary Pavlov 0c4b08731a some more collision work. A new handler that only passes along the highest entry, as well as a small tweak to the collision gravity handler to ensure that only entries within the ray's bounds are sent 2009-08-11 17:16:07 +00:00
Darren Ranalli 61f4c5c113 fixes determination of earliest collision 2009-08-10 21:26:14 +00:00
David Rose 00ef315ae0 encrypt_stream, compress_stream 2009-08-09 16:01:58 +00:00
rdb 8edc0a3cd7 Fix issue with attrib arrays in geometry shaders 2009-08-09 11:08:38 +00:00
rdb da5878bcec Fix build errors when building without OpenSSL 2009-08-07 11:28:33 +00:00
rdb c4cfc0b8a0 Add support for depth-offset in .egg files 2009-08-07 09:16:03 +00:00
David Rose ddaf3f172f add remove_subfile(string) 2009-08-06 21:16:03 +00:00
Zachary Pavlov 3cc301259a more uv spin fixes 2009-08-06 20:56:03 +00:00
David Rose 74d98b801a add encryption_algorithm etc 2009-08-06 18:27:23 +00:00
Zachary Pavlov 1e23653549 missed a few r speed settings 2009-08-06 00:30:57 +00:00
Zachary Pavlov 8db00b4f74 polar uv scrolling 2009-08-04 22:05:37 +00:00
rdb bf444742fe Add shadow interfaces to PointLight - actual implementation not complete yet 2009-08-01 19:01:55 +00:00
Chris Brunner 9350eceee3 added a necessary header 2009-07-31 20:12:19 +00:00
Mike Christel 8278b963bd Added CollisionBox courtesy CMU ETC student Amith Tudur 2009-07-31 18:06:36 +00:00
rdb 9278348147 Support structs in Cg shaders 2009-07-31 06:17:25 +00:00
David Rose acbb2966ad think we're ready for empty-node-path future to be the default 2009-07-31 01:05:08 +00:00
rdb ee47d35695 Window fix 2009-07-29 18:49:34 +00:00
David Rose d95404a8b2 x11 Window casting issues 2009-07-29 16:36:44 +00:00
rdb 6c89228477 Generic fixes and cleanup for geometry shaders and split shaders 2009-07-28 13:37:09 +00:00
Zachary Pavlov c93ddf0346 prevent uv scroll combining 2009-07-23 21:04:27 +00:00
rdb b77f1971e1 Remove .res and .obj files, and let makepanda compile them 2009-07-23 08:08:14 +00:00
David Rose 6174ae7228 allow resizing subprocess buffer 2009-07-22 07:07:57 +00:00
David Rose 3e8b636090 remove silly msghandling.cxx 2009-07-22 01:09:36 +00:00
David Rose 7406014cbc support file:// urls 2009-07-22 01:03:44 +00:00
David Rose 31f2ce467d fix problem with pthread_cond_timedwait 2009-07-21 05:25:36 +00:00
rdb 64cd2984ee Fix compiler warning when NDEBUG is defined 2009-07-20 08:38:34 +00:00
rdb b664665a1c Fix compile error 2009-07-20 08:34:06 +00:00
rdb 27375c3fef Oops, some fixes 2009-07-18 10:22:02 +00:00
David Rose 94f07118c1 subprocess mouse movement 2009-07-17 21:30:51 +00:00
David Rose a6ef0886b0 remove reference to glgsg.h 2009-07-17 20:03:27 +00:00
David Rose 5f271d85c6 save thread priority 2009-07-17 18:48:56 +00:00
rdb 0c4b58ef41 Don't redefine config vars 2009-07-17 13:56:13 +00:00
rdb 905cd3ad69 tinyXGraphicsStuff depend on x11display 2009-07-17 13:55:14 +00:00
rdb c3b3113a1a Fix particle system crash on Windows when system grows older flag is True 2009-07-17 05:31:22 +00:00
David Rose bb3e1ef644 send window-event on open, close 2009-07-17 01:38:50 +00:00
David Rose 7c1c75805b better frame management 2009-07-16 19:18:37 +00:00
rdb 87c8772066 Workaround for yet another stupid bug in some kind of microsoft SDK 2009-07-16 08:08:49 +00:00
David Rose 2cdd26901e yield thread for each task, and even when there are no tasks 2009-07-15 19:41:44 +00:00
rdb d2a4c55dc7 Fix a couple of bugs in the SG with combine modes 2009-07-15 15:05:52 +00:00
David Rose 8826b702ca fix build errors: change int -> GLint 2009-07-14 22:13:24 +00:00
rdb 3a902bdaf3 Add get_video_length 2009-07-14 16:30:25 +00:00
David Rose 850773c4eb default subprocess-window 2009-07-13 19:22:08 +00:00
David Rose a181e471be osx plugin key events etc 2009-07-13 17:03:26 +00:00
rdb 5f00fc7706 oops, too 2009-07-13 15:17:40 +00:00
rdb 43f43e6861 Split glxdisplay into x11display and glxdisplay 2009-07-13 11:41:15 +00:00
rdb 87e5347a1e Fix some bugs in the shader generator regarding combine modes. 2009-07-13 11:37:11 +00:00
rdb 39c1cb42c9 Fix build issues on Linux 2009-07-13 08:18:49 +00:00
David Rose 37e76f402d subprocess window 2009-07-13 07:14:01 +00:00
David Rose 06005cc440 fix bug with polysets attached to lods 2009-07-08 22:25:26 +00:00
Zachary Pavlov c415cf8dbf use allow-flatten-color to get beyond the silly color attrib rigamarole. I want to just flatten! 2009-07-08 01:29:09 +00:00
Gyedo Jeon 5d00f81885 Changed apply_tranform to return false when inverse transforim is invalid 2009-07-07 23:00:06 +00:00
Zachary Pavlov 1d896fcbb7 oops. Fixed the copy constructor bug. No more crashes :) 2009-07-07 17:10:17 +00:00
David Rose e4169cfbc9 I don't think we need or want AttachThreadInput() 2009-07-06 21:56:06 +00:00
rdb 482b5f1a46 Fix a typo - and disable XWarpPointer call on movePointer when relative mouse is enabled. 2009-07-06 17:33:06 +00:00
rdb 921b9e9d13 Added support for the XFree86-DGA extension, enabling support for relative mice on Linux. This greatly helps for smooth FPS mouse movement. 2009-07-06 17:03:47 +00:00
rdb 9e41cd84a3 2unix 2009-07-06 15:20:23 +00:00
rdb cb4d98f8c9 Backward compatibility for ancient ffmpeg versions 2009-07-06 14:31:25 +00:00
rdb 6608821ce7 Fix test_egg 2009-07-06 08:54:06 +00:00
rdb 7f498f68d4 Fix compile warnings on windows 2009-07-06 07:06:11 +00:00
rdb f33032dd6b Add setDepthOffset etc. 2009-07-05 15:40:55 +00:00
rdb cd80487c05 Performance improvement of shadow code, fixed the self-shadowing artifacts, removed push_bias. For infinitely-thin objects, a DepthOffsetAttrib can be applied if necessary. 2009-07-04 09:19:40 +00:00
rdb 2d14a28244 This commit is to support even newer versions of ffmpeg. 2009-07-03 12:02:00 +00:00
rdb 0983073e25 Fix compiler warning 2009-07-03 09:02:31 +00:00
rdb c9aee0fa5b This commit:
* Enables us to build against the latest version of FFMPEG.
* Fixes the ffmpeg code not to use deprecated stuff anymore.
* Adds support for libswscale. Undef HAVE_SWSCALE in Config.pp if you compiled ffmpeg without.
* Uses sws_scale instead of the now-removed img_convert.
* Fixes a couple of deadlocks in FFMpegTexture.
2009-07-03 08:15:54 +00:00
David Rose 774ba59dc9 minor fix to comments 2009-07-03 00:20:46 +00:00
rdb bb5b817ce8 More builtin uniforms & vertex attribs 2009-07-02 18:00:41 +00:00
Zachary Pavlov 8950ddbf15 the real uv scroll node. Not sure what happened with the commit 2009-07-02 16:47:12 +00:00
rdb f53400cd04 Applied patch from IRC user case__, adding support for FmodAudioManager::set_volume/get_volume 2009-07-02 16:24:17 +00:00
rdb ebf6291663 Fix build errors for mainstream OpenGL 2009-07-02 15:19:37 +00:00
rdb dc6ccc27a1 Fix compile errors for build with Cg enabled 2009-07-02 15:12:17 +00:00
rdb 2fe72f7a6b Missed this 2009-07-02 15:08:53 +00:00
rdb 66349ecaba This is another big commit - chief new features are:
* Working OpenGL ES 2.x support. Yay!
 * The shader code now supports separate vertex/fragment/geometry shaders.
 * The GLSL code supports passing vertex attrib arrays.
2009-07-02 15:01:36 +00:00
Zachary Pavlov 44bcbe3de6 somehow missed this 2009-07-02 15:00:55 +00:00
rdb 55daa4c70c Fix uvScrollNode 2009-07-02 09:15:24 +00:00
rdb 2340b9c1cc Add uvScrollNode.cxx to composite file 2009-07-02 09:00:16 +00:00
rdb b6ea49d520 Fix compiler errors in UvScrollNode 2009-07-02 07:15:55 +00:00
Zachary Pavlov dd84f35bbe *** empty log message *** 2009-07-02 00:42:31 +00:00
David Rose fb630dc7cf fix from keith leonard 2009-07-01 22:23:13 +00:00
Zachary Pavlov 3ea111343a uv scrolling support for maya 2009-07-01 20:04:47 +00:00
Zachary Pavlov f614a4dd64 uv scrolling support for maya 2009-07-01 19:56:20 +00:00
rdb 442ef013c4 OpenGL ES 2.x doesn't require glEnable/glDisable on GL_TEXTURE_* targets anymore, apparently. 2009-07-01 14:28:56 +00:00
rdb e3fde823b0 More work on OpenGL ES 2 support 2009-07-01 13:11:24 +00:00
rdb 71dcf4bc55 Fix crash with OpenGL ES 1.x 2009-07-01 12:32:04 +00:00
rdb d8fe8dda6a Build for OpenGL ES (2) 2009-07-01 10:13:51 +00:00
Zachary Pavlov 909b86d68e fix for panda gl compile crash in vs 2003 2009-06-29 20:54:49 +00:00
rdb ab2737ac1a Fix crash when cleaning up GLSL shader 2009-06-29 13:48:43 +00:00
rdb 7c3999289d Fix Mesa compile error 2009-06-27 13:12:40 +00:00
rdb e2b6f78611 Oops, fix build error on Windows 2009-06-27 05:55:12 +00:00
rdb 100400f425 Add support for GLSL shaders 2009-06-26 13:11:24 +00:00
David Rose aaa1924b60 generate window event for embedded windows too 2009-06-24 22:00:44 +00:00
Zachary Pavlov ea124746a7 oh god damn it 2009-06-21 21:05:02 +00:00
rdb 0dd958c608 Applied patch from David McCabe 2009-06-21 06:44:49 +00:00
David Rose 8407030245 recursive task manager message 2009-06-20 23:50:31 +00:00
rdb 8e90096a2c Fixed bug preventing people from passing matrices to shaders 2009-06-20 19:13:56 +00:00
David Rose 0d77b2c329 remove debug stuff 2009-06-20 01:27:32 +00:00
David Rose b5eec63e07 proper return values from download_to_X 2009-06-20 01:27:02 +00:00
Zachary Pavlov 7d2e756b48 structured character support 2009-06-20 00:17:05 +00:00
Zachary Pavlov 38440c72bd new structured char support 2009-06-20 00:13:18 +00:00
rdb 26e8f130ec Use EXTRA_CDEFS rather than C++FLAGS 2009-06-17 11:32:28 +00:00
David Rose 503e28dd82 initialize next_in/out etc. 2009-06-16 19:55:39 +00:00
David Rose 179fcf2cf0 fix anisotropy bug 2009-06-16 15:45:43 +00:00
rdb 09c229f2a9 Get FBO's working correctly with OpenGL ES 2009-06-16 13:07:39 +00:00
rdb b0c4875ad9 This is a big commit for OpenGL ES stuff:
* Added GLES, GLES2 and EGL packages to the ppremake files.
 * New glesgsg and gles2gsg modules.
 * Added egldisplay module that is like glxdisplay, but through the EGL library.
 * Added pandagles and pandagles2 metalibs (only supporting egldisplay yet)
 * The iphonedisplay module depends on glesgsg instead of embedding it.
 * The glesext_shadow.h file is removed, we don't need it anymore.
2009-06-16 09:17:33 +00:00
rdb ee765a2c9c OpenGL ES does support GL_ALPHA. 2009-06-16 08:16:22 +00:00
David Rose 4f8cf4ea52 missing header file 2009-06-15 22:31:10 +00:00
David Rose cbfa38d2b5 simplify ConfigureDecl etc. 2009-06-15 22:25:52 +00:00
rdb 98902127b1 Fix for some driver bug on OSX.
For some reason, it reports it has the GL_ATI_draw_buffers extension even when no ATI card is in use,
resulting in an 'unrecognized ATI_draw_buffers hint' error from cgc.
2009-06-15 18:54:24 +00:00
rdb ca03ef35ac More OpenGL ES stuff 2009-06-15 18:09:44 +00:00
rdb 86e921716d Forgot one build error 2009-06-15 17:05:06 +00:00
rdb ee548e8056 Whoops, only use GL_OES_framebuffer_object when OPENGLES is defined 2009-06-15 17:01:31 +00:00
rdb ef4a79028a Revert before someone finds out I broke the build 2009-06-15 16:59:21 +00:00
rdb 9a6fd6fab7 Some OpenGL ES fixes 2009-06-15 14:05:11 +00:00
rdb cbe036c849 This commit adds more+better support for OpenGL ES:
* Support for many OES extensions
  * Support for OpenGL ES 2.x
  * Compile fixes for OpenGL ES 1.x
  * Support for FBO's in both versions
2009-06-15 13:40:42 +00:00
rdb 7bb2991ccb Fix compiler warning 2009-06-15 10:36:56 +00:00
David Rose 3a7b87b178 build without python 2009-06-15 01:15:33 +00:00
David Rose aee00fc3de pstrtod 2009-06-14 16:27:44 +00:00
David Rose 4a8cad4d30 flush meter with top of screen again 2009-06-13 16:07:51 +00:00
rdb afa7801696 Fix cgc warnings/errors 2009-06-13 09:56:00 +00:00
David Rose 739ca67e1f compile on osx 10.4 2009-06-12 19:25:14 +00:00
rdb 0e24827b9d Support for 1D, 3D textures and cubemaps 2009-06-12 15:17:17 +00:00
rdb b83e30b645 Add support for more TexGen modes 2009-06-12 13:47:49 +00:00
rdb 4bd2bdda96 Move TexGen and TexMatrix to the fragment shader to improve accuracy on lowpoly models 2009-06-12 10:39:41 +00:00
rdb d1f9183119 Support for TexMatrix and projected textures 2009-06-12 10:13:50 +00:00
rdb 620a38cbfb Identify texmat_x by texture stage ID, not by texturematrix ID. 2009-06-12 09:40:24 +00:00
rdb b3d8d834d4 Add support for texmat_x parameters in shaders 2009-06-12 08:41:23 +00:00
rdb 50c1eb00e7 show-scene-graph-analyzer-meter 2009-06-12 08:33:48 +00:00
David Rose 4b51a7e4a9 yielding the timeslice, win32 2009-06-11 19:41:35 +00:00
David Rose fc28b55b29 yielding the timeslice 2009-06-11 19:26:30 +00:00
rdb 44169b9e75 Add OpenAL support to ppremake 2009-06-11 15:19:34 +00:00
rdb eb5b308edf Added support for parallax mapping 2009-06-11 11:04:47 +00:00
David Rose f1f496cc29 move lodNodes and sceneGraphAnalyzer to pgraphnodes, in an attempt to reduce size of pgraph some more 2009-06-11 02:37:19 +00:00
David Rose 3f42a08968 automatically reload texture when changing compression mode 2009-06-10 22:11:28 +00:00
David Rose b9f19d6663 fix problems opening an OpenGL window on some drivers 2009-06-10 21:35:23 +00:00
David Rose aefe3d35c2 merge dev_bam_2009 to trunk 2009-06-10 17:54:40 +00:00
rdb d427b8559f Fixes from Mike Christel to work with the latest Direct X SDK 2009-06-10 05:51:21 +00:00
David Rose edd8e59a26 add texture compression explication 2009-06-09 21:47:11 +00:00
rdb 506154a6b6 Fix compile error on OpenGL ES 2009-06-09 13:30:27 +00:00
rdb 9f9df68529 get_ram_image_as fix for ARM processors 2009-06-09 12:47:48 +00:00
rdb d67059f365 Allow compiling without HAVE_CG 2009-06-09 12:47:23 +00:00
David Rose 8c6229ff7f formatting 2009-06-09 00:33:25 +00:00
David Rose eccc5cfdf9 error-check parameters to setup_texture() 2009-06-07 17:13:36 +00:00
David Rose c57cd2fa14 accept 'utf-8' as well as 'utf8' 2009-06-07 01:28:59 +00:00
David Rose c61f5f2b64 oops typo 2009-06-05 00:25:32 +00:00
David Rose 9f094d495a fix the bam crash for real this time. 2009-06-03 23:46:21 +00:00
David Rose 6f8c011bb3 further fixes to bam crash 2009-06-03 23:06:42 +00:00
David Rose f42935b8e9 prevent GL error; fix indentation issues etc. 2009-06-03 21:15:23 +00:00
David Rose 3cb7a6598c prevent crash when finalizing lightAttrib 2009-06-03 00:58:13 +00:00
David Rose ece078a5cd revert Schell Games changes to fmod--seems crashy, might be code rot 2009-06-03 00:49:04 +00:00
David Rose 648e3d3f09 build for windows 2009-06-02 19:39:32 +00:00
David Rose e4e8d3e401 fix for new ShaderGenerator stuff 2009-06-02 19:37:20 +00:00
David Rose adabf179e2 missing includes 2009-06-02 19:14:56 +00:00
rdb 557abfae5e Fixes for this circular dependency mess 2009-06-02 15:21:36 +00:00
rdb 5a3dd8d0c3 Eliminate ShaderGeneratorBase 2009-06-02 10:03:10 +00:00
rdb 4e067a74c1 Fix couple of circular dependencies, eliminate ShaderGeneratorBase 2009-06-02 09:57:33 +00:00
rdb 159026571b Added shadow mapping support to Panda 2009-06-02 09:24:03 +00:00
David Rose a3db8b63df hew a little closer to panda conventions 2009-06-02 06:06:41 +00:00
David Rose 8d94f6b35f new typedefs needed now 2009-06-02 04:41:42 +00:00
David Rose 1787e9ce1e better fix for cg 1.x 2009-06-01 23:32:00 +00:00
David Rose aa7a6bb5f7 protect for cg 1.x 2009-06-01 23:27:32 +00:00
David Rose 58c13de4ca integrate changes from Schell Games (plus some tab character fixes) 2009-06-01 21:51:15 +00:00
David Rose c77097dd09 parent-window-handle 2009-06-01 19:18:07 +00:00
David Rose f98bb64996 fix overflow bug in DynamicTextGlyph::erase() 2009-05-28 22:58:13 +00:00
David Rose 8d234769ab GraphicsOutputBase 2009-05-28 00:42:53 +00:00
David Rose c36c340004 fix bam errors when reading lights 2009-05-27 22:43:07 +00:00
David Rose 36dbe8c093 temporary fixes to fix compiler issues 2009-05-27 19:28:39 +00:00
rdb 84002901e9 Forgot a couple of files 2009-05-27 18:45:48 +00:00
rdb 801ddc8bb8 Changes to light inheritance to allow shadows 2009-05-27 17:33:21 +00:00
David Rose 6829badc7e force-parasite-buffer 2009-05-27 02:36:43 +00:00
David Rose e0a7f0fed7 additional debug output 2009-05-27 02:36:09 +00:00
David Rose 532b9c0c50 replace assertion with clamping 2009-05-27 01:32:18 +00:00
rdb 4271960b92 Add config var "show-portal-debug" to allow turning off the debug lines 2009-05-21 13:56:24 +00:00
rdb 165fe027f0 Another deadlock fix 2009-05-19 07:28:00 +00:00
rdb 490eeac5ba Fix another deadlock 2009-05-19 06:20:03 +00:00
rdb 5fc21e0779 Fix deadlock, I hope 2009-05-18 05:49:49 +00:00
David Rose d001c75524 workaround for broken OSX ucontext 2009-05-09 00:47:45 +00:00
Gyedo Jeon cb63f15d15 Made panda window get focus for keyboard event in nested multi window mode 2009-05-08 22:38:01 +00:00
David Rose b6ad665ef5 fix make_copy() 2009-05-07 22:19:20 +00:00
David Rose 928aec618d better handle touchscreens 2009-05-05 22:41:02 +00:00
David Rose 433a4f2989 skip comments in pnm header 2009-05-05 17:46:51 +00:00
rdb be1213fa71 Fix texture padding issue with buffers 2009-05-05 14:40:58 +00:00
rdb 682e5608e7 Memory leak 2009-05-04 07:40:30 +00:00
rdb 12493d6324 Suggestions from forum users (get_id and set_data/get_data published) 2009-05-04 07:07:09 +00:00
rdb bbf0f2f0ee Revert 2009-05-02 07:21:25 +00:00
rdb a687dd8f96 nassertv(is_valid()); 2009-05-02 05:46:22 +00:00
David Rose 114f0650f7 no UH_stream in OpenGL ES 2009-05-02 03:40:26 +00:00
David Rose 0f39a32569 better handling of opengl extension pointers 2009-05-01 19:43:03 +00:00
David Rose 935a432b4b whoops, static init issues 2009-04-30 23:46:41 +00:00
David Rose 73d6e8c6d1 debug output 2009-04-30 18:21:06 +00:00
David Rose 799389a96c still playing 2009-04-30 18:20:28 +00:00
David Rose 54c9b01920 assert not nan 2009-04-30 00:43:18 +00:00
rdb 30b37547b8 Re-issue color and colorscale when changed (eliminate flickering in shadergen) 2009-04-29 19:30:20 +00:00
rdb 0e6e924943 Support for clip planes to ShaderGenerator 2009-04-29 18:42:26 +00:00
rdb 2cb61a4b9e Support for clip planes in ShaderGenerator 2009-04-29 18:35:50 +00:00
rdb e5954e021b Support for clipplane_x in shaders 2009-04-29 18:26:34 +00:00
rdb 5f206a1515 Clip planes 2009-04-29 18:23:56 +00:00
rdb f701dc5959 Pulling in 1.6.2.1. Ugh. 2009-04-28 10:54:26 +00:00
rdb bc384eaec1 Add SMO_plane_x 2009-04-28 10:32:14 +00:00
rdb bf4e982082 See previous commit message 2009-04-28 09:59:18 +00:00
rdb 76dba09efe Add plane_x parameter and SSD_colorscale 2009-04-28 09:42:39 +00:00
rdb 83006b933b Add attr_colorscale 2009-04-28 09:03:35 +00:00
rdb dfb5a43bf0 Add attr_colorscale 2009-04-28 08:43:21 +00:00
David Rose a5e0de3988 python on iphone 2009-04-28 00:57:56 +00:00
rdb bb5e913aec Deprecated avcodec_decode_audio 2009-04-26 11:28:03 +00:00
David Rose 09f8d67a8a iphone touches 2009-04-26 01:11:49 +00:00
David Rose 8358dfc7b7 iphone orientation 2009-04-25 23:14:12 +00:00
rdb 44d9431d1a Fix from Tom Haines 2009-04-25 13:40:02 +00:00
Bei Yang 5f0894fe80 Uses intrinsics for cpuid and cpuclock tick methods. Intrincs are only enabled if WIN64 is defined. 2009-04-25 07:20:24 +00:00
Bei Yang 3c7320c7ac Changed DWORD to use explicit cast to PDWORD 2009-04-25 07:19:03 +00:00
David Rose 37a5fdf2f3 border_clamp 2009-04-24 23:34:53 +00:00
David Rose 189dacff0d HAVE_EGG 2009-04-24 22:56:56 +00:00
David Rose 885b114766 all image formats switchable 2009-04-24 22:56:03 +00:00
David Rose 8a44eb5b92 safe iphone build 2009-04-24 22:53:28 +00:00
David Rose 0b4470af0d support window-type offscreen in pview 2009-04-24 19:04:07 +00:00
David Rose 33c56918d6 still tweaking 2009-04-24 00:16:08 +00:00
Zachary Pavlov 440c6f4131 notify added for nodepath bool 2 2009-04-23 18:12:30 +00:00
Zachary Pavlov 069ecee3e0 notify added for nodepath bool 2009-04-22 23:43:01 +00:00
David Rose 5b8cb12732 still working 2009-04-22 18:20:39 +00:00
David Rose 1683962701 add get_bundles, get_bundle_handles 2009-04-22 18:19:48 +00:00
David Rose d8d0a6b29c add get_columns 2009-04-22 18:19:04 +00:00
David Rose ea1e5d205e fix cursor position at beginning of text 2009-04-21 23:30:22 +00:00
David Rose aee550231c Add MovingPartBase::_forced_channel to bam stream 2009-04-21 20:35:04 +00:00
David Rose 6a874264ac missing symbol 2009-04-21 20:03:37 +00:00
David Rose 91efcfbf10 iphone tweaks 2009-04-21 15:04:25 +00:00
David Rose d676bccb8e init_classes 2009-04-21 01:33:29 +00:00
David Rose 172171eec4 more iphone work 2009-04-21 00:48:51 +00:00
David Rose f486d3c152 make Transform2SG keep a reference-counting pointer to its node 2009-04-20 15:10:00 +00:00
rdb 10ab4cc8b9 Fix bug with not showing compiler errors when custom profile is selected 2009-04-18 14:45:52 +00:00
rdb 2a9bdfdcd2 Work around crash 2009-04-18 13:14:42 +00:00
David Rose 8f01bbd3d9 compiler warnings 2009-04-18 12:38:09 +00:00
David Rose e14d5673e7 wrong pp variable 2009-04-17 22:41:42 +00:00
David Rose 3a41895780 remove LINK_IN_GL etc. 2009-04-17 22:18:46 +00:00
David Rose 4f3ea6ad9d make better LINK_ALL_STATIC 2009-04-17 21:54:44 +00:00
David Rose 5929192b26 protect against static init ordering 2009-04-17 21:54:20 +00:00
David Rose 7852b4291d remove debug output 2009-04-17 21:42:00 +00:00
David Rose 5653b5514b minor change 2009-04-17 20:24:13 +00:00
David Rose a08b08f8d3 initial iphone stuff, w.i.p. 2009-04-17 18:11:25 +00:00
Zachary Pavlov 233bbe6f1e removed 'highest collision only' rule 2009-04-15 21:59:15 +00:00
rdb aaaae0f5bc merge panda3d_1_6_branch to trunk 2009-04-15 06:04:13 +00:00
rdb f431703f0a Phase out OdeContactCollection 2009-04-14 15:40:18 +00:00
rdb 435805081d Forgot bool operator for OdeGeom 2009-04-14 15:18:05 +00:00
rdb 5292623b94 Store contact geoms on collision, not just points. Also, fix memory leak. 2009-04-12 12:34:14 +00:00
rdb 94dd3b9624 Fix empty contact geoms with OdeUtil.collide 2009-04-12 11:55:28 +00:00
rdb 788631d454 Fix bug with dynamic playrate changing 2009-04-12 10:33:41 +00:00
rdb 101e61504e Fix "too complex" issue with custom profile 2009-04-11 18:05:57 +00:00
rdb d4ecd9e0ce Typos 2009-04-11 17:58:18 +00:00
rdb 53d640424d Revert debug coloring 2009-04-11 13:41:20 +00:00
rdb d5af6f1cce Overhauled T-Junction and border-decision math, added border stitching 2009-04-11 13:37:24 +00:00
rdb 92927fd25f Fix deadlock 2009-04-11 07:33:42 +00:00
David Rose 98c18ce510 prevent pyobject leak 2009-04-10 20:33:40 +00:00
David Rose 4910971587 now there's a normalize() method, remove ambiguity 2009-04-10 19:30:53 +00:00
David Rose 12cc0232fc add LVecBase3::project, etc., suggested by nik 2009-04-10 18:32:38 +00:00
rdb 72688304cb Added collide2 and space_to_geom 2009-04-08 19:18:36 +00:00
David Rose bc14778fac fix CollisionVisualizer 2009-04-08 17:53:53 +00:00
David Rose 3384159fd9 export config variable 2009-04-07 19:33:48 +00:00
David Rose 8f81a9bbb3 better premunge before flattening 2009-04-07 00:32:01 +00:00
David Rose 53a65f3a86 minor typo fix 2009-04-06 23:43:28 +00:00
rdb 04211c6f62 Cast the sentinel 2009-04-04 19:53:19 +00:00
rdb 7c9592f520 Add isEmpty 2009-04-04 14:56:20 +00:00
rdb a5d774a1c3 Asserts, and reformat code 2009-04-04 07:20:28 +00:00
rdb 6bd15649f9 Make empty ODE objects evaluate to False 2009-04-04 06:25:02 +00:00
rdb e3e03c9305 Dont forget to pass the profiles to the constructor 2009-04-03 20:04:19 +00:00
rdb a1f60a2e4c Better profile override system 2009-04-03 19:30:53 +00:00
rdb 803711741d Add artoolkit package to grutil Sources.pp 2009-04-03 19:04:02 +00:00
rdb 4034d97417 Add new profile override system 2009-04-03 18:46:42 +00:00
rdb 0666f54446 Fix stupid mistake that prevents anti-jitter 2009-04-03 18:42:00 +00:00
rdb d2df9f3618 Fix crash with window creation in an event 2009-04-03 18:27:01 +00:00
David Rose 48017fe9b1 LoaderOptions now required on parameter list 2009-04-02 21:47:52 +00:00
David Rose 6924727b8b suppress some compiler warnings 2009-04-02 21:36:51 +00:00
rdb ff6fc008bb protect PythonCallbackObject::init_type() with HAVE_PYTHON 2009-04-02 20:08:29 +00:00
David Rose e72e24a73d volunteer-delay 0 2009-04-02 18:09:45 +00:00
David Rose 38d46bdebc minor fixes with published methods 2009-04-01 18:46:16 +00:00
David Rose 0d0db0fa16 a few minor fixes 2009-04-01 16:37:27 +00:00
David Rose c9ce1ada45 better solution for win32 linking? 2009-03-30 23:58:40 +00:00
Darren Ranalli 509e414ef4 restored horizontal collision mode, still being used 2009-03-30 21:56:41 +00:00
David Rose d05d89a5e4 texture-minfilter etc. 2009-03-30 20:00:42 +00:00
Darren Ranalli 80cb0752bf removed horizontal collision mode and cruft code 2009-03-30 19:02:57 +00:00
David Rose 89db9d1f54 add 'mipmap' as simple filter type 2009-03-29 18:35:17 +00:00
rdb d5a72622e5 Add clearAllShaderInputs 2009-03-28 17:38:51 +00:00
David Rose 97949f7d0d fix lost message(s) at connection lost 2009-03-26 18:33:34 +00:00
David Rose f0d3e65d98 more aggressively close threads (proper checkin this time) 2009-03-25 01:55:00 +00:00
David Rose 233503776c revert accidental checkin 2009-03-25 01:53:06 +00:00
David Rose a261e805a3 accept threads hanging on shutdown 2009-03-24 22:25:33 +00:00
David Rose 7d1937626a more aggressively close threads 2009-03-24 22:24:34 +00:00
David Rose 4b48520ada fix build issues on windows 2009-03-24 18:42:09 +00:00
rdb 38385867ee Don't use vector iterator in draw_bins, to allow buffer creation during the draw traversal 2009-03-24 15:23:51 +00:00
David Rose 6563c82930 split out ztriangle.cxx into ztriangle_*.cxx 2009-03-24 15:20:50 +00:00
David Rose fd51c9b27e better assertions 2009-03-24 01:17:33 +00:00
David Rose 4683c4c3c5 remove debug 2009-03-24 01:17:21 +00:00
David Rose 9eb62315e3 support 3-d and cubemap textures in dds 2009-03-24 01:01:18 +00:00
David Rose 0d7efce25e glxGraphicsPixmap 2009-03-20 20:49:30 +00:00
rdb 84e5156e90 Do culling correctly 2009-03-19 16:44:03 +00:00
David Rose 730d3226f4 fix lost message(s) at connection lost 2009-03-19 01:23:17 +00:00
David Rose 3d8079f054 fix crash at window destruction 2009-03-17 21:39:47 +00:00
David Rose 7f3641ed49 show parameter list 2009-03-17 21:38:09 +00:00
rdb 95209b9d9a Work around weird compiler bug 2009-03-17 18:54:05 +00:00
David Rose 7d2d35c024 clarify set_one_shot 2009-03-17 18:40:10 +00:00
David Rose 5dc772ecef build error on ppc 2009-03-16 23:56:50 +00:00
David Rose a1a5d04a55 add clear_draw_callback, etc 2009-03-15 13:59:15 +00:00
David Rose 90f28396c4 suppress window debug messages 2009-03-15 13:07:19 +00:00
David Rose 2d0ade8276 squelch silly warning about clock time 2009-03-15 13:03:40 +00:00
David Rose 5adf68ebc5 undo vertex arrays too 2009-03-15 01:25:49 +00:00
David Rose eee0f7321b fix vertex-buffer problem in callbacks 2009-03-15 00:01:05 +00:00
David Rose 812356e83d deprecate relative_angle_deg, add signed_angle_deg 2009-03-14 20:42:24 +00:00
David Rose 0c90c36fd7 new callback system 2009-03-14 19:31:37 +00:00
rdb 7d0cfee7d4 info->warning 2009-03-13 20:49:00 +00:00
rdb 3b044a9ed2 Fix windows build error 2009-03-13 19:48:18 +00:00
rdb 50845ca53c Compile without OpenSSL must work too 2009-03-13 19:04:08 +00:00
David Rose 8ee2a28271 fix show_bounds with transform on GeomNode 2009-03-13 12:28:27 +00:00
rdb ba98fbfa43 More work on collision entries 2009-03-13 07:46:56 +00:00
rdb 83073537fb Added event system to ode 2009-03-13 07:27:58 +00:00
David Rose ddbad77851 set_bounds_type() 2009-03-12 21:50:03 +00:00
David Rose c76e25c831 copy-textures 2009-03-12 20:44:54 +00:00
David Rose 63b999d6ba fix GLX_SLOW_CONFIG 2009-03-12 19:17:18 +00:00
David Rose b0470a17be glx-support-pbuffer, glx-support-pixmap 2009-03-12 17:15:45 +00:00
David Rose e1ea2aa3de remove debug cerr 2009-03-12 15:44:27 +00:00
David Rose 6e64da12a6 glxGraphicsPixmap 2009-03-12 15:43:18 +00:00
David Rose ea1f1d632d no bonus for unrequested bits 2009-03-12 15:38:53 +00:00
David Rose 176d9ffd34 change sorting a bit 2009-03-12 15:17:03 +00:00
David Rose aa713463aa fbconfig output 2009-03-12 15:01:55 +00:00
David Rose 64a8ebfb02 support multisamples properly 2009-03-11 23:26:47 +00:00
David Rose 4a70282208 reformat for panda conventions 2009-03-11 20:43:40 +00:00
David Rose 2820bca34b IS_FREEBSD 2009-03-11 18:36:03 +00:00
rdb 15af6c3ac5 Added physicsObjectCollection.I to Sources.pp 2009-03-11 07:53:31 +00:00
David Rose 2ca487c417 uniquify-transforms 2009-03-11 00:21:23 +00:00
David Rose e41d03482f fix TransformState leak 2009-03-11 00:21:01 +00:00
David Rose 89be2177c7 texture-rectangle 2009-03-10 21:50:38 +00:00
David Rose ba30db6953 support window-type offscreen better 2009-03-10 20:43:33 +00:00
David Rose babf0163e5 prevent crash with window-type offscreen 2009-03-10 20:12:03 +00:00
David Rose a7678cb3e4 osxGraphicsBuffer 2009-03-10 12:51:15 +00:00
David Rose 0e885a8481 update deprecated comment 2009-03-09 18:06:30 +00:00
David Rose 8b407bb654 build tinysdl with new engine rules 2009-03-07 22:06:24 +00:00
David Rose fe2664c438 blank out alpha channel 2009-03-07 02:40:21 +00:00
David Rose e52bf51058 fix crash on shutdown 2009-03-06 22:17:57 +00:00
David Rose 30671d09a8 whoops, typos in merge 2009-03-06 22:07:22 +00:00
David Rose 5ff71bc8df synchronize with latest glx fixes 2009-03-06 21:59:15 +00:00
David Rose d99674833c fix lookaround task for linux 2009-03-06 21:17:12 +00:00
David Rose 8638f9ff65 fix bug with more than 64K solids 2009-03-06 20:53:24 +00:00
rdb d6f18b2915 Fix FBO's 2009-03-05 05:58:57 +00:00
rdb 0fe9e0587a Fix crash 2009-03-04 20:09:05 +00:00
David Rose 7051a28f8e more fixes to point rendering 2009-03-03 23:15:10 +00:00
David Rose 9dad4e33d2 limit badness from fiddling with the clock 2009-03-03 22:32:44 +00:00
David Rose 941c9ba732 fix static-init issue 2009-03-03 21:07:49 +00:00
David Rose 0a6a6dcb3e fix some sprite issues 2009-03-02 23:11:27 +00:00
David Rose ff39b33308 support TexMemViewer on opt-4 build 2009-03-02 19:32:47 +00:00
rdb f1e660373d Why was _generated_shader not initialized? 2009-02-28 12:11:21 +00:00
rdb 17b0503778 Better depth_stencil/depth_component seperation 2009-02-27 18:59:27 +00:00
David Rose c6c0847c5a strip p3 prefix properly 2009-02-26 20:15:25 +00:00
David Rose 62096c99a4 pass GraphicsEngine to constructors 2009-02-25 23:08:10 +00:00
David Rose 7af1350e4e pass GraphicsEngine through to constructors 2009-02-25 23:04:45 +00:00
David Rose 9b6453675a report number of cpu's 2009-02-24 20:41:20 +00:00
David Rose 2a0a769ebe whoops 2009-02-24 19:06:12 +00:00
David Rose 73428afd4e remove accidental debug statement 2009-02-24 14:53:54 +00:00
David Rose 70a32ce433 strip out p3 prefix 2009-02-24 13:11:11 +00:00
David Rose 0f634524be X zoom window 2009-02-24 00:49:22 +00:00
David Rose 5bde231490 fix comment 2009-02-24 00:49:09 +00:00
David Rose 179b578a64 use explicit initialization of audio library 2009-02-23 19:57:13 +00:00
David Rose 8403e175f5 compile against fmod 4.22.05 2009-02-21 20:25:51 +00:00
David Rose e4709607c3 color mask 2009-02-21 19:42:44 +00:00
rdb ef44e25157 Fix shader generator bug when no diffuse defined 2009-02-21 18:36:50 +00:00
David Rose ee0c4dee8f replace assignment with assertion 2009-02-21 02:25:08 +00:00
David Rose 01539997a0 initialize _engine to NULL 2009-02-21 02:19:03 +00:00
David Rose ab530f5d80 hack fix around crash 2009-02-21 01:43:28 +00:00
David Rose b5ee150ff3 protect color mask in a few more places 2009-02-21 00:24:09 +00:00
David Rose 8e207d8229 support shift and caps lock when no input method is available 2009-02-20 21:14:59 +00:00
David Rose cd48a64f86 StereoDisplayRegion 2009-02-20 20:55:15 +00:00
rdb c0b420a74a Fix crash when no texture is assigned 2009-02-20 19:56:03 +00:00
rdb 02b2b9eacc Fix cubemap FBO's 2009-02-20 18:21:39 +00:00
rdb 581e928c57 Fix for older FFMPEG versions 2009-02-20 07:27:48 +00:00
David Rose 74166de769 red-cyan is better than red-blue 2009-02-19 20:29:23 +00:00
David Rose 72f6174d7d fix fps meter for tall fonts 2009-02-19 18:02:01 +00:00
David Rose 5b4122d2de fix design size, from Clemens Pecinovsky 2009-02-19 17:57:45 +00:00
David Rose 8288ee1ac9 fix untextured crash 2009-02-19 17:47:16 +00:00
rdb bcda5743dc Whoops. Forgot to checkin the header file 2009-02-19 17:32:16 +00:00
rdb 5031caf331 Add combine modes 2009-02-19 13:31:58 +00:00
rdb 32fbd87f5e whoops 2009-02-19 13:22:58 +00:00
rdb afb4776754 Made FBO's on linux work again 2009-02-19 13:21:38 +00:00
David Rose 6d71a06c6f debug output 2009-02-19 00:32:04 +00:00
David Rose 923c9929a1 a few more warning squelches 2009-02-19 00:23:08 +00:00
David Rose efaac8f365 fix offset 2009-02-18 23:58:16 +00:00
David Rose ecda56d02b make get_center() return a copy so it won't destruct unexpectedly 2009-02-18 22:49:44 +00:00
David Rose d7d7963337 try asserting that gsg::get_engine() is not null 2009-02-18 22:28:04 +00:00
David Rose fac9c4982d ode version compatibility 2009-02-17 20:45:32 +00:00
David Rose 5722e37160 oops, expcl 2009-02-17 19:27:55 +00:00
David Rose 0d95f17e19 DatagramGenerator/SinkNet 2009-02-17 16:27:31 +00:00
Darren Ranalli 7f3c5d660f memory leak fix 2009-02-17 07:10:40 +00:00
David Rose 0d53d180a9 oops 2009-02-16 23:00:57 +00:00
David Rose 681551c918 empty-node-path handling 2009-02-15 01:45:15 +00:00
David Rose 25ce8c30e4 fix projected shadows 2009-02-13 20:06:06 +00:00
David Rose 1fb2e338c3 add .I file 2009-02-13 19:21:11 +00:00
David Rose 6ded005ea4 fix for big-endian machines 2009-02-13 19:21:00 +00:00
David Rose 1145a3cf99 need pmap.h 2009-02-13 17:33:20 +00:00
David Rose ae85a56385 shaders can exceed stated texture stage limits 2009-02-13 14:55:51 +00:00
David Rose a019d736ec fix render-to-texture issue 2009-02-13 14:38:55 +00:00
David Rose 384a2570a8 fix bounds when flattening actors 2009-02-12 20:46:10 +00:00
rdb e4f4701f23 Performance optimization 2009-02-12 15:37:34 +00:00
David Rose e10ca3fdb3 explicitly instantiate notify category 2009-02-12 00:11:44 +00:00
David Rose 3bef83d72a fix DX8,DX9 in 16-bit color mode 2009-02-11 21:45:44 +00:00
David Rose d521ca04fa revert BitMask::operator bool--just a bad idea. 2009-02-11 00:31:34 +00:00
David Rose 4b96d9f8cf compilation errors 2009-02-11 00:17:28 +00:00
David Rose da684d4f49 operator bool 2009-02-10 23:34:22 +00:00
David Rose a21091c9dc graphics_memory_limit_changed 2009-02-10 20:40:37 +00:00
David Rose 24caf70155 tinyOffscreenGraphicsPipe 2009-02-10 00:52:55 +00:00
David Rose f25605f398 collide with animated vertex position 2009-02-09 22:59:10 +00:00
David Rose 2d887a630e TexturePool.findTexture(), findAllTextures() 2009-02-09 20:09:51 +00:00
rdb 1e4753f911 Fix bugs regarding ffmpeg and AVSEEK_SIZE 2009-02-07 10:45:39 +00:00
rdb 10f17086af Exposed PNMTextGlyph 2009-02-07 07:37:07 +00:00
David Rose c98c2c0a7d fix texture reloading when compressed/uncompressed textures are rendered 2009-02-06 16:18:32 +00:00
David Rose ab6081054c set_flash_texture 2009-02-06 01:45:25 +00:00
David Rose 85e5ad2e45 MouseWatcher::set_frame 2009-02-05 23:42:38 +00:00
David Rose 2fc114a01e squelch compiler warning 2009-02-05 20:01:44 +00:00
David Rose 8f5f2d4717 fix perpetual texture reload 2009-02-05 19:43:11 +00:00
David Rose ec408822c5 prevent overactive texture reload 2009-02-05 00:58:09 +00:00
David Rose 05917ee0b4 support ./ 2009-02-05 00:12:32 +00:00
David Rose f5bb5b420f accept ./ as icon filename prefix 2009-02-05 00:04:59 +00:00
David Rose 88d573917e allow automatic decompression when writing textures to file 2009-02-05 00:04:35 +00:00
David Rose 1a4a978b3a dump texture ram between frames, not during a frame 2009-02-04 16:30:28 +00:00
David Rose 86409f66e4 publish Textures::up/down_to_power_2() 2009-02-04 14:23:17 +00:00
David Rose aca2606187 Texture::get_data_size_bytes() etc. 2009-02-04 12:46:56 +00:00
David Rose 7d103e9d18 get_prepared_textures() 2009-02-04 12:46:41 +00:00
David Rose a43de758d2 bracket newlines with close-open prpoperties symbols 2009-02-04 03:35:29 +00:00
David Rose 4d0d86c7cb gl-show-texture-usage 2009-02-04 02:53:33 +00:00
Darren Ranalli d5d23c2fa7 fix memory leak 2009-02-04 00:10:38 +00:00
David Rose 1aa39d8088 rename TinyGL -> TinyPanda 2009-02-02 19:05:58 +00:00
David Rose a471d9f92b get_pipe_type_mesadisplay 2009-02-01 20:10:47 +00:00
David Rose 5fdc9d7eac better management of display modules 2009-01-31 21:28:55 +00:00
rdb cc61603a3f Various improvements to GeoMipTerrain 2009-01-31 20:09:07 +00:00
rdb 9c1d4eb0fc Last step for FDepthComponent and FDepthStencil seperation. Hope it doesn't break anything. 2009-01-31 18:40:47 +00:00
rdb 454dca9dfe depth_component support to dxgsg 2009-01-31 18:36:23 +00:00
rdb 4afcd201a2 Fix FDepthComponent 2009-01-31 18:18:33 +00:00
rdb bb008e40e4 *** empty log message *** 2009-01-31 18:14:49 +00:00
rdb 772440c93c Allow underscores in k-parameters 2009-01-31 17:24:37 +00:00
rdb d539c8613e Support for horizontal mouse wheel 2009-01-31 15:50:36 +00:00
rdb 9fa5d092ff Fix bug regaring lalt, ralt, lcontrol, rcontrol, lshift and rshift 2009-01-31 15:35:18 +00:00
David Rose 762079f703 allow driver_compress_textures even if we have squish 2009-01-31 06:02:35 +00:00
David Rose bddadb843e GraphicsPipeSelection::make_module_pipe 2009-01-31 03:05:30 +00:00
David Rose bbab828032 enforce uncompressed render-to-texture 2009-01-30 20:31:16 +00:00
David Rose 9d0860fffd get_effective_incomplete_render() for cull too 2009-01-30 19:14:49 +00:00
David Rose 3697996845 fix date-dependency in texture cache 2009-01-30 02:27:58 +00:00
David Rose 3fcf0d4c8f broaden buggy intel driver detection 2009-01-29 02:50:44 +00:00
David Rose f29f5297f6 fix crash at exit on dx9 2009-01-28 23:48:53 +00:00
David Rose 9633f32bfa compiler warning 2009-01-28 22:24:45 +00:00
David Rose 9087b030a9 fix race condition 2009-01-28 22:19:00 +00:00
David Rose 88361cfc34 don't compress font textures 2009-01-27 20:38:17 +00:00
David Rose 5e18148ee3 fix build without freetype 2009-01-27 20:19:29 +00:00
David Rose e17321413b fix shutdown error 2009-01-27 19:45:32 +00:00
David Rose 12539bfd45 intel buggy driver hack 2009-01-27 06:31:49 +00:00
David Rose f6030da8bc prevent occasional assertion failure 2009-01-27 06:27:47 +00:00
David Rose 36c0a0fd2e better scheduling parameters 2009-01-27 03:48:05 +00:00
David Rose df3fe996b9 add DisplayRegion::set_incomplete_render() 2009-01-26 20:40:48 +00:00
rdb 899c867323 Patch from launchpad user Nik 2009-01-26 18:45:44 +00:00
David Rose bcd4d48e70 fix flashing texture problem when multiple buffers or windows are open 2009-01-25 01:29:49 +00:00
David Rose 81f6ebd44e fix various texture and OpenGL issues 2009-01-24 22:45:00 +00:00
David Rose 2f52ccf8ca oops, further fix 2009-01-23 23:47:10 +00:00
David Rose 3531fd2ddd whoops, fix texture bam loader 2009-01-23 21:25:47 +00:00
David Rose eb78e3bfaa fix occasional hard crash 2009-01-23 20:37:41 +00:00
David Rose 1020b07b1e yield a little more politely 2009-01-23 20:16:57 +00:00
rdb d62778c7e0 complaint from _Hypnos 2009-01-23 13:50:38 +00:00
David Rose 7db0cd974c better handling of thread::force_yield(), not to impact other threads 2009-01-23 02:39:36 +00:00
David Rose 89d4957646 minor warning 2009-01-23 02:25:54 +00:00
John Loehrlein 5550aaa1d7 hooks for binding a "cursormove" event when the cursor moves 2009-01-23 01:51:48 +00:00
David Rose 264608d008 protect threaded pstats better 2009-01-22 23:44:03 +00:00
David Rose c85f5e39f5 defer transmitting until frame has begin properly 2009-01-22 20:18:02 +00:00
David Rose 42fa5dd7ac comments 2009-01-22 20:17:22 +00:00
David Rose e53843ec11 traverse stashed also in prepare_scene 2009-01-22 02:45:36 +00:00
David Rose 574403a39f fix pstats mutex leaking 2009-01-22 00:17:07 +00:00
David Rose 27064ac98e support FT_default 2009-01-21 23:12:07 +00:00
David Rose 8d96071d4b support texture wrap modes 2009-01-21 22:38:42 +00:00
David Rose e8543823a6 set text default filters 2009-01-21 22:37:30 +00:00
David Rose 87d3e20bca prevent self-deadlock 2009-01-21 21:11:18 +00:00
David Rose 5d73bc8e19 operator bool() 2009-01-20 03:17:59 +00:00
David Rose 864dac0290 fix some font issues 2009-01-17 20:31:00 +00:00
rdb 66619e5251 Remove jitter 2009-01-17 12:43:18 +00:00
David Rose 89aeadbc72 DynamicTextFont::set_outline() 2009-01-17 02:47:16 +00:00
David Rose 31091e8974 fix texture bam issues 2009-01-16 21:31:17 +00:00
David Rose dbdc740dbd yield during mipmap generation 2009-01-16 21:05:56 +00:00
David Rose 32581604cf better fixes for auto-compressed textures 2009-01-16 18:01:35 +00:00
David Rose 2f47cbbb17 further depth-bias fixes 2009-01-16 02:56:51 +00:00
David Rose cef2a5c8b2 further fix to fade lod 2009-01-16 02:33:28 +00:00
David Rose a64839ca3c fix depth bias 2009-01-16 02:17:04 +00:00
David Rose 4c2170ee5f preload textures 2009-01-16 02:16:07 +00:00
David Rose a398ac7517 fix removing windows, and also gl hack for compressed mipmaps 2009-01-16 01:25:53 +00:00
rdb dd717afa00 Better texture handling in ARToolKit 2009-01-15 21:43:30 +00:00
rdb 9861d44f82 Changes to get OpenCV webcam working 2009-01-15 18:34:58 +00:00
David Rose b27ecfeaf5 slightly simpler handing of ram images 2009-01-15 01:11:33 +00:00
David Rose 9b9528097e fix get_uncompressed_ram_image() with implicit reload 2009-01-15 01:11:13 +00:00
David Rose 5a6b6d995c glHint for compression 2009-01-15 00:17:49 +00:00
David Rose 31f9d1994e driver-compress-textures 2009-01-15 00:08:10 +00:00
David Rose b2604316e5 add alpha scalars 2009-01-14 22:35:13 +00:00
rdb 64203dcf87 various opencv and artoolkit fixes 2009-01-14 21:06:22 +00:00
David Rose b0d64ab831 compiler warnings 2009-01-14 02:33:19 +00:00
David Rose c44da02cee fix issues with texture compression of small, L8 textures 2009-01-14 01:33:14 +00:00
David Rose 06c855c7d2 fix depth buffer range 2009-01-13 23:37:40 +00:00
David Rose b37a30fe63 add support for libsquish 2009-01-12 23:29:55 +00:00
rdb 6954933382 Fixed a segfault and removed überconfusing OpenCV comments 2009-01-12 21:06:11 +00:00
David Rose ef14dd5121 new ColorAttrib should have -1 override so it won't have precedence over scene graph attrib 2009-01-10 19:10:08 +00:00
David Rose e0c65512aa saner treatment of ColorAttrib 2009-01-10 01:19:16 +00:00
David Rose cb2819a5d7 respect vertex color properly 2009-01-09 20:03:41 +00:00
David Rose a1ce73a85c fix particle color 2009-01-09 04:06:42 +00:00
David Rose f86e9a8cd6 fix flickering light 2009-01-08 23:42:44 +00:00
David Rose 3e620c2df6 fix flickering light 2009-01-08 23:33:33 +00:00
aignacio_sf b3f25daed7 Fix graphics buffer tracking. 2009-01-08 22:30:14 +00:00
aignacio_sf f4b377e90d Fix graphics buffer tracking. 2009-01-08 22:01:46 +00:00
David Rose f81493e6e0 add missing envtype keywords 2009-01-08 21:47:12 +00:00
rdb 4542477442 Fix compiler warnings 2009-01-08 15:00:03 +00:00
David Rose b0dd18aa3f fix RopeNode and SheetNode (weren't rendering) 2009-01-08 03:26:09 +00:00
David Rose e5cf8b1517 fix for wrong-color objects in directx 2009-01-08 03:15:12 +00:00
David Rose db667ad5ca report long and short normals 2009-01-08 02:59:40 +00:00
Zachary Pavlov 7a052ec814 it can't be this easy, can it? 2009-01-07 04:43:17 +00:00
rdb ecb6b7f507 Made comment less confusing, suggestion from _Hypnos 2009-01-06 17:21:47 +00:00
David Rose 6090507c4c need true mutexes in a few places for vertex paging 2008-12-31 20:22:27 +00:00
rdb 2d648de716 Added color scale, and some TextureStage blend modes. 2008-12-31 11:17:56 +00:00
David Rose 807cae3bfa fix for incorrect within events 2008-12-31 01:12:22 +00:00
David Rose b4871afe1f a little better yielding during resize texture 2008-12-31 00:03:44 +00:00
David Rose 36946ca4af still more fixes for reload() 2008-12-30 23:30:30 +00:00
David Rose 961b21115d incorporate Clemens Pecinovsky's dynamic_merge optimization 2008-12-30 00:43:43 +00:00
David Rose e4a154ea4e we don't really need UH_client 2008-12-30 00:42:19 +00:00
David Rose f35a2d2a9a fix reload some more 2008-12-30 00:42:04 +00:00
David Rose 6750577676 assert that Task is not null 2008-12-29 15:59:51 +00:00
rdb 82a071864c Fix crash 2008-12-29 15:38:51 +00:00
David Rose d452b4dbf6 fix runaway controls task 2008-12-28 20:04:50 +00:00
rdb f5eaaf86a1 Added wheel_left and wheel_right 2008-12-28 18:48:33 +00:00
rdb 8f95e65bc0 Optimized the get_ram_image_as function more 2008-12-28 15:02:45 +00:00
treeform 83803724e6 i was working on openAL and found one bug which would cause infinite
loop when if avcodec_decode_audio (ffmpeg function) returned  0 in the
loop its in and when fixed in the loop above it.
see post  http://panda3d.org/phpbb2/viewtopic.php?p=30331#30331

most changes are to   ffmpegAudioCursor.cxx and movieAudio.h

It basically changes to proper error handling with 0 as DONE

-      if (len < 0) {
+      if (len <= 0) {

and create a give up counter

+  // give up after 100 tries to fetch data
+  int give_up_after = 100;
+
+  while (desired && give_up_after > 0) {
+    give_up_after --;

and some helpful debug messages for the next poor coder to step into this code.
2008-12-28 06:24:14 +00:00
David Rose 889ccb9860 remove bogus assert 2008-12-27 02:21:33 +00:00
David Rose a32fe74070 3-stage multitexture 2008-12-27 02:21:22 +00:00
David Rose a9825fe78f texgen 2008-12-27 01:42:50 +00:00
David Rose ea2f07943a supports_stencil 2008-12-26 23:00:01 +00:00
David Rose 7a3d75d331 get_supports_stencil 2008-12-26 20:07:32 +00:00
rdb f2f1ebf213 Added Texture::get_ram_image_as 2008-12-25 20:29:02 +00:00
rdb 1770e50147 Fix annoying compiler warnings 2008-12-25 14:27:20 +00:00
David Rose f7770ced0d limit re-queueing of texture load requests 2008-12-25 00:47:10 +00:00
David Rose 9d1bba55aa clarify complex if logic 2008-12-25 00:07:24 +00:00
David Rose 7dc6ea0356 asynchronous load priorities 2008-12-24 22:55:22 +00:00
David Rose 7fcf84909a less-restrictive instance_to: return existing instance if it already exists 2008-12-24 21:07:39 +00:00
David Rose a31d6cbc37 minor warning fix 2008-12-24 01:29:24 +00:00
David Rose eccea893f3 fix crash when no active tasks 2008-12-24 00:44:55 +00:00
David Rose 00a3bd8462 implement timeouts via non-blocking connects 2008-12-23 23:59:55 +00:00
David Rose 3f591aabc8 expose xel to Python 2008-12-23 23:59:41 +00:00
David Rose 31d75582a3 egg-optchar -defpose 2008-12-23 20:41:31 +00:00
treeform fcc8ee33b6 My shader system operates on many types of maps: color(RGB), alpha,
bump, lumma, specular, nomral(UVW), damage, team color ... That are
all stored in different formats of packed and unpacked ways.
Not all objects have all of the maps.  If an object has color and spec
map i can easy pack it into red,green,blue,spec texture.
If a object has color,lumma,specular,normal map again i can pack it
most effective in 2 textures (rgbl + suvw).

I needed a way to repack them easily.  At first i coded the function
in python and it was pretty slow.  So I rewrote it in c++.
2008-12-22 23:43:08 +00:00
rdb 1154fb7daa Added init_type for MeshDrawer 2008-12-22 06:55:58 +00:00
treeform bdfa9c64e3 added some more functions to the mesh drawer class. 2008-12-21 23:14:28 +00:00
treeform 3a14549dd7 added some docs as per request
http://panda3d.org/phpbb2/viewtopic.php?t=5324
2008-12-21 19:16:24 +00:00
rdb 98d970ed2c to dos format 2008-12-21 19:14:19 +00:00
rdb 6d4d8f8ea9 Added code from treeform 2008-12-21 18:13:54 +00:00
David Rose 6c16f96c94 fix texture reloads b/t opengl and directx 2008-12-20 02:23:06 +00:00
David Rose ec66c3cb10 fix reload 2008-12-19 23:25:15 +00:00
David Rose 0798221a5b fix flashing-white lod fades 2008-12-19 00:04:06 +00:00
David Rose 99b0236c1c fix bam reader 2008-12-19 00:03:46 +00:00
David Rose 71e44de612 prevent deadlock without threading support 2008-12-18 23:17:49 +00:00
rdb ffc708a0f1 Generic ODE improvements, and added OdeUtil.collide() 2008-12-18 20:15:02 +00:00
David Rose e24e5c478c fix A_left width calculation 2008-12-18 20:00:20 +00:00
rdb 4056a40c53 documented the class 2008-12-17 13:25:15 +00:00
David Rose 4e931c0922 applyFreezeMatrix 2008-12-17 02:28:27 +00:00
David Rose 02352ab5e6 smoother lod fading 2008-12-17 00:08:37 +00:00
David Rose c3d1efc07d yield more aggressively during flatten 2008-12-16 19:46:55 +00:00
David Rose 3a1e10e4e8 minor whitespace fix 2008-12-16 19:46:39 +00:00
David Rose f3106c89e2 setLODAnimation 2008-12-15 22:44:33 +00:00
David Rose 28e082c7ea more tweaks to depth bits 2008-12-13 01:29:17 +00:00
Zachary Pavlov af435acd5c allow cull callback disabling 2008-12-12 01:15:01 +00:00
David Rose 81fbb04fbf depth offset 2008-12-11 02:29:09 +00:00
David Rose 472e203d67 visit multitexture during prepare_scene() too 2008-12-10 21:37:56 +00:00
David Rose 4d09989995 fix prepare_scene 2008-12-10 21:37:08 +00:00
David Rose e31be8e3f0 fix flatten crash 2008-12-10 21:17:00 +00:00
David Rose 8417ef11a7 better multitex properties 2008-12-10 19:20:28 +00:00
David Rose 76f94669d0 multitexture tinydisplay 2008-12-10 02:28:13 +00:00
David Rose 5f3be0ab9a fix flatten plane 2008-12-05 22:19:41 +00:00
David Rose 8a180e8d09 egg-object-type-notouch 2008-12-04 21:17:42 +00:00
rdb 227c7c3497 Compatibility with Python 2.3 2008-11-30 13:22:34 +00:00
Zachary Pavlov d8e2e84c43 removed the event clearing that happened while airborne. This caused all manner of wierd issues 2008-11-26 22:11:15 +00:00
Przemyslaw Iwanowski 86ee18fd71 adding setUniformEmission function to ringEmitter 2008-11-26 01:45:43 +00:00
David Rose cb50a97b20 has_character, is_whitespace 2008-11-25 20:38:52 +00:00
David Rose afbccd3132 update comment 2008-11-25 19:52:52 +00:00
David Rose c7f9706553 fix crash with identity state 2008-11-24 21:42:22 +00:00
David Rose b1b67a1c4c compile on windows 2008-11-22 03:12:26 +00:00
David Rose 6fa94a1ec3 use U+xxxx format for output 2008-11-22 02:50:13 +00:00
David Rose aa81f3077e ensure invalid glyphs are rendered 2008-11-22 02:33:17 +00:00
David Rose 2db915af4d fix compose 2008-11-22 01:20:16 +00:00
David Rose 05d992e886 fix toon-fly-apart bug 2008-11-21 21:58:34 +00:00
David Rose 8a04a06b0b fix adjust_all_priorities 2008-11-21 20:40:10 +00:00
David Rose 0a97dadc30 characterJoint.I 2008-11-21 19:22:39 +00:00
David Rose a666ef78fe shave a few more microseconds off animation time 2008-11-20 18:44:30 +00:00
Zachary Pavlov a46399c662 fix for non pstats 2008-11-19 22:35:11 +00:00
David Rose 38b0200c36 typo 2008-11-19 16:38:08 +00:00
David Rose 1792f7bb99 clarify stereo properties 2008-11-19 16:36:35 +00:00
David Rose 444f18c1c8 clarify stereo properties 2008-11-19 16:36:03 +00:00
David Rose 1c083d02a1 default-far should really be much farther 2008-11-19 16:28:44 +00:00
David Rose 26754b86ca merge dev_slots_2008: slot-based RenderState implementation 2008-11-19 01:21:44 +00:00
Zachary Pavlov da5afd76e7 default constructor for non pstats pstatcollector 2008-11-18 20:22:39 +00:00
David Rose 15b1f49c12 remove accidentally added files 2008-11-15 06:54:34 +00:00
David Rose c8d3b8dac8 re-add files 2008-11-15 06:53:03 +00:00
David Rose 386b250585 wip: slot-based-RenderStates 2008-11-15 06:49:54 +00:00
David Rose 68c236069f fix hide/show bug 2008-11-14 23:34:32 +00:00
David Rose 5552a3a4df don't save texture cache until we have a texture image 2008-11-14 20:01:50 +00:00
David Rose e640f676e0 don't remove correct file when failing to rename the incorrect one 2008-11-14 19:57:39 +00:00
David Rose 9aff32ab79 scissor timer 2008-11-14 02:18:21 +00:00
David Rose 55098c79a5 fix for multifile flush 2008-11-14 01:33:40 +00:00
David Rose d653bfc559 lighting optimization 2008-11-14 00:23:40 +00:00
David Rose c6ec6b12be whoops, fix name 2008-11-13 23:28:13 +00:00
David Rose 583de9fc3e static init issues 2008-11-13 20:43:50 +00:00
David Rose 05f577df6e further fixes to hide/show optimization 2008-11-13 17:11:44 +00:00
David Rose 22ecb41b4c hide/show optimization 2008-11-13 15:55:07 +00:00
David Rose beb9ffdc92 temporarily turning off vfs-implicit-mf until performance implication can be investigated 2008-11-13 01:30:06 +00:00
David Rose 7b7b973a7a optimize light state a bit 2008-11-12 22:20:21 +00:00
David Rose cef263157d whoops, forgot to seek. 2008-11-12 19:44:49 +00:00
David Rose e17fb67b08 streamWrapper 2008-11-12 18:30:59 +00:00
David Rose aee7748ee3 fix scan_directory for multifiles 2008-11-12 04:27:42 +00:00
David Rose 51cbe1fb72 clean up Sources.pp files 2008-11-11 23:31:09 +00:00
David Rose 8364c4f34b issues with phash_map on opt2 2008-11-11 23:30:55 +00:00
David Rose 1462bee771 better Filename usage 2008-11-11 23:28:14 +00:00
David Rose e1ea42c1b0 fix infinite recursion 2008-11-11 02:50:46 +00:00
David Rose 0def22bd7b fix loop(restart = 0, fromFrame = x) 2008-11-11 02:04:14 +00:00
David Rose fbc38a3e01 collection operator + 2008-11-10 23:54:45 +00:00
David Rose 26d832b486 fix compiler warnings 2008-11-10 20:23:40 +00:00
David Rose f086784b4f static init issues 2008-11-10 20:19:28 +00:00
David Rose 3c5ac474f4 vfs-mount-url 2008-11-08 02:36:33 +00:00
David Rose c4144a12ad compiler warning 2008-11-07 21:22:07 +00:00
David Rose 5d1cb7e88f build on windows 2008-11-07 21:21:53 +00:00
David Rose 58e0537e3c wide interrogate improvements: sequence protocol, MAKE_SEQ, __setitem__, and parameter coercion 2008-11-07 21:12:42 +00:00
David Rose bb1f8d6ce2 go back to Dtool_TypedReferenceCount 2008-11-06 23:26:51 +00:00
rdb 8d43db4f1e Added macrocomposite 2008-11-06 19:32:29 +00:00
David Rose 075710bced create pgraphnodes directory; move some things there from pgraph 2008-11-06 00:06:39 +00:00
David Rose 4684bf10c9 a few more publish fixes 2008-11-05 23:45:48 +00:00
David Rose d5ca1571ba compiler warning 2008-11-05 19:45:27 +00:00
David Rose 440746d3a4 expose interfaces for constructing Characters and associated joint hierarchies via Python 2008-11-05 19:33:04 +00:00
rdb 32ec0dd1c6 Allow for near callbacks in python 2008-11-05 15:46:19 +00:00
rdb 54477b4129 Eliminated very-annoying compiler warning 2008-11-05 12:57:27 +00:00
David Rose a0220f786c minor vfs tweaks 2008-11-05 01:09:44 +00:00
David Rose fdacaa063b compiler warnings 2008-11-04 23:49:02 +00:00
David Rose c42b8a412a whoops, debug statement 2008-11-04 23:44:26 +00:00
David Rose d7f1f67136 vfs-implicit-mf 2008-11-04 22:57:34 +00:00
David Rose 71f62d1935 skip unexpected blank lines 2008-11-04 18:44:07 +00:00
David Rose bcdab6f3d4 remove texture_path, sound_path, egg_path 2008-11-04 18:25:21 +00:00
David Rose ad2bb4e6ce fix compiler warning 2008-11-04 01:46:38 +00:00
David Rose db1bc689e5 various fixes to threads, downloader, and support for VirtualFileMountHTTP 2008-11-04 01:09:57 +00:00
David Rose d1c1c8e31f allow querying length of midi file before it starts to play. 2008-11-03 18:47:12 +00:00
rdb ade7dabdd9 Support for setParentWindow 2008-11-01 13:04:17 +00:00
David Rose 9551e50de8 remove warning 2008-10-31 16:49:09 +00:00
David Rose 02d94cc8d2 recalcWakeTime() 2008-10-31 05:02:57 +00:00
David Rose 1ccecd7231 text-default-underscore-height 2008-10-30 22:43:54 +00:00
David Rose f2102c5912 update instancing syntax 2008-10-30 22:27:20 +00:00
David Rose 83d21bc2b1 support instancing syntax 2008-10-30 22:26:57 +00:00
David Rose d2d151010f more from astelix a.k.a. fabius 2008-10-30 21:11:34 +00:00
rdb 9298e4f2af *sigh*, now for real 2008-10-30 11:59:03 +00:00
rdb d2d6a9685f back to head again. Sorry for the mess here 2008-10-30 11:56:27 +00:00
rdb 8c16a334fe Fixing my mistakes in this non-branched mess 2008-10-30 11:50:52 +00:00
rdb a60a4dd581 back to head 2008-10-30 11:42:32 +00:00
rdb 4b2ca15c43 Integrate changes into 1.5 branch so I can tag it for 1.5.4 2008-10-30 11:40:50 +00:00
rdb 6bd9856ff2 Overhauled heightfield loading, and used double for log calcs 2008-10-30 11:02:15 +00:00
David Rose dde2109d07 count blank lines too 2008-10-30 00:20:29 +00:00
David Rose 2e7751678f initialization issue 2008-10-29 00:58:06 +00:00
David Rose 2210ebe3df better support for small collision polygons 2008-10-29 00:04:33 +00:00
David Rose 6ae98c3ce7 squelch compiler warning 2008-10-28 22:05:55 +00:00
David Rose 0109374689 fix task.time within a sequence 2008-10-28 21:57:43 +00:00
David Rose 6db2257ca1 TextGraphic::set_instance_flag() 2008-10-28 21:36:26 +00:00
David Rose d2c5866507 get_ancestor 2008-10-28 21:35:48 +00:00
David Rose 2a6a39dd4a model_path 2008-10-28 20:06:12 +00:00
rdb 1243548892 Back to 1.6 version 2008-10-27 21:13:56 +00:00
rdb addb68b630 1.20 + ordering issue fix, so I can tag this for 1.5.4 2008-10-27 21:12:22 +00:00
David Rose 6cd8951d9c fix PGEntry copy constructor 2008-10-27 19:29:54 +00:00
David Rose 999bae8044 fix broken implicit-unwrapping of pz files 2008-10-27 19:09:54 +00:00
David Rose bfe8302665 fix ordering issue in PGButton 2008-10-27 18:48:23 +00:00
David Rose 37ce4c9329 corrected code from astelix, a.k.a. fabius 2008-10-24 21:48:12 +00:00
rdb 7404da17c9 model_path -> get_model_path() 2008-10-23 12:18:46 +00:00
David Rose 8639f98ae9 need to vector model_path etc. through function after all, to avoid static-init problems 2008-10-22 22:11:16 +00:00
David Rose 8e68eb1dcd is_alive() 2008-10-22 19:12:33 +00:00
David Rose db4b14aaf7 revert astelix: changed behavior of centering unacceptably 2008-10-21 23:34:03 +00:00
David Rose 3bdb5d5813 TextAssembler improvements from astelix 2008-10-21 23:21:29 +00:00
David Rose 600a70a7f2 fix weird issues with buttons in shadowed text 2008-10-21 22:52:45 +00:00
David Rose 06ed6e8cba more oopses 2008-10-21 18:43:58 +00:00
David Rose 3a2959d09d new parameters for textures 2008-10-21 17:44:46 +00:00
David Rose f6d5d61479 add missing include 2008-10-21 04:08:42 +00:00
David Rose 2b3206240b missing header file 2008-10-20 23:29:31 +00:00
David Rose 65ef4f55da expose filestream stuff 2008-10-20 18:24:25 +00:00
rdb abe13bd4f0 Compile without python 2008-10-16 17:48:49 +00:00
rdb acb0722ff5 Fix for newer ffmpeg versions, they dropped support for C++ 2008-10-16 10:17:31 +00:00
David Rose 23193a6da1 set_aux_data -> set_python_data 2008-10-15 20:35:09 +00:00
rdb fde877df5c Added macrocomposites 2008-10-15 19:25:54 +00:00
David Rose 8a2f16b5b0 publish FileStream etc. 2008-10-15 05:40:15 +00:00
David Rose cc8530f8a9 fix unfortunate naming of MouseAndKeyboard node 2008-10-15 03:21:19 +00:00
David Rose f7fc1ca70b validate_target 2008-10-14 20:47:23 +00:00
David Rose 02d98e41c7 friendlier interface for task management 2008-10-14 02:17:38 +00:00
David Rose ef771a796b make sync primitives more similar to python function names 2008-10-14 00:07:05 +00:00
David Rose dd12d8fc61 turn off system_yield() 2008-10-13 23:31:51 +00:00
David Rose 3bd5914b57 upon_birth race condition issues 2008-10-13 18:24:18 +00:00
rdb 83237997b5 Fix freeze when invalid heightfield is given 2008-10-12 09:56:53 +00:00
David Rose bc2dcf0410 add get_name_prefix 2008-10-11 15:29:51 +00:00
David Rose 7683d94100 add TaskManager- events 2008-10-11 14:49:10 +00:00
David Rose c152dfa441 add max-texture-stages 2008-10-11 14:05:52 +00:00
rdb 8693f18870 corrected function description 2008-10-11 10:11:27 +00:00
rdb 15dba6ef35 added slope image 2008-10-11 10:00:25 +00:00
David Rose 58f3f8f322 fix error at shutdown 2008-10-11 01:56:09 +00:00
David Rose bca1533952 interrupt should not stop task 2008-10-10 21:30:11 +00:00
David Rose 907527a9c5 better scheduling algorithm 2008-10-10 20:54:15 +00:00
David Rose 8f8d56b530 png fixes 2008-10-10 15:07:35 +00:00
David Rose 2e8ad41bc7 never mind, revert 2008-10-10 15:03:05 +00:00
David Rose e56762a452 extract out troublesome png 2008-10-10 14:58:41 +00:00
rdb a2d3f7d1ac Fixed typo 2008-10-10 05:50:22 +00:00
rdb 0a9d9b2d92 Fixed typo 2008-10-10 05:48:51 +00:00
David Rose 53495298b2 minor typo 2008-10-10 05:22:48 +00:00
David Rose 39614e49ad fix shutdown order 2008-10-10 00:08:14 +00:00
David Rose 2834641b49 fix error messages 2008-10-09 23:19:22 +00:00
David Rose 09fe2062c2 fix problem at shutdown 2008-10-09 21:55:10 +00:00
David Rose 448d244a66 better thread debugging 2008-10-09 20:48:40 +00:00
David Rose bce545c958 fix thread deadlock problem 2008-10-09 20:48:13 +00:00
David Rose e9a1126423 minor typo 2008-10-09 18:56:07 +00:00
David Rose a5e447d94d whoops, bug in animation optimization 2008-10-09 18:44:12 +00:00
rdb 5023050fbb Fixed bug 2008-10-09 17:22:12 +00:00
rdb 2b94b2ff26 Exposed to python 2008-10-09 16:57:34 +00:00
David Rose b200056622 temporarily revert fix until further investigation: causes deadlock in dx9 2008-10-09 01:25:01 +00:00
David Rose 6b438e3e09 fix texture caching 2008-10-09 01:22:05 +00:00
David Rose 47ee723683 missed a case 2008-10-09 00:33:58 +00:00
David Rose 2f5f1af7c0 missed a case 2008-10-09 00:20:47 +00:00
David Rose d4c2c9858d SIMPLE_THREADS_NO_MUTEX -> LightMutex 2008-10-08 23:23:40 +00:00
David Rose 24dea4e56a more fixes to RenderAttrib problem 2008-10-08 01:12:17 +00:00
David Rose 3f2e70f4eb better simple mutex 2008-10-08 01:00:15 +00:00
David Rose 711fe92e56 minor tweaks 2008-10-06 20:00:57 +00:00
David Rose 17483cdbda fix crash with bad clock-mode 2008-10-05 18:25:23 +00:00
David Rose a6a4a893d0 Task.sequence() 2008-10-05 00:24:55 +00:00
rdb 6599417ca1 Fix bug in shader generator 2008-10-04 11:39:14 +00:00
David Rose 2fc35f05c8 whoops, install headers, not .cxx file 2008-10-03 21:58:04 +00:00
David Rose dffead0964 more aggressive fix attempt for crash 2008-10-03 20:52:56 +00:00
David Rose 4beba6ca6f integrate pview with new task manager 2008-10-03 20:30:07 +00:00
David Rose b9cb301df9 fix memory leaks 2008-10-03 19:06:52 +00:00
David Rose 3113912e4d add X11 2008-10-03 18:52:34 +00:00
David Rose 7cca74a597 task.frame 2008-10-03 04:30:32 +00:00
David Rose 277753ed2b a bit friendlier 2008-10-03 03:52:00 +00:00
David Rose 76687fca8f expose task.wakeTime 2008-10-03 03:05:19 +00:00
David Rose 621b831913 allow-live-flatten 2008-10-02 23:39:51 +00:00
David Rose 30e15740c4 accidental duplication 2008-10-02 22:47:44 +00:00
aignacio_sf 46ada8c264 Fix. Restore depth stencil surface. 2008-10-02 18:56:17 +00:00
David Rose fab502970f more threading improvements 2008-10-02 17:50:16 +00:00
David Rose ee89d48297 fix RenderAttrib corruption 2008-10-02 00:12:19 +00:00
David Rose 49a436f1b5 fix shutdown error some more 2008-09-29 23:55:37 +00:00
David Rose 0866bf9e51 better pstats 2008-09-29 22:20:52 +00:00
David Rose a74bf92e67 combine DS_again with DS_restart 2008-09-29 18:37:10 +00:00
David Rose c82dbc649b initialize keycode 2008-09-29 18:36:04 +00:00
David Rose dd84e5b978 print exception 2008-09-29 18:17:53 +00:00
David Rose c8913d4b66 use global task manager 2008-09-29 17:29:49 +00:00
rdb 56481db03c Support for 24-bits heightmaps 2008-09-29 16:50:50 +00:00
David Rose 2266110083 AsyncTask::is_runnable 2008-09-29 05:59:41 +00:00
David Rose c59bfe5459 more threading issues 2008-09-28 21:32:11 +00:00
David Rose a29328046a fix some threading issues 2008-09-28 17:11:42 +00:00
David Rose 8bb89607ab DS_pickup 2008-09-27 15:56:50 +00:00
David Rose fd1218b07b task generators 2008-09-27 12:33:47 +00:00
David Rose 6e3c93ce2f minor change 2008-09-26 23:43:29 +00:00
David Rose 7e217b8bdc handle more exotic uses of taskMgr 2008-09-26 23:42:22 +00:00
David Rose 72dad6e9d5 thread_priority, frame_budget, etc. 2008-09-26 19:58:11 +00:00
David Rose d9dede923f needs new bam version 2008-09-26 17:10:10 +00:00
David Rose dd18572d55 new bam version needed 2008-09-26 17:04:59 +00:00
David Rose d22c9a02fb fix lock issue in write_datagram() 2008-09-26 17:00:30 +00:00
rdb fbdbb8f867 Added GeoMipTerrain init_type 2008-09-26 13:54:25 +00:00
David Rose b07dbcc262 remove support for pre-6.14 bams 2008-09-26 13:44:54 +00:00
David Rose a169a1c4bd minimize texture reload from bam file 2008-09-26 02:42:07 +00:00
David Rose 131f768d8d fixed losing textures 2008-09-26 01:58:09 +00:00
David Rose c740062d29 prevent deadlock on exit with pstats 2008-09-26 00:34:49 +00:00
David Rose 5d8cd59628 live changes to set_sort, set_priority 2008-09-26 00:21:06 +00:00
David Rose e8587e4144 pstats 2008-09-25 23:59:55 +00:00
David Rose 306873b3ac task output 2008-09-25 23:20:59 +00:00
David Rose a09a538878 fix compilation errors 2008-09-25 20:58:07 +00:00
David Rose 7cd09665ac task chains 2008-09-25 20:42:46 +00:00
David Rose bf86abd1c5 task chains 2008-09-25 19:39:19 +00:00
rdb 902fc40742 String loading, and made it a TypedObject 2008-09-25 15:18:26 +00:00
aignacio_sf 1aac45449d Fix wrong type (int to float). 2008-09-24 23:06:14 +00:00
Chris Brunner 20225878a6 renamed the Windows reserved names "near" and "far" to "input_near" and "input_far" 2008-09-22 21:38:16 +00:00
rdb 9f5c9886c4 New Near/Far system, and speed optimizations 2008-09-22 17:14:10 +00:00
David Rose a283ea6013 compilation errors 2008-09-19 21:45:40 +00:00
David Rose eb4baf3e4d fix a few texture issues 2008-09-19 21:01:53 +00:00
David Rose d7ec4a0fce fix static init loop 2008-09-19 19:20:37 +00:00
David Rose 8b0461fadd const mistake 2008-09-19 18:06:57 +00:00
aignacio_sf a81621a8be Pass in screen to extract_texture_data. 2008-09-19 02:28:04 +00:00
David Rose 0d34ce2414 needed 2008-09-19 01:44:58 +00:00
David Rose 524128b9fd wip: starting experimental C-based task manager 2008-09-19 00:58:04 +00:00
aignacio_sf cfb8fa8b3b Fix a case where there is no depth buffer for a render to texture. 2008-09-18 23:00:35 +00:00
aignacio_sf 05fba9b3c8 Remove hard-coded texture format to allow different FBO formats.
Use the internal format when creating FBOs to allow different FBO formats.
2008-09-18 01:05:45 +00:00
aignacio_sf 271b9b50ec Add support for extracting textures from render to texture surfaces. 2008-09-18 01:03:15 +00:00
David Rose 8961c322f3 whoops, incorrect debug test 2008-09-17 22:06:50 +00:00
aignacio_sf 0d0236e653 Remove old debug code. 2008-09-17 21:28:40 +00:00
aignacio_sf d0bafd0bc2 Fix re-creating of textures.
Safer setting of mag filter, especially for anisotripic filtering.
Allow aux buffers.
Remove old debug code.
2008-09-17 21:28:00 +00:00
aignacio_sf e3cd187cef Fix re-creating of textures.
Safer clear of render to textures.
2008-09-17 21:25:20 +00:00
aignacio_sf eb2a64d99d Fix mispelling. 2008-09-17 21:15:25 +00:00
aignacio_sf 42daadfeb4 Give the option to pass in FrameBufferProperties for make_texture_buffer and cubemap texture buffer. 2008-09-17 20:57:16 +00:00
aignacio_sf 35bcb0c6cd Allow aux buffers for MRT (multiple-render-targets). 2008-09-17 19:47:50 +00:00
aignacio_sf a41b4a2ea1 Remove some very old debug code. 2008-09-17 19:44:58 +00:00
aignacio_sf d4c83ebc35 Fix cubemap problem: remove call to create_texture in select_cube_map function.
Add multiple render target support for DX9.
2008-09-17 00:02:59 +00:00
Chris Brunner db18c32b23 fixes a crash when building models after compiling with msvc9 2008-09-16 18:57:59 +00:00
David Rose f5e0ba66ba fix crash in point rendering 2008-09-16 12:59:03 +00:00
David Rose a1856db611 use indirect notify dereferencers 2008-09-16 01:51:11 +00:00
David Rose 25af05eef3 recursive lock 2008-09-16 01:50:49 +00:00
David Rose 0e9b1ece67 prevent hard crash 2008-09-15 20:50:54 +00:00
David Rose 5c45275656 suggested changes from Clemens Pecinovsky to better support scrollable widgets 2008-09-15 20:35:59 +00:00
David Rose f9cbb6f984 sort MouseWatcherGroup regions. Maybe fix for scroll bar getting stuck. 2008-09-15 20:14:46 +00:00
David Rose e44ede85f0 more debug output 2008-09-15 20:14:28 +00:00
David Rose 99b905beb9 find_bound_joints 2008-09-13 05:09:14 +00:00
David Rose 57bbde2ab2 wait_pending should return void 2008-09-13 03:58:44 +00:00
David Rose fd0af5b6ef fix pstats-threaded-write in simple-threads case 2008-09-13 03:39:21 +00:00
David Rose 917568869f wait_pending() 2008-09-13 02:03:28 +00:00
David Rose 06fc402c55 more useful spammage 2008-09-13 02:03:11 +00:00
David Rose de14f0633e whoops debug prints 2008-09-12 23:20:12 +00:00
David Rose c32747d900 fix texture bamming 2008-09-12 23:10:21 +00:00
David Rose f87b67df13 build on mac 2008-09-12 19:09:20 +00:00
David Rose 1b37ee8b9c composite build 2008-09-12 18:47:42 +00:00
David Rose 601b0d45c8 remove obnoxious #defines for X, Y, Z, and W. 2008-09-12 18:31:49 +00:00
David Rose 6fe61ef5c1 whoops, we still need to write out an empty table 2008-09-12 00:49:52 +00:00
David Rose 95ce87293d mark dirty on read() 2008-09-11 23:17:35 +00:00
David Rose efad95a5ea bring ffmpeg, opencv into new interface 2008-09-11 23:16:15 +00:00
David Rose 3bd0d132b3 better thread-handling in textures 2008-09-11 22:47:31 +00:00
David Rose 7e2c036927 fix from forum user peciScx 2008-09-11 17:11:06 +00:00
David Rose 75b5e032f0 rename SIMPLE_THREADS_NO_IMPLICIT_YIELD 2008-09-11 01:37:12 +00:00
David Rose d71d7a0fdb avoid async texload race condition 2008-09-11 01:02:11 +00:00
David Rose f57d2b07da fix paste error in wrap mode 2008-09-10 19:07:17 +00:00
rdb db77e3e4ca Fix for bug in texture_type 2008-09-10 18:37:16 +00:00
David Rose 8214dca456 async-load-delay for textures too 2008-09-10 02:17:26 +00:00
David Rose 964c76f2e0 pandaFileStream 2008-09-09 00:06:47 +00:00
David Rose c5957be27b pseudo-threaded network reads and writes 2008-09-08 19:39:43 +00:00
David Rose f1e618f02c fix bug in alpha blending on vertex colors 2008-09-05 23:09:35 +00:00
David Rose 7f90ceebfb don't crash 2008-09-05 21:20:57 +00:00
David Rose 9bc056eac3 normalize light direction 2008-09-05 18:00:16 +00:00
David Rose dfd8c1c7f2 revert accidental checkin 2008-09-05 01:28:24 +00:00
David Rose 9dbf584092 fix thrashing bug 2008-09-05 01:12:04 +00:00
David Rose c0b1f01a70 integrate with new adaptive lru 2008-09-05 00:35:06 +00:00
David Rose bd4486aadf revert accidental checkin of debug stuff 2008-09-05 00:27:57 +00:00
David Rose cc3c4aac5c remove debug, oops 2008-09-04 22:18:39 +00:00
David Rose d6eef63f61 update_texture() 2008-09-04 22:16:02 +00:00
David Rose e499287e8c RescaleNormalAttrib 2008-09-04 22:12:38 +00:00
David Rose 79050b0db3 avoid assert 2008-09-04 21:45:21 +00:00
David Rose 9c1361f02a missing include 2008-09-04 21:29:56 +00:00
David Rose 684810cbdd AdaptiveLru 2008-09-04 21:26:38 +00:00
rdb b41cebe1b5 Fixed bug with normals 2008-09-04 14:22:15 +00:00
aignacio_sf f508157c52 Add "glgsg->update_texture(tc, true);" for new cubemap only case. 2008-09-04 01:44:25 +00:00
aignacio_sf 34c5c69ede Optimize cubemap render to texture.
Calling glFramebufferTexture2D is very slow.
So, pre-create an fbo for each cubemap face and just bind the fbo when a cubemap face is selected.
2008-09-04 01:26:47 +00:00
David Rose b48a493323 consistent use of gl-debug-buffers 2008-09-03 23:08:43 +00:00
David Rose 34253520dd fix bug with transform on GeomNode 2008-09-03 20:00:41 +00:00
David Rose b515eea911 animation optimization 2008-09-03 20:00:21 +00:00
rdb 9bd12f0201 A fix for 64-bits 2008-09-03 14:39:09 +00:00
David Rose d6f8308127 fix bugs with shaders and with pre-compressed textures 2008-09-02 21:48:13 +00:00
David Rose f723924399 draw_set_shader_parameters pstats 2008-09-01 22:30:37 +00:00
David Rose 4473ebfdbe animation structure 2008-08-30 19:02:26 +00:00
David Rose a8ec068c05 graphics-memory-limit 2008-08-29 23:03:53 +00:00
Chris Brunner d9b8296fc8 handle an empty vector more gracefully 2008-08-29 21:54:47 +00:00
David Rose 844591b17c set_orig_file_size 2008-08-29 17:33:15 +00:00
David Rose 2fdbde7d3e compiler warning 2008-08-29 12:53:20 +00:00
David Rose 6718f4c9df oops, don't use vista-only function 2008-08-28 22:33:12 +00:00
David Rose 11ae34e109 apply_texture_colors() 2008-08-28 00:46:30 +00:00
David Rose 5050c994e0 create texture property in copy_to_texture 2008-08-28 00:45:30 +00:00
David Rose 515c6cd83a TexturePeeker 2008-08-27 01:38:08 +00:00
David Rose 7cb642fc2f more fixes from update_texture() changes 2008-08-26 18:12:00 +00:00
David Rose 9033b72aa5 directx update_texture() 2008-08-26 17:00:37 +00:00
rdb 09d15ccbcc Support for setParentWindow 2008-08-26 07:48:27 +00:00
David Rose 8c2e657f15 Add gsg::update_texture() 2008-08-25 22:58:58 +00:00
David Rose 788609a4e0 make collision polygons a tiny bit wider to protect against gaps (from ynjh_jo) 2008-08-24 16:24:04 +00:00
David Rose bf7eac8263 add anisotropic filtering, from forum user Laurens 2008-08-24 00:22:42 +00:00
David Rose 09dc4e3b84 add async-load-delay 2008-08-22 23:43:05 +00:00
David Rose 3e12bc0f65 fix disappearing avatar 2008-08-22 23:26:57 +00:00
David Rose 63a2d6bfd5 directx handling for unsupported compressed textures in cache 2008-08-22 20:45:39 +00:00
David Rose 59b5ab684d don't crash if loading cached compressed textures and compression unsupported 2008-08-22 19:19:07 +00:00
David Rose 4074c2717a directx extract_texture_data 2008-08-21 23:04:31 +00:00
David Rose 6eb99067ef oops 2008-08-21 21:43:12 +00:00
David Rose cb3ff73396 publish PTA::empty_array() 2008-08-21 20:04:23 +00:00
David Rose 86d753b4f9 better mipmap queries 2008-08-21 20:04:10 +00:00
David Rose 481e53fd77 small dds optimization 2008-08-21 01:21:38 +00:00
David Rose cd69554707 fix dx8 compressed textures; dx8 vs. dx9 cleanup 2008-08-20 23:21:57 +00:00
David Rose 7db5f2c148 fix dxt rgba setting 2008-08-20 23:21:02 +00:00
David Rose 790e3f5f97 properly invert dxt textures 2008-08-20 20:14:44 +00:00
David Rose 6b15f348b3 simple dds fixes (still inverted) 2008-08-20 00:43:52 +00:00
David Rose c76a53486f read dds files 2008-08-20 00:06:04 +00:00
David Rose 0a0bf8e38f better handling for non-blending case 2008-08-18 23:11:16 +00:00
David Rose 9e9e1eeef7 don't cache noncompressed textures inappropriately 2008-08-18 22:51:40 +00:00
David Rose 62466b266f fix another preload case 2008-08-18 17:57:59 +00:00
David Rose 4ebbd72ab1 more robust driver protection 2008-08-18 17:18:01 +00:00
David Rose c8ba67210f #endif comment 2008-08-17 06:12:45 +00:00
David Rose 140e1145d2 ensure no static init race condition on lock-to-one-cpu 2008-08-17 06:11:36 +00:00
David Rose 17f898413e uniquify cache temp filename by thread 2008-08-16 01:22:18 +00:00
David Rose 33b54effd2 work around egregious driver bug 2008-08-16 00:23:15 +00:00
David Rose 0423cdd69d fix caching issues 2008-08-15 20:37:06 +00:00
David Rose 4576b6286f publish enums 2008-08-15 20:32:53 +00:00
David Rose 8183a3f8ca typo in comment 2008-08-14 23:51:36 +00:00
David Rose 617a769ef7 more work towards asynchronous texture loads: auto-caching compressed texture versions 2008-08-14 23:50:17 +00:00
David Rose 93cef9c3bf async texture loading support for dx8,9 2008-08-14 00:25:34 +00:00
David Rose 07c2787a39 fix for inverted screenshot 2008-08-13 18:27:33 +00:00
David Rose 75de7a30c9 pstats tracking async loads 2008-08-13 16:10:28 +00:00
David Rose 07f89fbfc2 support async texture loads 2008-08-13 16:10:03 +00:00
David Rose 311273c22f less flickery lod fading 2008-08-13 06:22:58 +00:00
David Rose d7e6603118 work-in-progress: asynchronous texture loads 2008-08-13 01:13:09 +00:00
David Rose b83c917981 prefer-parasite-buffer 2008-08-12 04:26:35 +00:00
David Rose 7e5c276403 more robust copy-to-texture 2008-08-11 22:19:26 +00:00
David Rose 9a817b27c6 fix nan in scissor region 2008-08-11 17:54:40 +00:00
David Rose 6e72268787 fix RTM_bind_or_copy 2008-08-10 17:00:17 +00:00
David Rose 58c54ef085 more tinybuffer tweaks 2008-08-09 04:00:41 +00:00
David Rose fbc2b2b213 tinybuffer for linux 2008-08-09 03:57:23 +00:00
David Rose 12cc20f675 wip 2008-08-09 03:21:45 +00:00
David Rose ab486404e5 wip: tinybuffer 2008-08-09 03:21:18 +00:00
David Rose 641295f884 whoops 2008-08-08 23:59:46 +00:00
David Rose 53df81cafa fix flip 2008-08-08 22:21:37 +00:00
David Rose ba38195f19 auto-downscale parasite buffers 2008-08-08 20:54:45 +00:00
David Rose 251416cd5c fix roundoff errors in zbuffer size 2008-08-08 20:21:12 +00:00
David Rose 098fdd44e1 fix minor bug with lighting 2008-08-08 19:32:02 +00:00
David Rose 15f44d52b1 don't need all that hashtable output 2008-08-08 19:31:37 +00:00
David Rose db1877d141 native tristrip support 2008-08-08 18:57:20 +00:00
David Rose 4990a8f2bc add AnimPreload info 2008-08-08 17:40:47 +00:00
David Rose 69d3354a23 more whoops 2008-08-07 22:04:58 +00:00
David Rose 35baf6a2ee whoops! 2008-08-07 21:09:57 +00:00
David Rose 8137e8a039 thread yields during egg read 2008-08-07 18:45:44 +00:00
David Rose 9c8cfa3f2f minor fixes 2008-08-07 18:39:25 +00:00
David Rose 6d953de53a asynchronous animation binding 2008-08-07 17:26:39 +00:00
David Rose 843790e041 fix parabola xform 2008-08-06 13:43:39 +00:00
David Rose 6073c8dee9 RenderModeAttrib::M_filled_flat 2008-08-05 17:49:35 +00:00
David Rose 08e17a3ee0 correct error message 2008-08-05 01:07:31 +00:00
David Rose 85d94ff0c5 pstats pixel count for tinydisplay 2008-08-05 00:57:35 +00:00
rdb 89d470bcca Better support for OSX framework 2008-08-02 09:25:15 +00:00
David Rose 4d59f04134 scissor MouseWatcherRegions too 2008-08-01 22:48:42 +00:00
David Rose ab6e8bbc3c higher-level ScissorEffect fixes 2008-08-01 21:54:20 +00:00
David Rose 89adb4d176 add ScissorAttrib 2008-08-01 18:15:23 +00:00
David Rose 795f4c4b01 support ScissorAttrib 2008-08-01 17:28:41 +00:00
David Rose 62b406d83b typo comment 2008-08-01 17:27:28 +00:00
David Rose 8537bd7320 ScissorAttrib, ScissorEffect 2008-07-31 01:53:12 +00:00
David Rose 8a9fe2a16d more assertions 2008-07-29 23:38:12 +00:00
David Rose a89acc64a2 add clear_model_nodes 2008-07-29 19:42:53 +00:00
rdb ba7bfa2b6d Added EXPCL_PANDA_GRUTIL 2008-07-27 13:09:00 +00:00
David Rose 63f0e86da0 fix crash 2008-07-23 21:57:39 +00:00
David Rose 1a8870a03a chunk-a-time vertex decompression 2008-07-22 00:15:59 +00:00
David Rose 6d25ba7710 chunk-a-time vertex compression 2008-07-21 23:39:36 +00:00
aignacio_sf 6ae6a86eba Add support for multiple texture coordinates, vertex coordinates, ...
Add support for all column names i.e. texcoord.xxxx
2008-07-19 02:50:36 +00:00
David Rose 39b6637f93 fix reentrant mutex 2008-07-18 23:44:02 +00:00
David Rose 08c7656733 remove unused vertices automatically 2008-07-18 21:15:27 +00:00
David Rose 30b14f9421 multiple paging threads; flush_threads() 2008-07-18 21:14:44 +00:00
David Rose 9198427dbc remove unreliable 'interpreter' memory category 2008-07-17 22:38:50 +00:00
David Rose 99221e46ec fix bug reading colormapped tga files 2008-07-17 22:01:30 +00:00
David Rose 3db1413334 use PANDA_ALLOC_ARRAY etc 2008-07-15 00:39:08 +00:00
David Rose caae0af597 oops 2008-07-15 00:21:22 +00:00
David Rose ac3211ffc8 automatic build 2008-07-15 00:14:30 +00:00
David Rose 13cdb21fb1 automatic build 2008-07-14 23:56:58 +00:00
David Rose 94fcffdf1f automatic build 2008-07-14 23:38:30 +00:00
David Rose a1b5ffb21f expand page size 2008-07-14 23:26:20 +00:00
David Rose 7be91525a1 fix shutdown bug 2008-07-14 23:24:45 +00:00
David Rose 4187bbd8bf proper mem accounting 2008-07-10 22:48:16 +00:00
David Rose 617f8c31df multiple vertex paging threads 2008-07-10 21:13:57 +00:00
Zachary Pavlov d5a4a52182 undid the damage 2008-07-10 18:58:39 +00:00
David Rose 693fdafbf0 more paging fixes 2008-07-09 22:44:52 +00:00
David Rose 229a47528c support paged vertices in tinydisplay 2008-07-09 21:31:50 +00:00
Zachary Pavlov b172f6ec50 setT added 2008-07-09 01:59:44 +00:00
rdb d2e689f8d3 Resolution support on windows 2008-07-05 10:37:34 +00:00
David Rose f58b6879d1 oops, remove cerr 2008-06-28 18:47:13 +00:00
David Rose 18542336a2 handle keypad buttons 2008-06-25 19:31:52 +00:00
David Rose 58408195fb change suggested by ynjh_jo 2008-06-24 18:12:02 +00:00
David Rose 9801436889 change suggested by ynjh_jo 2008-06-24 08:14:09 +00:00
David Rose 20197b6767 fix sphere-sphere collisions for moving spheres 2008-06-18 22:08:35 +00:00
rdb aa92d0c62e added error at get_surface, to prevent crashes 2008-06-18 17:38:43 +00:00
David Rose 33e0cdcff1 whoops, sw sprites not k 2008-06-13 19:16:22 +00:00
David Rose 6c26ee6d2e fix update loop, sticky slider bars 2008-06-12 19:00:29 +00:00
rdb 855cb4d2ad A better solution, that won't break everyone's builds. 2008-06-12 18:46:27 +00:00
rdb 874e10d42f Added something to make it work on OSX as well 2008-06-12 10:19:25 +00:00
David Rose 2928e1088e new fix (idea suggested by Clemens Pecinovsky) 2008-06-11 20:54:50 +00:00
David Rose 494217ea89 revert incorrect patches in 1.60 and 1.62 2008-06-11 20:28:01 +00:00
Zachary Pavlov 656bffc564 multi tex flattening that supports multi level decal flattening 2008-06-09 23:31:47 +00:00
David Rose d3ded32deb light from upper-left 2008-06-04 22:59:28 +00:00
aignacio_sf c44932b9fa replace cout with dxgsg9_cat.error() 2008-05-28 22:12:30 +00:00
David Rose 5c665f6c31 whoops 2008-05-28 19:54:39 +00:00
David Rose 785424a348 should be DrawMask, not CollideMask 2008-05-28 19:00:56 +00:00
David Rose f965ed1f43 whoops 2008-05-28 18:43:06 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose 6342d4abe7 remove defunct document 2008-05-28 18:35:11 +00:00
David Rose 55542dd5b2 remove old license 2008-05-28 18:06:42 +00:00
Josh Yelon 3f69740ab9 Fixed a bug in glow map generation 2008-05-27 22:20:09 +00:00
Josh Yelon db026d888d Fixed a minor bug 2008-05-27 22:18:40 +00:00
rdb 6c4ee5996d Fixed a big performance leak. 2008-05-25 18:53:49 +00:00
David Rose da154168a3 add sync-video setting 2008-05-15 23:22:44 +00:00
David Rose 2ecdbffeca bilinear filter in the right direction 2008-05-14 18:46:33 +00:00
David Rose fd1a56e232 gsg::set_texture_quality_override 2008-05-14 18:13:01 +00:00
David Rose bed33fb763 GSG::is_hardware() 2008-05-14 00:57:36 +00:00
David Rose 976e367e52 hard-set text quality for now 2008-05-14 00:30:36 +00:00
David Rose d7cffaa4f5 signed/unsigned mismatch 2008-05-14 00:10:53 +00:00
David Rose acb0faae46 Texture::set_quality_level() 2008-05-13 23:31:19 +00:00
David Rose 203b7f1a89 additive blending and other exotic blend modes 2008-05-13 02:09:27 +00:00
David Rose a760c2ba4f initialize flags 2008-05-12 23:32:49 +00:00
David Rose a2c8f382f3 pixel zoom 2008-05-12 23:31:42 +00:00
David Rose 1df780dbad sign issue 2008-05-12 23:24:57 +00:00
David Rose 4a099b93f1 oops, can't clear pointers 2008-05-12 21:56:34 +00:00
David Rose 6c81c213c1 native OSX support 2008-05-12 20:48:34 +00:00
David Rose f637f60826 missing include 2008-05-12 18:02:27 +00:00
David Rose 0031ee4766 early_out_fz not such a great idea 2008-05-10 23:54:20 +00:00
David Rose 5a212c24f7 fix mistake 2008-05-10 23:47:17 +00:00
David Rose e5d5c295c7 fix accidental change 2008-05-10 23:41:51 +00:00
David Rose 2459a7ddfc early-out big invisible polys 2008-05-10 22:48:47 +00:00
David Rose 979896da75 a few tinydisplay optimizations 2008-05-10 21:51:22 +00:00
rdb faa94cf0b9 Fixed major bug in GeoMipTerrain causing a segfault 2008-05-10 19:17:04 +00:00
David Rose 11d0dccdf7 minor oops 2008-05-10 18:50:58 +00:00
David Rose ccf5056fd6 mipmaps 2008-05-10 01:45:09 +00:00
David Rose 28dbf6e736 suggested patch from Clemens Pecinovsky 2008-05-09 18:53:31 +00:00
Josh Yelon a7fcfb1d33 Fixed a comment 2008-05-09 17:22:36 +00:00
rdb 4f6dc278d5 Fixed a minor bug in heightfield size detection. 2008-05-09 12:52:35 +00:00
Darren Ranalli 146233c46d added get_max_frame_duration 2008-05-09 01:49:10 +00:00
David Rose 0509307172 experiment, not worthwhile 2008-05-09 00:36:51 +00:00
David Rose f6c1bcd24e go back to short zoints for now 2008-05-09 00:08:32 +00:00
David Rose d956aee536 handle pixel_zoom properly 2008-05-09 00:07:13 +00:00
David Rose 53a7c78548 x zoom 2008-05-08 23:44:09 +00:00
aignacio_sf c22fe12b87 Add max simultaneous render targets.
Add lru config variables for debugging textures and vertex buffers.
Add tracking for textures and vertex buffers.
2008-05-08 23:40:55 +00:00
aignacio_sf 57ca8e62c0 Add max simultaneous render targets. 2008-05-08 23:38:42 +00:00
David Rose 01a068a222 sdl zoom 2008-05-08 23:38:22 +00:00
aignacio_sf 0b012b4789 Add lru config variables for debugging textures and vertex buffers. 2008-05-08 23:33:20 +00:00
aignacio_sf 30ff415599 Add name. 2008-05-08 22:42:58 +00:00
David Rose 0e87f046c5 set_pixel_zoom 2008-05-08 22:38:07 +00:00
David Rose 61c935f04d patch suggested by Clemens Pecinovsky 2008-05-08 16:41:08 +00:00
David Rose 718ab74065 tinydisplay respect color scale 2008-05-07 00:56:00 +00:00
David Rose 990e0883de properly uninvert framebuffer-to-texture 2008-05-07 00:47:46 +00:00
David Rose 855e639471 native windows 2008-05-07 00:15:01 +00:00
David Rose f9f6f1eab0 build osx 2008-05-06 22:13:38 +00:00
Josh Yelon 9b27b21358 Fixed precision loss in compare_impl 2008-05-06 22:02:26 +00:00
Josh Yelon a0f740720d Added color attrib 2008-05-06 21:29:14 +00:00
David Rose 77d2c851e6 explicit tinydisplay controls 2008-05-06 19:52:31 +00:00
David Rose e0f3f85f60 build on linux 2008-05-06 19:46:37 +00:00
David Rose 1277a58742 tinydisplay 2008-05-06 19:30:55 +00:00
David Rose 80253733c6 build on windows 2008-05-06 19:18:41 +00:00
Josh Yelon 846c2a9fcc Enabled shader generator to suppress alphatest and alpha-write 2008-05-06 16:27:18 +00:00
David Rose 33eca53d00 fix cubemap bug 2008-05-06 15:27:17 +00:00
David Rose 07ee48ae07 manage texture memory for tinydisplay 2008-05-06 03:17:29 +00:00
David Rose acedeeceff minor api reduction 2008-05-06 01:57:29 +00:00
David Rose 6e67368d89 minor fill optimization 2008-05-06 01:44:26 +00:00
David Rose 70dc513463 typo 2008-05-06 01:19:26 +00:00
David Rose 451a0fa4d6 remove more unused api 2008-05-06 01:14:39 +00:00
David Rose e7e305e522 remove unused api 2008-05-06 01:09:48 +00:00
David Rose 53c23cff04 cull face 2008-05-06 00:20:40 +00:00
David Rose c21f899710 materials 2008-05-06 00:17:30 +00:00
David Rose 45c2aafe47 reverse order for robustness 2008-05-05 23:31:39 +00:00
David Rose 6c2eee140d copy_framebuffer 2008-05-05 23:31:25 +00:00
David Rose 0b5894f27e support varying texture sizes 2008-05-05 22:08:37 +00:00
David Rose b226cf6f5d experiment with texture filtering 2008-05-05 21:02:21 +00:00
David Rose d031eb8688 fix alpha blending issue 2008-05-05 19:09:16 +00:00
David Rose 9c1fe2fed9 reuse existing GLLight objects 2008-05-05 07:09:20 +00:00
David Rose 1e067f210b remove texture restriction 2008-05-05 07:04:03 +00:00
David Rose f119c9c63c resizing issues 2008-05-05 06:54:51 +00:00
David Rose cf12fbfef7 fix viewports 2008-05-05 06:27:00 +00:00
David Rose e45a354a05 optimize index traversal 2008-05-05 06:00:27 +00:00
David Rose d6a9ea874d lighting 2008-05-05 05:32:04 +00:00
David Rose 916b400101 remove do_issue_blending 2008-05-05 04:29:35 +00:00
David Rose c72cf3f452 clear viewport 2008-05-05 04:04:22 +00:00
David Rose 9787429186 fix texturing issues 2008-05-04 23:44:49 +00:00
David Rose b68cd0b513 line issues 2008-05-04 17:37:06 +00:00
David Rose d06330192a resize x 2008-05-04 17:21:53 +00:00
David Rose 5c7be58565 texmat 2008-05-04 17:20:17 +00:00
David Rose 19e0b0824c X support 2008-05-04 08:00:12 +00:00
David Rose 90d7caf0a9 more fill options 2008-05-03 16:56:07 +00:00
David Rose 3f5acfe7bb tweaks 2008-05-03 01:39:56 +00:00
David Rose 230d7825d3 fiddly bits 2008-05-03 00:37:47 +00:00
David Rose d48ff75151 progress on rendering modes 2008-05-03 00:09:36 +00:00
David Rose ebee79a58e remove some API 2008-05-02 18:12:23 +00:00
Josh Yelon 5917243378 Added material attrib lock 2008-05-02 00:57:51 +00:00
David Rose 3dd3c1aa44 oops, sorting texture stages in wrong direction by sort 2008-05-01 22:42:56 +00:00
David Rose 4f8dcaf407 integrate TinySDGL code directly 2008-05-01 18:16:26 +00:00
David Rose 0f1aeb640a resize, etc 2008-04-30 23:35:07 +00:00
David Rose 05daeb1d65 comments 2008-04-30 22:23:15 +00:00
Josh Yelon c013cddc92 More support for negative glow 2008-04-30 22:23:14 +00:00
David Rose 6d90cf5b70 tinydisplay 2008-04-30 22:21:24 +00:00
Josh Yelon 1d2990a2b5 Added support for negative glow-maps 2008-04-30 21:07:23 +00:00
Josh Yelon 1d16b20393 Fixed a bug in the ffmpeg movie decoder. 2008-04-30 21:05:39 +00:00
David Rose f3ec66d694 fix minor bugs 2008-04-30 20:37:29 +00:00
Zachary Pavlov 5ea3c0c47c made combine_with published 2008-04-29 18:59:47 +00:00
Josh Yelon eb5a5a1856 fixed a minor bug 2008-04-24 02:00:31 +00:00
Josh Yelon 4a474bfb13 Fixed several memory management bugs, and added streaming control 2008-04-24 01:59:04 +00:00
Josh Yelon 16b6c060a8 added streaming audio support 2008-04-24 01:58:13 +00:00
Zachary Pavlov 894493de24 added this so I can make a root character for ships 2008-04-20 22:12:25 +00:00
aignacio_sf 1dc357a7f1 Remove (comment out) hard coded tex->set_format(Texture::F_rgba); So that the texture format can be selected externally via Texture.set_format(). 2008-04-18 19:19:48 +00:00
aignacio_sf c7256fc872 Remove hard coded 0 for render target index.
Remove (comment out) color_tex->set_format(Texture::F_rgba);  So that the texture format can be selected.
2008-04-18 19:17:08 +00:00
David Rose 96e4739426 fix ff_tc_index some more 2008-04-16 00:30:50 +00:00
aignacio_sf 38051b1591 Disable refresh rate checking. Fix for SLI video cards. 2008-04-15 19:23:21 +00:00
Redmond Urbino 279ff64b9c add randomizer seed get and set methods 2008-04-12 01:05:40 +00:00
David Rose 9f8b1cbd0e work around mesa craziness 2008-04-12 00:34:37 +00:00
aignacio_sf 75a7b1226a Fix for when clearing non 2D textures. 2008-04-11 02:08:11 +00:00
David Rose aaa4e12223 gl-finish 2008-04-10 20:18:20 +00:00
David Rose bd6d34a26e compile with ppremake 2008-04-10 20:16:07 +00:00
Josh Yelon d71fd1d89c Changes for 64-bit 2008-04-10 20:03:16 +00:00
Josh Yelon 5000a700f1 Added GeoMipTerrain 2008-04-10 18:07:21 +00:00
David Rose a667e91dce TextureAttrib::_implicit_sort 2008-04-10 00:45:43 +00:00
David Rose 61b849ee15 compiler warning 2008-04-10 00:06:31 +00:00
Redmond Urbino f1a99466e7 add get_infinity 2008-04-09 22:44:58 +00:00
David Rose b0d980371c fix stack recursion issues 2008-04-08 23:50:50 +00:00
Joseph Lee 543a6a3a7e don't decrement zero-length REG_*SZ strings passed back from the registry 2008-04-08 23:37:22 +00:00
David Rose c4b12b18cb CardMaker now requires a ColorAttrib to apply color 2008-04-08 23:01:12 +00:00
David Rose d9040abb58 use <auto> filename path 2008-04-08 22:05:52 +00:00
David Rose a7be0cf6ba higher mtu 2008-04-06 16:49:06 +00:00
David Rose 25bf3315b4 add missing files 2008-04-01 22:38:21 +00:00
David Rose 9c67f4f7fa add dependency on movies 2008-04-01 22:14:59 +00:00
Josh Yelon 03715468ca Improvements to audio and creation of UserDataAudio 2008-03-31 05:51:11 +00:00
David Rose 0cda3c165a time munge::geom 2008-03-26 00:05:51 +00:00
David Rose 0fe487d9ec support explicit default constructors for linmath 2008-03-26 00:04:45 +00:00
David Rose 0978b0d2fa support win32's inf convention 2008-03-25 19:09:28 +00:00
David Rose 336fb90627 prevent infinite recursion 2008-03-24 23:05:47 +00:00
David Rose 81bef7355c workaround problem when unable to get input context 2008-03-24 18:19:57 +00:00
Dustin Barnard 3c2f78e72c *** empty log message *** 2008-03-21 16:39:42 +00:00
Josh Yelon 08dcdade5c load_dso now uses a plugin search path 2008-03-18 22:25:59 +00:00
David Rose cdc0a1564b comment typo 2008-03-17 21:51:30 +00:00
Joseph Lee 87e65af730 MF_1_1_8 (1.1.16.1):
o respect registry HKEY difference between _LOCAL_MACHINE settings and _CURRENT_USER
o allow selection of different HKEY
2008-03-12 23:28:33 +00:00
Joseph Lee 28d07f2cd1 MF_1_1_8 (1.7.12.1):
o respect registry HKEY difference between _LOCAL_MACHINE settings and _CURRENT_USER
o allow selection of different HKEY
2008-03-12 23:28:33 +00:00
David Rose fc46272823 fix set_attrib() with override 2008-03-04 22:33:16 +00:00
Josh Yelon b4427c874d Buffer fixes and bug fixes 2008-03-04 07:00:23 +00:00
Josh Yelon 0a4633cf81 Fixed a bug in copy_to_texture for depth buffers 2008-03-03 22:45:06 +00:00
Josh Yelon 8c39891d66 Fixed a bug in the 'encircles' routine 2008-03-03 22:44:50 +00:00
Josh Yelon 8d0c975486 Added not-implemented-yet warnings to shader generator 2008-03-03 21:32:28 +00:00
David Rose 02b2d76274 more flatten bugs: fix color-scale support 2008-03-01 00:05:03 +00:00
Josh Yelon b3b365c99e Work on issues related to resizing buffers 2008-02-28 23:16:13 +00:00
David Rose 4eed2ad84f one more fix to the fix to the fix 2008-02-28 19:36:57 +00:00
Josh Yelon 17a1700b26 Fixes for texture padding 2008-02-28 18:45:40 +00:00
David Rose 7ab42fafae another fix 2008-02-28 14:45:23 +00:00
David Rose 4ad2ecb59f fix further bugs with multitexture in dx8/9 2008-02-28 00:04:29 +00:00
David Rose 93fb935b6f MIN_GL_VERSION, MIN_MESA_VERSION 2008-02-27 21:20:09 +00:00
Josh Yelon d1c90c64ca Remove unintentionally-committed debugging code 2008-02-26 23:04:07 +00:00
Josh Yelon 6fe75c8eed Added some error-checking 2008-02-26 23:02:27 +00:00
David Rose 21651167f1 more mesa debugging 2008-02-26 21:36:27 +00:00
Josh Yelon b70b3d7102 Took out debugging code. 2008-02-26 19:42:00 +00:00
Josh Yelon 172f8f7386 Fixed a bug when trying to use windows sofware renderer 2008-02-26 05:50:48 +00:00
Josh Yelon 5a25035407 Fixed typo 2008-02-25 21:35:24 +00:00
Josh Yelon 383b0660ae More changes to shader generator 2008-02-25 21:26:26 +00:00
Josh Yelon a9dc480500 Improvements to shader generation 2008-02-24 03:57:55 +00:00
David Rose daf31cc691 compile on osx 2008-02-22 20:36:40 +00:00
David Rose d52bd0616b fix dx8/dx9 texture coordinate issue 2008-02-21 21:56:47 +00:00
Josh Yelon b98c5f0bf5 Refactored code for glClear - added aux bitplane clears 2008-02-21 19:55:40 +00:00
Josh Yelon 7bb510a3ef Added support for HDR 2008-02-21 19:54:40 +00:00
David Rose 61dc831678 fix color-flatten issue some more 2008-02-20 04:16:36 +00:00
David Rose 514097b0d4 reduce unnecessary calls to glxMakeCurrent() 2008-02-20 01:47:04 +00:00
Josh Yelon 30c2f1e871 Added auxBitplaneAttrib 2008-02-13 22:06:55 +00:00
aignacio_sf 6dfe4ab030 Add depth buffer sharing. 2008-02-13 01:08:36 +00:00
Josh Yelon b6ea4ab8b2 Fixed linux gcc bug 2008-02-12 23:03:55 +00:00
Josh Yelon da29b5e02f Adding more code for shader generator and image postprocessing 2008-02-12 21:54:44 +00:00
Josh Yelon f1ca9a02b3 Added light ramp attrib 2008-02-05 04:05:57 +00:00
David Rose 92dd6d6e89 fix color flatten bug 2008-02-05 01:07:48 +00:00
Josh Yelon 005bc25282 Added light ramps and gloss maps 2008-02-04 22:49:48 +00:00
aignacio_sf b481bcac00 Clear render to texture textures to black when they are first created. 2008-02-01 01:33:42 +00:00
David Rose bba7914821 fix more white text problems 2008-01-31 03:13:55 +00:00
David Rose f58416a234 build opt 4 2008-01-31 02:21:27 +00:00
Darren Ranalli 0245552aa1 more precise detection of a closed connection 2008-01-30 21:05:42 +00:00
Josh Wilson a4b51594b8 adding getNextHighestBit() and getNextLowestBit() functions 2008-01-29 22:02:47 +00:00
Josh Yelon a918cb5ee1 Updated some comments 2008-01-29 17:07:11 +00:00
Josh Yelon 4814634f95 Fixed an end_scene related bug (failure to clean up shader data) 2008-01-29 17:05:24 +00:00
Josh Yelon 4e7cab3eb1 Added new forms of recompute_tangent_binormal 2008-01-29 17:04:16 +00:00
David Rose a3999eff61 fix white nametag issue 2008-01-29 01:56:55 +00:00
Josh Yelon 48f0aeaddf More shader generation 2008-01-28 17:55:06 +00:00
Josh Yelon 1d954d5104 Improvements to Shader Generator 2008-01-28 17:28:09 +00:00
David Rose 5d3613e020 build on linux 2008-01-26 01:26:33 +00:00
David Rose 77f15e1885 build on linux 2008-01-26 01:15:25 +00:00
David Rose e0226e0cc3 fix incorrect INLINE 2008-01-26 01:06:25 +00:00
Josh Yelon be5cf85350 Implemented new make_consistent_state routine to unify ColorAttribs 2008-01-25 07:18:28 +00:00
Josh Yelon ec4e8cdab5 Added fast functions to construct all-zero and all-ones matrices 2008-01-25 03:37:14 +00:00
Josh Yelon d0aac98dac SceneGraphReducer needs to support new ColorAttrib semantics (not quite finished yet) 2008-01-25 03:35:58 +00:00
Josh Yelon 1d44682463 Much progress implementing shader generator 2008-01-25 03:35:12 +00:00
Josh Yelon c9478d0001 Added audio volume to the AttribSlots 2008-01-25 03:33:47 +00:00
Josh Yelon aee0c904ca Added several new shader-parameter keywords, esp for lights and materials 2008-01-25 03:30:56 +00:00
Josh Yelon 151d8c2814 Added a config variable to dump all generated shaders 2008-01-25 03:29:52 +00:00
Josh Yelon baa7dfcb33 Added a convenience function to make an internal name with an integer suffix 2008-01-25 03:29:18 +00:00
Josh Yelon 7625c2cfa2 Added a fast function to obtain the default material 2008-01-25 03:28:17 +00:00
David Rose 93b66d6706 fix numeric roundoff error in animation 2008-01-22 21:38:37 +00:00
David Rose 4fd2a6ba3c fix build issues on osx from kaweh kazemi 2008-01-17 20:27:43 +00:00
aignacio_sf c66233dc15 Add driver version and date. 2008-01-17 03:41:59 +00:00
David Rose 9b4a1eab47 fixes from ynjh_jo 2008-01-08 03:08:56 +00:00
aignacio_sf 3e3f394930 Add OS version and more CPU frequency info. 2008-01-08 01:03:28 +00:00
aignacio_sf 70768a6f9b Add OS version and more CPU frequency functions. 2008-01-08 01:00:38 +00:00
aignacio_sf 601f094d8d Add cpu id and cpu frequency functions. 2008-01-04 00:57:10 +00:00
David Rose 703a44a6b0 nspr -> net 2007-12-20 23:39:30 +00:00
David Rose dd03048f6e add SceneGraphReducer::decompose() 2007-12-20 22:33:44 +00:00
David Rose 7400cfacab don't create flat-white colorattrib 2007-12-20 18:57:23 +00:00
David Rose 775466b4bd egg loader and bam loader set a ColorAttrib on every Geom. 2007-12-20 03:17:38 +00:00
David Rose 5afa502948 add ConfigVariableInt64 2007-12-20 01:58:58 +00:00
David Rose 708287f2ac not so noisy with the pstats 2007-12-20 00:56:10 +00:00
David Rose c380227fb4 compile crash in pandatool 2007-12-19 21:40:12 +00:00
David Rose b9b1e78399 flatten optimization; also SceneGraphReducer::make_compatible_format() 2007-12-19 20:25:53 +00:00
David Rose 81649f83a1 incorrect inline 2007-12-17 21:48:48 +00:00
Josh Yelon eeb8b61bc9 Fixed an uninizialized data bug in make_default_impl 2007-12-17 21:46:20 +00:00
David Rose e75c8695dd resolve dependency issue 2007-12-17 21:23:38 +00:00
Josh Yelon 7dcdd8899e missing initialization in pandaframework 2007-12-17 21:06:08 +00:00
Josh Yelon 439ef40cff Just getting started with real shader generator 2007-12-16 08:05:18 +00:00
Josh Yelon e02fcbbb21 Fixed a bug in shader caching 2007-12-16 08:04:32 +00:00
Josh Yelon ef0189651e Added per-pixel lighting support 2007-12-16 08:04:08 +00:00
Josh Yelon b3909c97fa Adding the shader generator 2007-12-16 05:46:54 +00:00
Josh Yelon 5d0c234484 Added ShaderGenerator 2007-12-16 05:45:35 +00:00
Josh Yelon 2288645d39 Added support for textures_auto_power_2 and shader_auto_utilization 2007-12-15 07:08:14 +00:00
Josh Yelon 21436b4f4d Added 'auto' flag to ShaderAttrib 2007-12-15 07:05:20 +00:00
David Rose 0cd1b7a065 should return concrete NodePaths, not const refs 2007-12-14 19:40:55 +00:00
David Rose 4a2a85bedc compiler warning 2007-12-14 18:57:41 +00:00
David Rose d19b618e7e Filename is not set up for phash_map 2007-12-14 18:57:21 +00:00
David Rose 1b8d8e182d shader changes for ppremake 2007-12-14 18:46:28 +00:00
Josh Yelon d8e6dc13a3 Modifications to eliminate class ShaderExpansion 2007-12-13 20:56:29 +00:00
David Rose 7cd589972f bugfix from Erik on forums 2007-12-13 18:03:15 +00:00
aignacio_sf 48fb0dcd6e Add page fault count. 2007-12-11 23:16:21 +00:00
Josh Yelon c31a9d079c Added support for glow maps. 2007-12-07 07:51:37 +00:00
David Rose 181f690bb8 ClockObject::calc_frame_rate_deviation() 2007-12-07 02:25:10 +00:00
David Rose f56e10210d add NodePathCollection::set_texture() 2007-11-30 19:32:48 +00:00
David Rose e11487f81f add preserve-geom-nodes, flatten-geoms 2007-11-30 03:16:06 +00:00
David Rose af6bc5581a revert unfortunate checkin 2007-11-28 19:52:33 +00:00
David Rose 4c2659988f minor threading fixes 2007-11-27 01:18:35 +00:00
David Rose 0c2b6e3164 threaded pstats fix 2007-11-27 01:15:26 +00:00
David Rose 591a2096b4 stagger_animations 2007-11-27 01:14:47 +00:00
David Rose 89f4ff426b make thread-safe 2007-11-27 01:12:50 +00:00
David Rose b990681b1a fix old bit-rot 2007-11-27 01:12:16 +00:00
David Rose 8d56e2e234 minor fixes 2007-11-27 01:11:46 +00:00
David Rose 3ec478cf04 fix depth bits 2007-11-27 01:09:20 +00:00
David Rose 2e8fec7683 fix mutex_spinlock 2007-11-27 01:08:46 +00:00
David Rose 701baa9f31 compiler warning 2007-11-27 01:06:34 +00:00
David Rose 1073b9e643 compiler warnings 2007-11-26 20:14:43 +00:00
David Rose d85b062b2d don't limit counters to 32-bit 2007-11-21 22:42:56 +00:00
David Rose c11e8411d9 max-heap-size 2007-11-20 22:13:03 +00:00
Josh Yelon 91f0ffed00 New error checking for missing ShaderInput 2007-11-12 06:26:25 +00:00
Josh Yelon 2f42e29cf7 Fixin a few bugs 2007-11-12 06:20:10 +00:00
Roger Hughston 8ed57328c2 Fat finger in last commit 2007-11-08 05:40:45 +00:00
Roger Hughston 0aedd3fdd8 Imbedded hacks for osx 2007-11-07 23:52:36 +00:00
David Rose cbc7e936d9 make mouse scroll wheel instant 2007-11-06 01:46:31 +00:00
Roger Hughston 2acfb68eb6 *** empty log message *** 2007-11-05 23:01:41 +00:00
Roger Hughston ebf29ba988 *** empty log message *** 2007-11-05 22:59:52 +00:00
Roger Hughston e9dd59bdd9 Added Thread Safty 2007-11-05 22:57:51 +00:00
David Rose 32bcebc766 fix collide mask on flatten 2007-11-05 17:38:00 +00:00
Josh Yelon 3c82ad32d2 These files no longer needed 2007-11-04 08:09:53 +00:00
Josh Yelon 41f81676b1 Fixed export class 2007-11-04 07:49:00 +00:00
Josh Yelon b11496ea26 Webcam code update 2007-11-04 07:35:54 +00:00
David Rose 155604428e fix mac mouse wheel processing 2007-11-02 23:33:48 +00:00
David Rose 278f5ca58d mouse pointer is visible when outside of window 2007-11-02 22:25:22 +00:00
David Rose 26f27afc55 strmiids.lib 2007-11-01 20:00:40 +00:00
David Rose 42308e7025 add dx9 dependency 2007-11-01 19:12:57 +00:00
David Rose 5150016571 fix Sources.pp issues 2007-10-31 20:26:09 +00:00
David Rose 3ca9179040 missing include files 2007-10-31 18:24:36 +00:00
David Rose 6ccad9c40e typo 2007-10-31 18:20:23 +00:00
Josh Yelon 4f5a95ed47 In process of adding webcam support. Not finished yet. 2007-10-30 20:50:48 +00:00
David Rose 2fff606ce0 fix typo 2007-10-30 15:38:01 +00:00
Josh Yelon b9e7875e96 This directory is getting big, let's split the composite. 2007-10-29 21:49:09 +00:00
Josh Yelon b67ac42efd ARToolKit now basically functional 2007-10-29 21:02:07 +00:00
Josh Yelon 59c5431741 Working on ARToolKit - not functional yet 2007-10-28 17:10:55 +00:00
David Rose d86c60305c copy_all_properties() should copy into_colilde_mask too 2007-10-26 22:11:11 +00:00
Josh Yelon 8672ce620f Fixed HAVE_ARTOOLKIT 2007-10-26 22:02:50 +00:00
Josh Yelon a80fa17906 Stub code for AR Toolkit support 2007-10-26 21:58:35 +00:00
Josh Yelon e32bf5cbf3 Added support for pad regions 2007-10-26 21:56:43 +00:00
Josh Yelon 662491fb7f Replaced gsg->supports_power_2 with textures_power_2 2007-10-26 21:56:06 +00:00
Josh Yelon 7026aee8f8 Uses texture's pad region now 2007-10-26 21:55:30 +00:00
Josh Yelon 1ed7f72e86 A minor optimization involving pad regions 2007-10-26 21:55:13 +00:00
Josh Yelon 7d695c64c5 Added setup_texture, pad region support, and a few optims 2007-10-26 21:54:54 +00:00
Josh Yelon 1297993a34 Added concept of a texture's Pad Region 2007-10-26 21:54:20 +00:00
David Rose b706a17f25 early-out on empty Geoms 2007-10-25 21:19:22 +00:00
David Rose 0c56b38f6a name vdatas after type of particle 2007-10-25 21:18:58 +00:00
David Rose 48a840be75 add underscore property 2007-10-24 21:14:57 +00:00
Roger Hughston 1f0c2980bb *** empty log message *** 2007-10-24 18:18:34 +00:00
Roger Hughston f87df647a8 total hack to help find a race.. must remove later 2007-10-24 04:03:29 +00:00
David Rose d4092b8a52 release mouse buttons when window focus is lost 2007-10-24 02:02:11 +00:00
David Rose 08d65bbb20 fix bogus assertion 2007-10-23 15:27:04 +00:00
David Rose 923ff60d9f temp hack fix for released-buffer-cache-size on dx8/9 2007-10-23 00:38:12 +00:00
David Rose fd74ea21f5 minor optimization? 2007-10-23 00:36:45 +00:00
David Rose 43101ae12e add_gsg 2007-10-19 22:20:00 +00:00
David Rose be8b867498 released-vbuffer-cache 2007-10-19 15:37:19 +00:00
David Rose 707ff8f504 UH_client -> UH_stream 2007-10-19 15:36:41 +00:00
David Rose 78a08bafcd gl-min-buffer-usage-hint, gl-debug-buffers 2007-10-19 15:35:43 +00:00
David Rose d517b00688 UH_dynamic -> UH_stream 2007-10-19 15:33:32 +00:00
Joe Hager a0415fa3d4 Fix flickering problem when dynamically adjusting gamma with GUI. 2007-10-18 03:44:59 +00:00
Joe Hager af99d82411 Modify OSX related files due to reflect changes in wgl version. Add additional methods. 2007-10-18 02:31:28 +00:00
David Rose df36a1791a tighten up parabola collisions 2007-10-17 20:52:56 +00:00
Zachary Pavlov d84feaf51f removed fluid capping 2007-10-17 18:11:00 +00:00
David Rose 3f4d1aada2 whoops, logic error in clipping parabola to t1 and t2 2007-10-17 16:41:29 +00:00
David Rose e9240cfe24 whoops, logic error in clipping parabola to t1 and t2 2007-10-17 16:29:24 +00:00
David Rose b97325c1cc more fixes 2007-10-16 19:46:22 +00:00
David Rose 26a1985992 fix nearly-parallel case 2007-10-16 19:08:46 +00:00
David Rose f66069aed4 parabola collisions 2007-10-16 17:02:48 +00:00
gephilipp fb7f90626b *** empty log message *** 2007-10-15 18:09:27 +00:00
Josh Yelon 55ce340f7e Added move_pointer on raw mice 2007-10-14 23:07:37 +00:00
Josh Yelon e20aebfcaa Working on a pattern matching routine. 2007-10-14 22:49:31 +00:00
aignacio_sf f451758ce4 Add restore gamma. 2007-10-13 01:01:03 +00:00
Josh Yelon d742043ad8 New maya exporter code basically operational 2007-10-12 20:40:20 +00:00
gephilipp 344a48f43d *** empty log message *** 2007-10-12 19:33:11 +00:00
Josh Wilson 998c7017a2 adding _transform_limit to modelNodes as well 2007-10-12 19:26:21 +00:00
gephilipp 13ac52ee35 *** empty log message *** 2007-10-12 18:16:18 +00:00
David Rose d53dc11aae hacky fix for window origin problem 2007-10-12 17:30:03 +00:00
Jason Hancock f96161f01e removed gamma correction formula...not needed 2007-10-12 01:35:24 +00:00
Joe Hager 5eeb1fbbcf Modify static_set_gamma() method, due to code merge error. 2007-10-12 01:11:46 +00:00
Jason Hancock c09217cd1c correcting gamma for proper display 2007-10-12 00:15:47 +00:00
David Rose 8ba64510a3 flush _sort_seq more aggressively now 2007-10-11 17:51:20 +00:00
David Rose a45be42786 fix compilation error 2007-10-11 16:35:32 +00:00
Josh Yelon 0f7c51ec80 Removed gloss maps, added scolor and spower maps 2007-10-10 21:48:50 +00:00
gephilipp dbeb35bd5e *** empty log message *** 2007-10-10 19:34:24 +00:00
gephilipp e31bfdac43 *** empty log message *** 2007-10-10 18:56:39 +00:00
gephilipp 4ac569d2bc *** empty log message *** 2007-10-10 17:44:57 +00:00
aignacio_sf 2cf830835e Add more memory information. 2007-10-09 23:17:19 +00:00
David Rose b7a15f13c8 fix n - 1 crash 2007-10-09 19:54:22 +00:00
Josh Yelon 6f81e4850c Added support for shader-related TextureStage::Mode values 2007-10-09 19:25:08 +00:00
David Rose ce1d8ae994 fix orbiting problem 2007-10-09 18:58:06 +00:00
David Rose c103d47925 remove bogus special case 2007-10-09 04:32:22 +00:00
Zachary Pavlov 6a0d9b0a3b fluid capping options 2007-10-09 01:19:34 +00:00
Samir Naik 31fb723776 add debugging for datagramIterator AI crash 2007-10-08 21:56:03 +00:00
David Rose 81735f8dee a redirect might change the proxy requirements 2007-10-08 18:00:03 +00:00
David Rose 40314b8e1b remove burdensome spammage 2007-10-08 16:11:24 +00:00
Zachary Pavlov d740e018b5 proper panda centri right hand rule angle check 2007-10-06 01:24:44 +00:00
Josh Wilson 56394ce390 adding _transform_limit to assert when the position of the actor node exceeds an arbitrary limit 2007-10-06 00:20:16 +00:00
Zachary Pavlov a181b41465 potential angle improvement for vector to vector checks) 2007-10-04 04:38:49 +00:00
David Rose 1b389acabc squelch compiler warning 2007-10-04 00:42:04 +00:00
David Rose 5f87b7e40f more minor cookie issues 2007-10-04 00:23:55 +00:00
David Rose 3e4e3248e7 change order of thread cleanup to avoid python crash 2007-10-03 23:33:49 +00:00
David Rose 203c39ab7a minor cookie domain issue 2007-10-03 22:45:30 +00:00
David Rose 7c9997118c support common transforming of shared PartBundles 2007-10-03 21:14:33 +00:00
gephilipp fb787d8e34 *** empty log message *** 2007-10-03 19:49:00 +00:00
David Rose 09b33eb150 self-signed ssl warning, copy cookies 2007-10-02 23:40:40 +00:00
David Rose 265ec8fcab use PyGILState when real threading in use 2007-10-02 22:33:18 +00:00
David Rose 00c57128bb fix backwards logic 2007-10-02 18:26:04 +00:00
Josh Yelon 6137de1f17 Fixed a minor bug in avcodec_close 2007-10-02 17:17:48 +00:00
Josh Yelon 3af4f36127 Fixed a compile bug 2007-10-02 05:34:41 +00:00
Zachary Pavlov de6920d9aa safety checks for the sprite particle renderer. These are nice for opt 4 builds 2007-10-02 00:24:08 +00:00
David Rose a1dc378949 new interface 2007-10-01 21:49:29 +00:00
David Rose 02565158dc fix inlines 2007-10-01 21:39:12 +00:00
David Rose 2b53c7df68 remove reliance on non-standard macros 2007-10-01 21:32:37 +00:00
Josh Yelon 3ccb93583f Fixed the double in mouseData 2007-10-01 20:04:34 +00:00
Josh Yelon 942769b672 Improvements to mouse-trail tracking 2007-10-01 19:47:19 +00:00
David Rose fcb83a251e add osx-disable-event-loop 2007-10-01 17:34:53 +00:00
Josh Yelon 5abebf3e0f More code for mouse-trail logging 2007-09-30 19:56:44 +00:00
Josh Yelon 7d50067686 Added code for mouse-trail tracking 2007-09-30 19:43:50 +00:00
Josh Yelon f64547dd1b Code to record a mouse trail added 2007-09-30 19:40:46 +00:00
David Rose 5393b55fac fix render order of offscreen buffers 2007-09-25 17:09:01 +00:00
David Rose 593c24dcbd protect against assertions 2007-09-25 17:08:43 +00:00
David Rose 13f053b6ce select largest available depth bits etc. 2007-09-24 23:07:07 +00:00
David Rose b085182102 info -> debug 2007-09-24 22:09:20 +00:00
David Rose d8f195bc09 hack non-const change 2007-09-24 22:04:11 +00:00
David Rose 21de5d551f make functions const 2007-09-24 21:35:22 +00:00
David Rose 3fff200524 properly respect requested framebuffer properties 2007-09-24 21:31:22 +00:00
David Rose ad14797776 debug -> spam 2007-09-24 18:42:51 +00:00
David Rose 48469532e2 more cache debugging methods 2007-09-20 18:19:38 +00:00
David Rose 420a7931a2 add set_unexpected_change 2007-09-20 18:18:26 +00:00
David Rose d4bddb4f14 fix flashing modes 2007-09-20 18:17:52 +00:00
David Rose 9de1a052ad build on osx 2007-09-20 18:17:11 +00:00
David Rose 728ad3922a fix comment 2007-09-20 16:26:13 +00:00
Josh Yelon 14b7dd6d25 Adding pointer events (ie, mouse movement) 2007-09-19 21:06:35 +00:00
David Rose 5e149d9694 a few more nan asserts 2007-09-19 20:26:39 +00:00
Josh Wilson 5b105d3968 adding flush() 2007-09-14 21:40:14 +00:00
David Rose b7316b8066 fix leak of removed windows and buffers 2007-09-14 18:41:20 +00:00
Darren Ranalli 3d665f61e0 spheres and tubes working with fluid pusher 2007-09-13 02:26:48 +00:00
aignacio_sf ccfffc6fdc Save and restore original gamma settings. Compute gamma relative to original gamma settings. 2007-09-12 20:56:20 +00:00
Josh Yelon 9c63234504 Modified add_local_transform to immediately update node 2007-09-12 19:56:29 +00:00
Josh Yelon 4aeba65f1a Added basic_shaders_only 2007-09-12 19:27:59 +00:00
Josh Yelon d7307dd0be Added basic_shaders_only 2007-09-12 17:39:32 +00:00
aignacio_sf 1d6233aae5 Add gamma. 2007-09-10 23:37:52 +00:00
David Rose a4adf72274 fix compilation errors 2007-09-10 20:48:02 +00:00
gephilipp cc5b1125fc *** empty log message *** 2007-09-10 19:05:04 +00:00
David Rose 17b0b4af5c attempt to use GetCurrentEventButtonState() to query button state 2007-09-07 20:45:38 +00:00
Darren Ranalli 42795391de contact_pos for collision polys, spheres and tubes, improvements to fluidpusher 2007-09-03 07:39:30 +00:00
David Rose ee32ba6668 publish EggSwitchConditionDistance 2007-09-01 22:04:30 +00:00
Darren Ranalli 69493ce8be multiple collisions working 2007-09-01 11:12:03 +00:00
Josh Yelon 1ec5c0380d Fixed excessive use of make_current 2007-09-01 03:37:09 +00:00
Darren Ranalli e4243d27d5 handle multiple collisions 2007-08-30 07:01:47 +00:00
Darren Ranalli 98807a694f about to compute position deltas using sphere 2007-08-30 04:56:01 +00:00
David Rose 409aa82ab7 lots more asserts to track nan's 2007-08-29 23:04:23 +00:00
Josh Yelon 725986da59 OpenAL includes are supposed to be in AL/* 2007-08-29 21:09:56 +00:00
Josh Yelon 820d2e3a45 OpenAL includes are supposed to be in AL/* 2007-08-29 21:04:47 +00:00
aignacio_sf 89dd1fc294 Add vendor id and device id detection. 2007-08-29 18:48:19 +00:00
aignacio_sf 4f9ca2743b Add vendor id and device id. 2007-08-29 18:47:30 +00:00
Darren Ranalli f3b30fa975 fluid pusher: bug fixes, cleaner code 2007-08-28 23:53:23 +00:00
David Rose df9506642a getDepthTest() should return 1 if there is no depth test attrib 2007-08-28 19:31:03 +00:00
David Rose 3f9ff877fd okcircular 2007-08-28 18:46:54 +00:00
David Rose 96b0687b2b depends on audio 2007-08-28 18:45:22 +00:00
David Rose f93dafdba1 compiler warning 2007-08-28 18:26:13 +00:00
Josh Yelon 06d661b62b Added set_frame_fullscreen_quad and set_uv_range(MovieTexture) 2007-08-28 16:38:21 +00:00
Josh Yelon 70e50a5ecf More improvements 2007-08-28 16:37:43 +00:00
Josh Yelon 76407e4225 Added config variable for OpenAL buffering 2007-08-28 16:30:15 +00:00
Josh Yelon 0134ba96e3 A few bugfixes 2007-08-28 16:28:58 +00:00
Josh Yelon a89589033b More improvements and bugfixes 2007-08-28 16:28:41 +00:00
Chris Brunner baea170229 also prints full screenshot path to stdout 2007-08-27 23:29:22 +00:00
Chris Brunner 986bf118d1 pview now shows the full path of screenshots 2007-08-27 23:21:42 +00:00
David Rose 69da69faa8 add floor and dupefloor 2007-08-27 23:03:13 +00:00
David Rose 6c7f697a4a fix recent performance badness in collide-with-geom case 2007-08-27 21:52:40 +00:00
David Rose 43eecb979f resolve compilation error (ambiguity between different 'entries' variables) 2007-08-27 17:20:19 +00:00
David Rose 5c327bdeff another typo 2007-08-27 16:55:54 +00:00
David Rose ba4fd40036 remove unused declaration 2007-08-27 16:46:06 +00:00
David Rose 95b6ae2892 indents 2007-08-27 16:45:42 +00:00
David Rose a3eb53c84b typo 2007-08-27 16:45:27 +00:00
David Rose f226507d34 typo 2007-08-27 16:40:20 +00:00
Darren Ranalli da78fd9940 added set_cpu_affinity 2007-08-25 23:49:59 +00:00
Darren Ranalli 905213505f removed unused variables, more debugging 2007-08-25 01:37:37 +00:00
Darren Ranalli 8d1eab02c7 working correctly for single collision solid 2007-08-25 01:21:07 +00:00
Darren Ranalli d2efe56e9b closer to working 2007-08-25 00:22:04 +00:00
Zachary Pavlov d64c2e36c0 fix that was preventing full floor meshes being created 2007-08-24 21:37:33 +00:00
Zachary Pavlov 53e49d9751 sphere collision test in for floor mesh 2007-08-24 21:36:56 +00:00
Darren Ranalli 519ae6bdac fluid pusher almost working 2007-08-24 19:23:44 +00:00
Darren Ranalli 56a1e82988 added CollisionHandlerFluidPusher 2007-08-24 19:22:25 +00:00
David Rose a589acfaf8 indenting 2007-08-24 18:12:44 +00:00
David Rose 93bfc2ea3f define AudioSound::set_time() to have effect only upon the next call to play() 2007-08-24 17:17:09 +00:00
David Rose ad2d5e3ba7 yield at least every frame in the SIMPLE_THREADS case 2007-08-24 17:16:19 +00:00
Darren Ranalli 6526d3a57a almost-complete implementation 2007-08-23 20:20:36 +00:00
David Rose 2c4f49004f fix clip plane to set_final() node 2007-08-23 18:24:45 +00:00
David Rose dce32e24e6 revert accidental checkin 2007-08-23 16:25:30 +00:00
David Rose fb973c9cfd Add LMatrix*::xform_vec_general(), fix clip plane issues 2007-08-23 16:24:49 +00:00
David Rose e07a957a74 revert accidental checkin 2007-08-23 00:24:04 +00:00
David Rose a75e578539 a node shouldn't collide with itself or with any descendants of itself 2007-08-22 22:33:14 +00:00
Josh Yelon 7778159b30 New files for DSP filter config 2007-08-22 18:01:00 +00:00
Josh Yelon 40879d8def More work on OpenAL 2007-08-22 17:28:34 +00:00
Josh Yelon 610422eac9 Redesigned DSP Filter control interface 2007-08-22 17:28:22 +00:00
Josh Yelon f46ca14f25 Redesigned DSP control interface 2007-08-22 17:27:44 +00:00
aignacio_sf 35155eae5c Always reset the device. 2007-08-21 19:39:26 +00:00
Redmond Urbino 56724b87ff Josh's better version which handles multiple keys pointing to the same data. 2007-08-21 18:36:24 +00:00
Dickinson Lo 1f37ba4d24 fix for AI freeze/crash 2007-08-21 08:23:24 +00:00
Josh Yelon de39e586ef How did this get here? Whoops. 2007-08-21 06:53:58 +00:00
Josh Yelon 1e02c06517 Major refactoring of movie code. 2007-08-20 22:34:58 +00:00
David Rose 7eb74374ac revert incorrect code from 1.3 that caused mouse buttons to get stuck 2007-08-20 18:34:59 +00:00
David Rose c6d2da38f1 build ppc 2007-08-16 20:00:20 +00:00
David Rose 352c417095 compile linux 2007-08-15 23:58:53 +00:00
David Rose 6f76b082fa can't tell my left from my right 2007-08-15 22:05:25 +00:00
Josh Yelon 39662c86e0 Added VFS support 2007-08-15 22:03:45 +00:00
David Rose 1ccd464d81 fix long, skinny polygon bug 2007-08-15 22:03:25 +00:00
David Rose 30a9478362 fix long, skinny polygon bug 2007-08-15 21:57:10 +00:00
Josh Yelon 1593012d5a Added support for seeking 2007-08-14 23:53:00 +00:00
David Rose 828d1d9bce whoops, mismatched malloc/free 2007-08-14 21:11:36 +00:00
David Rose 7eab268536 uses ffmpeg 2007-08-14 19:11:10 +00:00
Josh Yelon b1d7446c27 Getting closer to functional 2007-08-14 04:17:16 +00:00
Josh Yelon 299a3b4ae1 Added recognition of class MovieTexture 2007-08-14 04:15:37 +00:00
aignacio_sf 7c76269c9e Don't compress textures smaller than 4x4 since texture compression requires a texture size >= 4x4. 2007-08-13 19:25:02 +00:00
David Rose c86c4a7acb compile without FFMPEG 2007-08-13 16:06:07 +00:00
Josh Yelon 136882b1cd Removed class Movie 2007-08-13 06:50:04 +00:00
Josh Yelon 8317d040ae Fixed missing registration 2007-08-13 06:49:39 +00:00
Josh Yelon dfac5cacb3 Restructured to eliminate Movie class 2007-08-13 06:44:34 +00:00
Josh Yelon 8fedd869e5 Stubs 2007-08-12 17:40:43 +00:00
Josh Yelon b294026a78 inkblot Movie: a cellular automaton 2007-08-10 20:53:28 +00:00
David Rose 58834b377a fix compilation errors 2007-08-10 18:34:38 +00:00
Josh Yelon 4eb2b7e021 Added movietexture to sources.pp 2007-08-10 15:37:19 +00:00
Josh Yelon c6ed2145ee A minor fix 2007-08-10 06:12:05 +00:00
Asad M. Zaman 558999a774 from prezmek: 2007-08-10 02:41:20 +00:00
Josh Yelon 84c44e8872 More progress on Movie/MovieTexture 2007-08-10 02:27:45 +00:00
David Rose c78e9f4597 possible fixes for paranoid-clock on publish 2007-08-09 19:37:32 +00:00
David Rose fee45da2c1 fix sequential-newlines problem 2007-08-08 23:52:12 +00:00
aignacio_sf 29681b41f6 Fix always compresing textures bug. 2007-08-08 23:26:32 +00:00
David Rose 0a0c4ecf98 add setup_minimal 2007-08-08 23:01:07 +00:00
David Rose 9d61955692 fix crash without text-default-font 2007-08-08 22:53:46 +00:00
David Rose 62e24ff632 add named make_pipe() 2007-08-08 20:49:23 +00:00
David Rose 44137206a2 whoops, forgot break statements 2007-08-07 17:23:44 +00:00
David Rose d4c6ef6ea9 back-buffers 2007-08-07 05:06:23 +00:00
David Rose 47fa65c34a mesa buffers are single-buffered, and don't you forget it again 2007-08-07 03:30:40 +00:00
David Rose 1d5038e9f0 gl-max-errors 2007-08-07 03:30:25 +00:00
David Rose 1f99794cdb oops, compile when not HAVE_THREADS 2007-08-07 01:29:51 +00:00
David Rose ab3b45eb59 prevent self-deadlock 2007-08-03 23:11:52 +00:00
David Rose 9dc252a9ee contribution from kaweh: restore mousewheel support 2007-08-03 20:52:48 +00:00
Josh Yelon a90320a44b Now it compiles again 2007-08-03 19:36:23 +00:00
Josh Yelon 00893f9f14 Better API 2007-08-03 18:46:48 +00:00
David Rose 2ed0fd1abf output total mem usage 2007-08-03 18:34:53 +00:00
Josh Yelon d772b9a321 Fixed minor bug. 2007-08-03 00:26:31 +00:00
aignacio_sf 7ccd6fc78f Ignore NULL parameters. 2007-08-02 23:09:16 +00:00
Josh Yelon 32a6c8fd95 Fixes some bugs in cg parameter handling 2007-08-02 22:02:10 +00:00
David Rose de34468d87 finish callbacks 2007-08-02 21:07:02 +00:00
David Rose a44e8e3b30 fix assertion crash 2007-08-01 22:26:10 +00:00
David Rose a0fba3616f build win32 2007-08-01 20:10:10 +00:00
David Rose e6caefca84 expcl config variable 2007-08-01 20:09:48 +00:00
David Rose 15f2e539d6 miles streaming 2007-08-01 18:52:35 +00:00
David Rose 6250baff3b fix problems when state-cache 0 is defined 2007-07-31 16:20:54 +00:00
David Rose 4e39bfdf13 debugging output 2007-07-30 23:52:03 +00:00
David Rose 94bf0be822 workaround for lame gcc bug 2007-07-26 17:49:32 +00:00
David Rose dab1ce28f8 attempt to work around compiler objection 2007-07-26 15:19:13 +00:00
David Rose 7d3f612ff9 a minor optimization 2007-07-24 22:32:46 +00:00
David Rose bff1583902 fix leak, and infinite bounding line 2007-07-24 22:29:08 +00:00
David Rose 1287bcf8fa better performance analysis 2007-07-24 19:04:33 +00:00
Darren Ranalli b2e5b098c8 fluid collision fix: extend bounding spheres of fluid-moved solids to include previous position 2007-07-24 00:32:17 +00:00
David Rose accd7c847b remove trifans 2007-07-23 22:08:58 +00:00
David Rose f411404617 report redundant dups in analyze() 2007-07-23 22:02:42 +00:00
David Rose 5b19635da9 compiler warning 2007-07-23 17:53:57 +00:00
David Rose 9ffb5b84ae reorder static init timing 2007-07-23 17:36:38 +00:00
David Rose 5412780717 fix comments, reorder static init timing 2007-07-23 17:36:01 +00:00
David Rose a5ddc4961a whoops, templates shouldn't be expcled 2007-07-21 18:27:11 +00:00
David Rose 15a52aa29f SimpleHashMap 2007-07-21 00:02:14 +00:00
Zachary Pavlov 220d33e006 okay, this is going to be a big commit. The basic idea here is to add transparent defines to allow for directory based dlls later. This will let us build tau again. ugggg 2007-07-20 23:02:51 +00:00
David Rose 93f85f9ef9 simpler do_issue_clip_plane() and do_issue_light(); more pstats calipers 2007-07-19 16:16:41 +00:00
Darren Ranalli 8824ef8a0a clear stale flag in set_bounds 2007-07-19 04:31:08 +00:00
Darren Ranalli 2b79d328c0 added set_bounds 2007-07-19 03:39:42 +00:00