14666 Commits

Author SHA1 Message Date
rdb
82fccf788d Suggestion from Nemesis13 2009-01-07 17:49:14 +00:00
Zachary Pavlov
7a052ec814 it can't be this easy, can it? 2009-01-07 04:43:17 +00:00
David Rose
6203d9e7d1 protect include under HAVE_FCOLLADA 2009-01-06 20:52:24 +00:00
rdb
40aad1a910 FCollada changes to ptloader 2009-01-06 18:46:11 +00:00
rdb
ecb6b7f507 Made comment less confusing, suggestion from _Hypnos 2009-01-06 17:21:47 +00:00
rdb
724304069c Updated script with links to manual 2009-01-02 19:51:30 +00:00
rdb
353adc8b45 Smarter version detection 2009-01-02 19:36:58 +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
Darren Ranalli
5d256052e6 added record-functor-creation-stacks config 2008-12-31 01:53:01 +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
347216a3ac Fix couple of stuff 2008-12-29 15:45:17 +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
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