Commit Graph

9324 Commits

Author SHA1 Message Date
rdb e5c4c10e20 fix Linux compile error 2013-08-29 13:12:36 +00:00
David Rose 930848539c fix a NaN issue in forward_distort() 2013-08-27 23:57:21 +00:00
rdb 1b129d905d lod config vars should be defined in pgraphnodes, not pgraph 2013-08-27 21:37:10 +00:00
David Rose a16238932a looks like we had a long-term confusion for LFLAGS as a set of linker flags and as a set of flex flags. Renamed LFLAGS to FLEXFLAGS for flex input. 2013-08-26 22:44:22 +00:00
rdb fe784c04f6 fix for seeking in .wav files 2013-08-26 21:22:00 +00:00
rdb 7553c9d01a protect against static init issues 2013-08-26 20:16:08 +00:00
rdb 2510631e5b winmm.lib is needed for MicrophoneAudio 2013-08-26 18:39:13 +00:00
rdb 7346306437 Remove dependency on ATL, and add the fugliest, most horrible hack to keep using the interfaces from the defunct qedit.h header. 2013-08-26 14:33:01 +00:00
rdb bca09667a6 Split vrpn out of panda into a libp3vrpn. Split ffmpeg out of movies into libp3ffmpeg. Add registry for MovieVideo and MovieAudio. Add a libvorbisfile-based Ogg Vorbis loader. Add a native .wav loader. 2013-08-26 12:16:27 +00:00
rdb 0821026944 Add version of TrackerNode that takes a ClientTrackerDevice directly 2013-08-26 12:14:21 +00:00
rdb aa4cc5c531 Support latest version of FMOD Ex (removes reverb filter in favor of sfxreverb) 2013-08-26 09:59:28 +00:00
rdb eaab45dc9a Support for stereo FBOs 2013-08-25 19:52:31 +00:00
rdb fd3fb16ec1 Add some OSG shader inputs for GLSL 2013-08-25 19:50:08 +00:00
rdb 451f6faf37 remove now-nonexistent -i flag to linker 2013-08-25 18:43:41 +00:00
rdb 2d66cdc3ba compile fixes 2013-08-25 17:12:00 +00:00
rdb d6a6499a7a fix errors 2013-08-25 07:32:52 +00:00
rdb a585faa807 Add UvScrollNode::_w_speed 2013-08-24 19:29:13 +00:00
David Rose 93afeb40f2 By interrogate conventions, char * means a string, while unsigned char * means a data buffer. 2013-08-23 22:26:17 +00:00
David Rose b41e04dc60 useful debug 2013-08-23 21:36:51 +00:00
rdb 266890c86a Add version of extract_bytes that extracts into character buffer 2013-08-23 15:03:01 +00:00
rdb 03e96d8c4a Uff, this should bring Panda up to date with the latest version of ffmpeg. We now use AVIOContext instead of URLProtocol, avcodec_decode_audio4 instead of 3, and add support for libswresample to resample the input data to 16-bits signed int since some codecs now give float data. If this breaks anyone's build, please, just consider updating your ffmpeg version. 2013-08-22 18:20:10 +00:00
rdb ef9e2def2e A bit more work toward trying to get a framebuffer without color attachment 2013-08-15 09:06:58 +00:00
enn0x a343eef6b1 Adding minkowski sum shape. 2013-08-14 23:31:42 +00:00
rdb e3301b8896 make_texture_buffer should request color and alpha bits by default (alpha bits for backward compatibility) 2013-08-14 23:13:29 +00:00
rdb 3f56259c7f try to fix some FBO bugs on Intel HD Graphics 2013-08-14 22:51:54 +00:00
rdb 6113979792 merge from panda3d_1_8_branch: work around conflicting declarations of glShaderSource 2013-08-13 20:35:07 +00:00
rdb 2274f2e651 FBO overhaul: support layered framebuffers (RTM_bind_layered), support render-to-2d-array, better respect FrameBufferProperties, more simple handling of RTP_depth_stencil 2013-08-13 12:44:27 +00:00
rdb a6eeaf42b5 set_size_padded should not pad z for cube maps and 2d texture arrays 2013-08-12 14:29:40 +00:00
rdb 4690cb4bbf include coverage-samples in FrameBufferProperties 2013-08-12 14:28:04 +00:00
rdb d489f68115 Add support for 2D texture arrays to ShaderGenerator and BufferViewer (actual render-to-texture-array functionality to come) 2013-08-12 09:18:24 +00:00
David Rose b4a09e4296 I think the default cache size should be 10GB intead of 1GB nowadays. 2013-08-01 16:48:14 +00:00
David Rose c63fe6f56d osx build error 2013-08-01 06:43:02 +00:00
David Rose dba661253a Fix handling of large (>2GB) files on Windows. Egad, off_t is 32 bits on Windows, even in 64-bit Windows. Ridiculous. 2013-08-01 00:10:20 +00:00
rdb 9901dee2c2 support ADD_SIGNED combine mode in shader generator 2013-07-29 09:12:03 +00:00
rdb 230b65c58a fix cg shader arrays 2013-07-28 23:18:08 +00:00
rdb f23f2a0ea7 Add gl-separate-specular-color, enabled by default 2013-07-28 22:01:36 +00:00
rdb ccf4863ca1 prepare_scene() should also prepare shaders 2013-07-28 22:00:38 +00:00
enn0x 64851b9557 Added missing NULL-check in BulletsoftBodyNode::attach_angular_joint. 2013-07-06 00:27:04 +00:00
rdb 6bb87ca9c5 Avoid creating an unnecessary intermediate node when loading .egg models (see forum thread 16039) 2013-06-27 13:09:32 +00:00
rdb 872362bd3e fix bind call in more recent msvc versions 2013-06-26 15:32:20 +00:00
enn0x 0ee060aefd Added missing methods for modifying Bullet constraint frames. 2013-06-16 06:43:38 +00:00
David Rose ac3f5e924c two-parameter radius in pull_spot() 2013-06-06 21:14:12 +00:00
David Rose c277d802a0 pull_spot() 2013-06-06 02:05:35 +00:00
enn0x 3830ef2f85 Bullet: getTotalForce/Torque exposed 2013-05-31 15:13:19 +00:00
David Rose 297864e834 resolve pixel-offset issues with gaussian and box filters 2013-05-30 20:32:18 +00:00
David Rose c7daa00c5b fix off-by-one on gaussian_filter and box_filter 2013-05-29 00:22:38 +00:00
David Rose 842f4d82a0 pfm-resize-quick, and let pfm-resize-gaussian default to false 2013-05-28 23:49:19 +00:00
rdb 8019297cea Make "Loading <model>" a framework_cat message 2013-05-28 18:39:28 +00:00
rdb a7b6b71faa recognise ogv as video extension 2013-05-27 10:07:12 +00:00
Chris Brunner 261a53ba06 no message 2013-05-22 23:27:30 +00:00
enn0x ca103005a5 Added method to enforce calling the transform_changed hook on bullet nodes. 2013-05-22 21:37:29 +00:00
David Rose 48c2ea92c5 Support GeomVertexFormat::remove_column(name, keep_empty_array = false) 2013-05-22 20:46:24 +00:00
rdb 412c79f147 fix erroneous INLINE modifier 2013-05-22 15:32:24 +00:00
rdb 3b33710fbf Fix BulletSoftBodyControl compilation 2013-05-22 15:08:23 +00:00
rdb 11403d7826 Fix regression from 1.18 that broke separate shader programs 2013-05-22 13:47:37 +00:00
enn0x 3a3b35e7c5 Support for driving Bullet soft body joints, and rolling friction (Bullet 2.81 only). 2013-05-22 09:51:34 +00:00
rdb a978682ed2 more compilation fixes for recent gcc 2013-05-22 09:10:22 +00:00
David Rose ef6e88c8be protect against old cg version 2013-05-20 18:24:35 +00:00
rdb 4a8970a87d fix for newer gcc versions 2013-05-19 19:06:02 +00:00
rdb 8a6db3f2ee fix missing method definitions 2013-05-18 09:44:16 +00:00
rdb da09882f67 fix for cg profile limitation on non-nvidia cards 2013-05-17 21:26:47 +00:00
enn0x a2a0b485ac Bullet: experimental support for linear/angular soft body joints 2013-05-16 21:23:34 +00:00
David Rose 7e645bdca6 officially support 2-channel PfmFile; load pfm into RGB, not BGR for texture loads 2013-05-10 17:28:34 +00:00
enn0x 20d60f2126 Removing obsolete bullet-full-sync option. 2013-05-06 12:37:54 +00:00
enn0x ae4b5c0f33 A little bit inline documentation, for local scaling of Bullet shapes. 2013-05-06 12:19:10 +00:00
enn0x ba56763212 Another fix for local scaling in Bullet shapes. 2013-05-06 00:39:30 +00:00
David Rose e0d23cd027 assertion error 2013-05-04 14:16:38 +00:00
David Rose 96b048519e stdfloat_double issue 2013-05-04 03:02:06 +00:00
David Rose 74621e39b6 stdfloat_double issue 2013-05-04 02:53:10 +00:00
David Rose 0d7b4c1b26 whoops, missed a commit 2013-05-04 00:02:06 +00:00
David Rose a38de91fbd PfmFile::set_no_data_nan() and related methods 2013-05-03 18:05:05 +00:00
David Rose 1885ccdb97 PfmVizzer::set_keep_beyond_lens(), and some bugfixes 2013-05-02 23:17:00 +00:00
enn0x 468ddb3528 Fix which allows setting scale on a Bullet rigid body before any shape is added. 2013-05-01 21:15:43 +00:00
enn0x 4a8e14bfbd Fix for repeatedly scaling shapes. 2013-05-01 21:00:47 +00:00
enn0x 5249e8ba4b Tiny cleanup with Bullet/SceneGraph sync. 2013-05-01 20:28:23 +00:00
enn0x 0f22583ba5 Fixed buggy scaling for multi-shape bodies. 2013-05-01 20:18:23 +00:00
rdb 61a95917a8 fix copy&paste error 2013-04-30 19:18:30 +00:00
rdb 45a71c280f Add get_cvs and get_knots 2013-04-25 17:44:03 +00:00
David Rose 5d2b7bc5ea fix some minor bugs in PfmFile::resize(), add config variable quality controls 2013-04-20 00:43:24 +00:00
David Rose cbb55d02e6 minor fix to PfmVizzer::project() 2013-04-19 21:09:30 +00:00
David Rose 335c80f8ac fix bug in GeomVertexData::unclean_set_format() 2013-04-18 23:45:10 +00:00
David Rose 0e41e68d31 fix PfmFile::reverse_distort() 2013-04-15 23:35:13 +00:00
enn0x 1a81d09078 Added missing export defs for some Bullet classes. 2013-04-13 07:07:39 +00:00
David Rose 56afff435c small pfm fixes 2013-04-12 01:10:39 +00:00
David Rose a99e543f05 wip: PfmFile::calc_bilinear_point() 2013-04-11 17:24:32 +00:00
David Rose a515048908 add undist_lut to ProjectionScreen, PfmVizzer 2013-04-11 14:41:46 +00:00
David Rose abf29fa3fe fix static text in y-up (or other non-default) coordinate system 2013-04-10 21:33:01 +00:00
David Rose d3a295623e Lens::set_custom_film_mat() 2013-04-09 01:38:22 +00:00
enn0x 830fbcde1f Fixed copy&past error in Bullet spherical constraint (detected by consultit). 2013-04-07 12:14:46 +00:00
rdb 1d25aefd0b Slight performance enhancement under OpenGL ES 2 2013-04-06 23:11:45 +00:00
David Rose 4f50f8de90 PfmVizzer::make_vis_mesh_geom() should not try to add points behind the lens 2013-04-06 01:12:31 +00:00
enn0x 0a09dad23a Alternate CTOR for BulletHingeConstraint 2013-04-04 20:30:10 +00:00
rdb ab709b528b fix GL_BGRA error 2013-03-28 23:24:11 +00:00
rdb fbc37338e4 fix compilation issues 2013-03-28 22:58:41 +00:00
enn0x 0dd50f1d5a Add warning for unsupported collision solid 'box' when saving to egg file (same as for 'sphere' etc.) 2013-03-28 22:05:14 +00:00
enn0x a6bdde5f26 Load CollisionBox from egg files 2013-03-28 21:04:03 +00:00
rdb c4c97c3571 fix GL_BGRA error on gles 2 2013-03-28 15:41:25 +00:00
David Rose a27908a7e8 restore implicit coercion of Python objects into CPTA 2013-03-27 19:40:47 +00:00
David Rose e36dee223a minor debug aids 2013-03-27 16:51:09 +00:00
rdb 40cddd6280 Fixes for Python 3.2 2013-03-27 15:48:24 +00:00
enn0x 6bb5fdc5e0 Support for Bullet v2.81 2013-03-26 09:35:30 +00:00
enn0x 9946d7803a Bullet KCC: amended deg_to_rad in transform_changed. 2013-03-25 01:52:17 +00:00
David Rose c50dcd9195 get_mac_address() 2013-03-22 21:36:40 +00:00
David Rose bb6f151ea7 fix crash with transform-cache 0 2013-03-15 14:27:28 +00:00
David Rose 517ab5d56f properly filter disconnected interfaces on win32 2013-03-14 18:59:53 +00:00
David Rose f229da5468 build on Cg versions prior to 2.2 2013-03-14 18:57:07 +00:00
David Rose ac9def42f6 stupid win32 namespace collision 2013-03-14 17:15:33 +00:00
David Rose 89543ada42 get_interfaces() for win32 2013-03-14 16:30:04 +00:00
David Rose d51a48acca work in progress: get_interfaces() 2013-03-14 13:27:51 +00:00
rdb b7be283ce9 back out change that may be breaking things 2013-03-13 23:04:40 +00:00
rdb 8ef24aa846 clean up shader code, add more debugging info, make shaders writable 2013-03-13 09:47:37 +00:00
rdb 962ff28af0 update esglext.h 2013-03-11 19:31:22 +00:00
rdb 27c982e764 update esgl2ext.h file 2013-03-11 19:30:55 +00:00
rdb 400f22693a don't crash when X11 display is missing 2013-03-10 14:09:12 +00:00
rdb 67fda9f0c1 Add LightLensNode::get_shadow_buffer 2013-03-07 13:29:15 +00:00
rdb 807b855632 Fix bug with Cg textures being assigned incorrectly in first frame (see forum thread 15614) 2013-03-07 08:53:26 +00:00
rdb 9866d2d69f Fix shift modifier (keys were sent as shift-A instead of shift-a) and add some more key input debug info 2013-03-06 22:10:04 +00:00
David Rose 531c5907fc fill_distance_inside(), fill_distance_outside() 2013-03-06 22:09:59 +00:00
David Rose 1f309fede5 support greater variety of maxvals when writing png 2013-03-06 22:09:33 +00:00
David Rose d52335621b More pfm enhancements 2013-03-06 02:41:40 +00:00
enn0x 65b698217f Added angular/linear motors for 6DOF constraint. 2013-03-03 22:29:11 +00:00
enn0x f3b4ba8fc8 Added method to retrieve debug node from bullet world. 2013-02-25 20:41:43 +00:00
rdb 21472cda9b Fix GLSL bugs with passing Vec2 and Vec3 2013-02-23 10:55:43 +00:00
David Rose d52e2a9ea9 support UDP broadcast 2013-02-21 17:33:51 +00:00
rdb d4098452e9 forgot to commit this fix 2013-02-19 11:41:42 +00:00
rdb 234619864b Compile with Python 2 2013-02-18 12:59:44 +00:00
rdb 5846d8d8c4 Commit patch from Josh Enes (see LP bug #1027758) 2013-02-17 21:36:05 +00:00
rdb 192d10b937 Experimental Python 3 support to the C++ code including interrogate. Also adds support for rich comparison in interrogate. 2013-02-16 19:22:26 +00:00
rdb d521615f3d fix missing symbol when trying to compile with both HAVE_CARBON and HAVE_COCOA 2013-02-13 15:16:51 +00:00
rdb 645ee9d05f fix compile error on tiger 2013-02-12 15:51:16 +00:00
rdb 6fde10f9d1 write render state info to generated shader as comment. also fix a switch with missing breaks 2013-02-12 15:28:17 +00:00
rdb f9b4dad6f9 Eye normals weren't being normalised when lighting was disabled 2013-02-12 14:30:38 +00:00
enn0x 55b7f59509 Added support for breakable constraints. 2013-02-07 20:57:25 +00:00
rdb 65e555543a fix compile error 2013-02-07 20:37:49 +00:00
rdb b099a82224 fix compile warning 2013-02-07 15:36:24 +00:00
rdb 498badb726 fix CGprofile cast 2013-02-06 08:25:10 +00:00
rdb 6c52484f05 fix compilation for older Cg versions 2013-02-05 22:55:41 +00:00
rdb b04f8a5db8 Add x-wm-class and x-wm-class-name configuration variables (closes LP bug 1075555) 2013-02-05 19:45:13 +00:00
rdb 1b76a13784 detect SM4 and SM5 2013-02-05 12:08:58 +00:00
enn0x 8848966298 Adding helper method for tracking dirty state of BulletRigidBodyNodes. 2013-01-31 11:51:47 +00:00
Przemyslaw Iwanowski ef0545ba41 fixed identifier name 2013-01-30 19:40:28 +00:00
Przemyslaw Iwanowski 2725a289be double declaration fixed 2013-01-30 19:38:40 +00:00
Przemyslaw Iwanowski 609d274573 set_wavoutput added to set writing audio out to a wav file 2013-01-30 19:34:56 +00:00
rdb dbbf6ef012 fix gles compilation again 2013-01-30 17:26:44 +00:00
rdb 31b9233ec6 Fix compilation with OpenGL ES 2013-01-30 11:49:58 +00:00
enn0x 927c9b8c47 Don't use Mac file format. 2013-01-29 21:37:54 +00:00
rdb 8e4f43ea34 fix gles 2 compilation error 2013-01-29 18:29:19 +00:00
rdb 731d6197d9 fix compilation errors 2013-01-29 17:47:18 +00:00
rdb 78c982f0c0 Detect whether the OpenGL implementation is software or handware by looking for "PixelFlinger" in GL_RENDERER 2013-01-26 20:33:40 +00:00
David Rose cdbd54c9be PfmFile::box_filter() etc., improved forward_distort(). 2013-01-26 00:24:47 +00:00
rdb bc85e1a4f2 More android support 2013-01-24 20:17:08 +00:00
rdb 0631441b20 Android support, part 2 (display module) 2013-01-24 18:19:54 +00:00
rdb 0303166a35 Some ARToolKit bugfixes and cleanup (makes it work on Mac OS X) 2013-01-19 19:32:51 +00:00
rdb 29871ed63a fix crash on android 2013-01-13 14:49:30 +00:00
rdb 8b40d8f83c fix compiler warning 2013-01-13 14:48:05 +00:00
David Rose de10a2ae4e more bitdepth fixes 2013-01-11 21:01:49 +00:00
David Rose ab40d5456e properly deal with animated vertices in make_flat_mesh() 2013-01-11 17:43:18 +00:00
David Rose 93bd44e85e fix confusion with depth range of Lens::project() 2013-01-11 02:26:36 +00:00
David Rose 6a1beaf609 try to report the correct number of depth bits 2013-01-11 02:26:10 +00:00
rdb b3b306bdc9 egldisplay currently requires X11 2013-01-10 12:24:16 +00:00
David Rose eefb99cbc5 define Lens::extrude_depth() to reverse Lens::project(), and use this in PfmVizzer 2013-01-10 02:01:39 +00:00
David Rose 8dff4f69e5 GeomVertexData::unclean_set_format() and related methods 2013-01-08 00:19:35 +00:00
rdb 6d835868c1 fix incorrect integral type 2013-01-07 20:13:35 +00:00
rdb 7a9e94cac9 fix some cases of 'return false' in functions returning a pointer or integer 2013-01-07 20:13:06 +00:00
rdb 32a47094d7 small compile fix 2013-01-04 12:05:50 +00:00
David Rose b3b2308c6c load obj files directly into PandaNodes for performance 2013-01-04 00:35:42 +00:00
rdb 6f987a585d fix some deprecated function calls, partly based on patch from plaristotle 2013-01-03 19:58:02 +00:00
rdb efe1285e88 Fix the other case of avformat_open_input too 2013-01-02 20:51:16 +00:00
rdb 557257f4b8 support even older versions of ffmpeg 2012-12-31 19:26:23 +00:00
rdb 8ce7ef28d8 Fallback case for avformat_open_input 2012-12-29 20:07:58 +00:00
rdb 1d21ad016e Another deprecated function 2012-12-28 18:11:47 +00:00
rdb 5a4eff9759 New ffmpeg function 2012-12-28 18:05:31 +00:00
rdb 86d32bee63 There's no need to relink the program now that we're no longer use glBindAttribLocation 2012-12-20 18:40:42 +00:00
rdb 052bf2b2bb _glsl_parameter_map has moved to GLShaderContext 2012-12-20 16:21:54 +00:00
rdb ccb80d7837 error message should really be debug message 2012-12-20 16:18:24 +00:00
rdb c7976e945d Fix various GLSL bugs: attributes, p3d_Color range, and missing MatrixInverseTranspose stuff 2012-12-20 16:01:41 +00:00
David Rose 3af8da3bcd loader.saveModel(), EggToObjConverter, etc. 2012-12-20 00:09:14 +00:00
rdb a02e494ae3 Patch by Josh Enes to fix LP bug 1089245 2012-12-12 08:24:03 +00:00
enn0x ea1a39d123 Bullet: better performance for rigid body scene graph sync 2012-12-10 21:34:30 +00:00
David Rose 0d43ab3c75 read broken dds files with NumLevels 0 2012-12-08 00:49:07 +00:00
rdb 8c83ab08f4 Add get_tag_keys / get_python_tag_keys (based on patch by Josh Enes) 2012-12-02 12:21:17 +00:00
enn0x b309198210 PhysX: adding controller report callbacks. 2012-11-27 23:32:59 +00:00
enn0x 70cea909c5 Bullet: added tick callback, and filter callback now uses CallbackObject. 2012-11-26 22:49:36 +00:00
enn0x 8d66921d79 Bullet: contact added callback 2012-11-24 22:29:00 +00:00
enn0x a762ee42f4 Exposed additional member of btManifoldPoint 2012-11-20 22:53:50 +00:00
David Rose 3b8025c54c whups, typo 2012-11-20 21:41:32 +00:00
David Rose 6f248198e7 clip to bounds in make_displacement() 2012-11-20 19:36:08 +00:00
David Rose b16e829044 mult_sub_image() 2012-11-20 19:33:56 +00:00
David Rose 779fceafdd make_callback_gsg() 2012-11-20 12:11:14 +00:00
David Rose 1733b1abd9 ae-undershift-factor 2012-11-20 00:32:43 +00:00
David Rose 85014ba179 fix some off-by-one errors 2012-11-19 23:06:41 +00:00
Zhao Huang 3d05d84d87 Added support for shorthand shaderinput lexicons like mspos_camshadow and
trans_model_to_clip_of_camshadow to GLSL.
2012-11-13 02:45:44 +00:00
rdb 4166327919 Fix some special keys, specifically backspace (it was mismapped to delete) 2012-11-08 13:35:48 +00:00
David Rose 267e02c3d3 PfmFile::store_mask() 2012-11-07 19:08:32 +00:00
rdb 4017e1897d Backport to work on Leopard as well 2012-11-04 13:56:09 +00:00
David Rose 5c644b7543 compile with STDFLOAT_DOUBLE 2012-11-03 19:42:28 +00:00
rdb 68863d5c14 fix GLSL 2012-11-03 13:50:32 +00:00
rdb 6a98f97c9b support pre-10.6 OSX 2012-11-03 13:39:53 +00:00
David Rose 7299a150c3 raise precision of 16-bit image processing 2012-11-02 01:14:51 +00:00
David Rose 94bf21b65c make_displacement() 2012-11-01 20:23:15 +00:00
rdb 21c922c7cd Some fixes for ppremake+bullet 2012-10-25 22:03:04 +00:00
rdb c7c5671911 0 -> NULL 2012-10-25 08:56:22 +00:00
rdb de2d36f073 Change ClockObject to a regular pointer, to avoid static init issues 2012-10-25 08:54:49 +00:00
rdb 793665d2a6 Fix Cg include 2012-10-25 08:53:59 +00:00
rdb b2dcde40c7 Apply patch by Josh Enes 2012-10-22 10:11:40 +00:00
rdb 3f4195616a Apply patch to fix bug 1013419 2012-10-22 08:21:48 +00:00
rdb 19cb1e5230 Commit Camera::set_lod_scale patch by Josh Enes 2012-10-19 15:25:48 +00:00
enn0x 7fef72afee Undo Bullet double define, see https://www.panda3d.org/forums/viewtopic.php?p=88420#88420 2012-10-14 11:39:30 +00:00
rdb 6b0bf98d0e fix some minor bugs, and remove unsupported double-precision glUniform functions 2012-10-12 17:12:32 +00:00
rdb 879540aec4 Fix incorrect centering formula 2012-10-10 07:41:07 +00:00
enn0x 5d6d2d850c bullet with double precision 2012-10-05 20:57:20 +00:00
rdb b53de998c9 Fix compile error introduced by zhaohuang's commit 2012-10-03 20:08:15 +00:00
David Rose a098df8670 fix win32 link issue 2012-10-01 17:59:36 +00:00
Zhao Huang bc900d2555 In Rev 1.130 of GraphicsOut.cxx by drwr, the query for render-to-texture support is no longer made to the gsg directly at line 368, but is instead routed through an internal GraphicsOut.get_supports_render_texture() which defaults to false. In the wgl path, the derived wglGraphicsBuffer supplies its own get_supports_render_texture() that queries the gsg. The DirectX equivalent classes do not supply an overriding get_supports_render_texture() and so fails everytime when trying to render_to_texture.
Hence, why distortion the sample is failing under Dx9.

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

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

Thanks to Jonah (11thpenguin) for pointing these mistakes out.
2012-10-01 03:21:23 +00:00
David Rose 8e3e89b5b3 fix build circularity issue 2012-10-01 00:40:56 +00:00
enn0x 62ffe69dbc Providing a single method for attaching/removing objects from a world. 2012-09-28 20:47:15 +00:00
enn0x 526159f961 A few asserts for better error localisation. 2012-09-28 20:20:05 +00:00
David Rose 0fa4376f8a pnmImage::flip() 2012-09-26 21:55:43 +00:00
David Rose 306bb1ff42 add set_vis_blend() 2012-09-26 17:44:45 +00:00
David Rose 7c830b277f forward_distort, reverse_distort 2012-09-22 00:48:31 +00:00
David Rose f0c6f3fb45 fix PfmFile::extrude() 2012-09-21 21:36:35 +00:00
David Rose 3df5abf110 fix stdfloat_double goof 2012-09-20 19:04:25 +00:00
David Rose 22534c9a07 wip: extrude() 2012-09-20 00:43:33 +00:00
David Rose c4154ab908 fix bug with PfmFile::flip() 2012-09-14 22:22:39 +00:00
David Rose 449554465d fix bug with vis_inverse() and vis_2d() 2012-09-12 19:33:18 +00:00
David Rose ede16a5287 fix Thread::force_yield() on win7 2012-09-07 16:35:24 +00:00
David Rose 3a6c7cc376 build issue when openssl is not available 2012-08-31 22:19:11 +00:00
David Rose 54a29d5ece fix assertion failures 2012-08-22 02:09:23 +00:00
rdb 33d494d0f4 make AsyncTaskManager::_global_ptr an ordinary pointer to prevent static init issues with PandaFramework 2012-08-15 10:55:40 +00:00
David Rose e5bed7767e LR_DEFAULTSIZE 2012-08-13 23:44:04 +00:00
David Rose ab5a3b2f09 openssl build issue 2012-08-13 22:14:09 +00:00
David Rose 2ff43ca88e some more texture/pfm integration 2012-08-12 17:56:56 +00:00
David Rose 7ba693137c integrate PfmFile with PNMImage, Texture 2012-08-12 15:49:08 +00:00
David Rose 0f1098c1ae move PfmFile to pnmimage 2012-08-11 14:28:56 +00:00
David Rose 5a9cb3f934 revert fiddly change: bad idea. 2012-08-10 18:08:31 +00:00
David Rose 908feb7631 fiddly change to pixel offsets 2012-08-09 23:32:19 +00:00
David Rose 38e4d64f22 add set_texcoord_3d 2012-08-09 05:55:24 +00:00
David Rose 9ae0dd8cca correct matrix for 3-d uvs 2012-08-09 05:27:59 +00:00
rdb 3d68b34f9a forgot this change earlier 2012-08-08 16:35:31 +00:00
rdb 109bb61252 remove stepfast1 stuff to support more recent versions of ODE 2012-08-08 16:33:44 +00:00
David Rose 8b53d19a68 fix issue with rgb + alpha movie textures 2012-08-07 19:25:03 +00:00
rdb 30872b617e somewhat experimental support for 64-bits OS X and OS X Lion 2012-08-06 09:57:34 +00:00
David Rose 37cd123d37 PNMImage::rescale() 2012-08-04 17:13:12 +00:00
rdb 1f0304c696 new Cocoa graphics pipe is now fully functional 2012-08-03 12:14:04 +00:00
rdb dcdc6d9877 mouse coordinates are now stored as doubles, not ints 2012-08-03 12:00:08 +00:00
rdb 1f20cfe19c initialise pystub correctly 2012-08-03 09:40:40 +00:00
David Rose 15b55b2183 animate normals in blendshapes too 2012-07-31 02:46:07 +00:00
David Rose 3ce560b4a9 more pfm refinements 2012-07-26 22:22:59 +00:00
David Rose e2066b62ff wip: add_vis_column() 2012-07-26 02:23:26 +00:00
David Rose d459a084b4 more pfm fixes 2012-07-24 20:50:36 +00:00
David Rose 7fd2a81412 resolve some float-double confusion 2012-07-24 13:09:22 +00:00
David Rose 5eef6cd37e fix some stdfloat_double issues with pfmfile 2012-07-23 04:34:40 +00:00
David Rose 8cc85e4024 support for 4-channel pfm files 2012-07-23 02:10:21 +00:00
David Rose bd6100bcab more low-level pnmimage accessors 2012-07-23 02:09:46 +00:00
enn0x b7eb296cff Support for optional TransformState when adding a Geom to a triangle mesh or convex mesh. 2012-07-10 22:22:59 +00:00
rdb 248e4f2672 add fmod-speaker-mode variable 2012-07-09 13:59:18 +00:00
David Rose bf03940bcb opencv 2.3 2012-07-08 20:04:33 +00:00
rdb 83ffe90202 fix compiler dumbness 2012-07-08 13:37:27 +00:00
rdb 8660443235 remove _physical_node_path entirely on trunk 2012-07-07 19:01:17 +00:00
rdb ece7ed20e1 remove circular reference in Physical::_physical_node_path. 2012-07-07 18:59:23 +00:00
rdb 3ddad3e2d2 let the empty bitmask evaluate to False in Python 2012-07-01 15:23:34 +00:00
rdb b83c81bee4 fix crash when xrandr is not used 2012-07-01 15:20:24 +00:00
David Rose 7aa44fe7e3 add scale-by-color 2012-06-29 13:55:23 +00:00
David Rose 68de528a0f pfm crop 2012-06-27 06:21:04 +00:00
David Rose c2fb0e11a9 revert accidental debug checkin 2012-06-25 22:12:39 +00:00
David Rose 1bd2db3b20 minor refcounting issue 2012-06-22 00:30:12 +00:00
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