Commit Graph

8757 Commits

Author SHA1 Message Date
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