14647 Commits

Author SHA1 Message Date
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
a0ecc0d1c3 Fix bug with (or rather: without) fcollada 2008-12-28 17:21:05 +00:00
rdb
8f95e65bc0 Optimized the get_ram_image_as function more 2008-12-28 15:02:45 +00:00
rdb
094b2ab118 Added support for pkg-config 2008-12-28 13:11:39 +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
d4538bcfeb asynchronous load priorities 2008-12-24 23:45:58 +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
e570510887 remove old panda support 2008-12-24 19:22:11 +00:00
David Rose
8335c5778c getInitialValue() -> getDefaultValue() 2008-12-24 18:42:10 +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
rdb
72cf05b6b1 python-profiler is no longer a dependency 2008-12-23 08:12:20 +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
Darren Ranalli
b36dc682a3 pulled garbage collect frequency reduction code from 1_0_14 2008-12-22 21:46:00 +00:00
David Rose
aa5bebac85 defer importing ProfileSession 2008-12-22 19:17:18 +00:00
rdb
bdc229dbab Forgot FCollada on linux 2008-12-22 11:45:28 +00:00
rdb
a1a1bf69b7 Support for newer versions of FCollada 2008-12-22 11:05:59 +00:00
rdb
1101c43b01 Add FCollada 2008-12-22 07:35:15 +00:00
rdb
7e1496141f Added Collada converter 2008-12-22 07:29:11 +00:00
rdb
5616517d99 Add FCollada 2008-12-22 07:24:58 +00:00
rdb
9a8652252a Add FCollada 2008-12-22 07:19:43 +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
Darren Ranalli
0fb988e6d3 default gc to DEBUG_SAVEALL, added delOnly option to GarbageReport, to deal with garbage collect CPU spikes 2008-12-19 21:54:47 +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
David Rose
53c77b0565 *** empty log message *** 2008-12-18 22:44:44 +00:00
Asad M. Zaman
89a8c9032a controlJoints should be model nodes anyway 2008-12-18 21:44:21 +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