Commit Graph

75 Commits

Author SHA1 Message Date
David Rose b4871afe1f a little better yielding during resize texture 2008-12-31 00:03:44 +00:00
David Rose 3f591aabc8 expose xel to Python 2008-12-23 23:59:41 +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
David Rose 58e0537e3c wide interrogate improvements: sequence protocol, MAKE_SEQ, __setitem__, and parameter coercion 2008-11-07 21:12:42 +00:00
David Rose 964c76f2e0 pandaFileStream 2008-09-09 00:06:47 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +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 87a23944fb regularize StreamReader, StreamWriter, StringStream 2007-07-06 04:03:49 +00:00
David Rose a99dcb1547 StringStream 2007-07-06 00:19:56 +00:00
David Rose 385e7be325 still more meminfo fixes 2007-06-29 15:53:27 +00:00
David Rose fe97acf7cb integrate thread_yield in appropriate places 2007-06-26 13:01:16 +00:00
David Rose 3c120dc701 oops, didn't work with preload-textures 0 2007-05-16 04:56:41 +00:00
David Rose 161e2cd5b3 auto-scale textures at load time, without loading full-res and then downrezzing 2007-05-16 02:21:58 +00:00
David Rose 5153a9c4c5 make const 2007-02-16 22:37:18 +00:00
Josh Yelon fbd72a9000 Added remix_channels 2007-02-13 22:39:06 +00:00
David Rose 7732928c0e PNMPainter, PNMBrush 2007-02-02 19:49:14 +00:00
David Rose 5779007507 more memory tracking stuff 2006-11-24 22:59:44 +00:00
David Rose 79f9e04e26 print warning when file not found 2006-11-13 22:13:13 +00:00
David Rose 8a78fffd8f multithreading optimizations, tau profiler, related changes 2006-04-05 19:36:05 +00:00
Dave Schuyler 85d75121c4 image comment 2006-03-21 01:39:32 +00:00
Roger Hughston 8065be4f57 More Motion in osx Land 2006-02-10 20:13:14 +00:00
David Rose 420ab68136 implicitly decompress/compress for input/output files named .pz; also support vfs-implicit-pz. 2006-01-25 17:45:31 +00:00
David Rose 572a146c24 untabify 2006-01-13 18:38:07 +00:00
Josh Yelon 9729541f63 Added macrocomposites 2005-09-27 22:05:52 +00:00
David Rose 942f595c7f better texture filename extension error reporting 2005-09-22 14:12:27 +00:00
David Rose 292b0d1d95 (void) -> () 2005-09-06 20:16:09 +00:00
David Rose 67e3f1daa6 expose Texture::T_depth_component, sanify a few things 2005-07-23 18:03:10 +00:00
David Rose 7d8cbc7a10 straighten out some confusing texture interfaces 2005-05-02 00:29:24 +00:00
David Rose 2a39759b85 fix PandaSystem.hasSystem() etc. 2005-02-19 00:00:47 +00:00
David Rose 59ef5e9f80 minor performance tweak 2005-01-29 01:08:53 +00:00
Dave Schuyler 5cd636691f formatting 2005-01-05 04:06:39 +00:00
David Rose 51cba437b9 add PNMImage::read(istream) and write(ostream) 2004-11-26 19:36:52 +00:00
David Rose e2c525d201 publish PNMImage 2004-11-21 19:48:00 +00:00
David Rose 86b7edace2 add vfs->close_read_file() to work around compiler bug 2004-11-17 22:34:18 +00:00
David Rose f32eb1a6f8 fix compile prob on sgi 2004-03-19 02:00:48 +00:00
David Rose 6b909a2d2c fix compilation error 2004-03-19 01:52:09 +00:00
David Rose b38732a6e1 add histogram/palette options 2004-03-19 01:49:12 +00:00
David Rose c1583ac567 add is_valid 2004-03-19 01:48:50 +00:00
David Rose 0bf44b8cd5 add blend_sub_image 2004-03-17 06:55:01 +00:00
David Rose 843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
Dave Schuyler 36cf062b96 using app includes 2004-02-07 05:33:07 +00:00
Dave Schuyler f8efe985d2 changed includes to use application path 2003-10-28 06:10:41 +00:00
David Rose adffbe7add type should not necessarily inherit when we read a file 2003-04-26 15:51:19 +00:00
David Rose 53fee65d08 better asserts 2003-04-14 17:11:56 +00:00
David Rose 93b4c7e8ba expand StreamReader a bit for Python 2002-08-07 17:06:59 +00:00
David Rose a33194e89f move use_vfs to express 2002-08-06 15:10:17 +00:00
David Rose ff61d64eb3 pnmimage uses iostream instead of stdio 2002-08-05 14:56:25 +00:00
David Rose fd63bac02a win32 2002-08-04 20:58:51 +00:00
David Rose 70ab5d89b4 eliminate pnm 2002-08-04 20:53:20 +00:00
David Rose 08e1f9d255 reduce warnings 2002-05-21 20:04:34 +00:00