Commit Graph

105 Commits

Author SHA1 Message Date
David Rose c707de0661 add add_sub_image() 2012-05-01 17:12:20 +00:00
David Rose 81384baf08 don't write blue images for grayscale bmp files 2012-02-03 22:58:16 +00:00
David Rose 6f88d641bf PNMImage::reverse_rows() 2012-01-19 18:22:22 +00:00
David Rose faf7af4b67 tag long-running function with BLOCKING 2012-01-05 02:43:45 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
David Rose 003aa9e3dd PNMImage::gamma_correct() 2011-11-05 01:37:36 +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 278bc55d62 a couple more writable-vfs migrations 2011-09-17 00:40:29 +00:00
David Rose 5f42b92027 filename extension check should be case-insensitive 2011-03-14 20:09:06 +00:00
rdb 804a72b716 Partially apply typo fix patch I found somewhere on the web, by someone named Christoph Korn 2010-11-16 08:58:45 +00:00
rdb 3a6e008f72 Better solution to subzero clamping problem 2010-10-31 13:32:35 +00:00
rdb 44bf0582cf fix image -= colour 2010-10-31 13:23:00 +00:00
Chris Brunner 547a72053c support for #ifdef WIN64_VC instead of just #ifdev WIN32_VC alone 2010-05-28 21:09:22 +00:00
rdb a617a5cb97 Add get_average_xel, get_average_xel_a, get_average_gray 2010-05-17 13:11:43 +00:00
rdb 76f2f2b0ba Add unary complement operator to PNMImage (ability to do ~image) 2010-05-16 09:46:19 +00:00
rdb 1a7653d146 Ability to add, subtract, multiply PNMImages with each other or with a constant 2010-05-15 08:44:18 +00:00
rdb 609a328946 Add PNMImage::perlin_noise_fill 2010-05-08 14:49:41 +00:00
David Rose 9ec2028de5 compiler warnings 2009-12-30 19:22:34 +00:00
David Rose 11895d990a more general threshold() 2009-12-16 13:25:49 +00:00
David Rose 849dc8cccb add PNMImage::threshold() 2009-12-16 06:57:52 +00:00
David Rose 5b92b341b6 fix roundoff error in fill() 2009-11-18 22:55:52 +00:00
David Rose b1e21add06 win32 2009-11-09 18:28:18 +00:00
David Rose 53486852f4 compare_to 2009-11-09 16:49:55 +00:00
David Rose a789df141d histogram stuff 2009-11-09 01:11:37 +00:00
David Rose 340aafea67 add copy_channel 2009-11-08 03:11:32 +00:00
David Rose 7ae0c8c305 a few assertion checks 2009-10-15 19:49:15 +00:00
David Rose 935a432b4b whoops, static init issues 2009-04-30 23:46:41 +00:00
David Rose 73d6e8c6d1 debug output 2009-04-30 18:21:06 +00:00
David Rose 923c9929a1 a few more warning squelches 2009-02-19 00:23:08 +00:00
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