246 Commits

Author SHA1 Message Date
rdb
340169c80c Add load_sub_image 2014-09-13 19:49:17 +00:00
rdb
29cfc2b778 Correct CPU mipmap generation for sRGB textures 2014-07-19 16:47:57 +00:00
rdb
b60fce49b5 Support generating mipmaps for 32-bit float textures 2014-07-18 18:23:29 +00:00
rdb
dda0d9c15f check in 32-bit float texture formats 2014-07-07 19:49:25 +00:00
rdb
0e1f261ca5 Add F_r32i texture format (useful for atomic image writes from shaders) 2014-07-03 17:39:53 +00:00
rdb
601922e49e sRGB texture support, add floating-point flags to FrameBufferProperties 2014-06-19 19:32:03 +00:00
David Rose
741203a693 some minor debug aids and robustness additions 2013-12-06 20:53:40 +00:00
David Rose
fee446f949 add Texture::ensure_loader_type() to fix problem with reloading video textures from the model-cache directory. 2013-09-24 19:19:02 +00:00
rdb
64c598abb1 various fixes for FBOs and image formats, including tobspr's patch for F_r16, F_rg16, F_rgb16 support. 2013-09-17 22:08:31 +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
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
David Rose
0d7b4c1b26 whoops, missed a commit 2013-05-04 00:02:06 +00:00
David Rose
0d43ab3c75 read broken dds files with NumLevels 0 2012-12-08 00:49:07 +00:00
David Rose
2ff43ca88e some more texture/pfm integration 2012-08-12 17:56:56 +00:00
David Rose
7ba693137c integrate PfmFile with PNMImage, Texture 2012-08-12 15:49:08 +00:00
David Rose
61ceee2e73 fix crash with bam version upgrade 2012-06-21 20:06:28 +00:00
rdb
5ba7076808 apply patch in bug LP#1009593 and up bam version 2012-06-11 15:03:41 +00:00
David Rose
78e72288ad improve rescale_texture() and consider_rescale() when loading texture from in-memory PNMImage 2012-05-10 13:46:08 +00:00
David Rose
95c7d74a4d fix textures-auto-power-2 2012-03-05 19:14:00 +00:00
David Rose
8a6c221d94 minor cut&paste error 2012-02-04 01:17:25 +00:00
David Rose
deb8a56b8a record Texture::pad_size in bam cache too 2012-01-22 21:19:59 +00:00
David Rose
00a012ef13 fix old bam loading 2012-01-09 19:02:45 +00:00
David Rose
3d89cef544 Add Texture::set_auto_texture_scale() 2011-11-28 21:42:44 +00:00
David Rose
1ead653ce5 don't lose alpha format when bouncing through texture cache 2011-11-18 23:35:31 +00:00
David Rose
501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose
9e22c72bf3 finally, pipelined textures 2011-10-08 21:04:05 +00:00
David Rose
278bc55d62 a couple more writable-vfs migrations 2011-09-17 00:40:29 +00:00
David Rose
6872488839 stereo/multiview textures 2011-08-08 18:55:26 +00:00
rdb
02cd936e73 bit more tolerant in reading mode strings, for the sake of reading collada texture formats 2011-07-01 15:27:09 +00:00
David Rose
c4cdae59e0 fix problem with cached movie textures and textures-power-2 2011-06-30 00:02:08 +00:00
David Rose
0cf03bc158 untabify 2011-06-29 22:09:10 +00:00
David Rose
285d70c29e support caching movie files in the model-cache-dir and in a txo file 2011-06-29 20:33:34 +00:00
David Rose
87ebb4f32c fix GeomVertexRewriter::set_row() problem with empty data; add GeomVertexReader/Writer::set_row_unsafe(); fix some compiler warnings 2011-06-17 18:57:04 +00:00
rdb
d6c9ed46a2 make_copy should be a const method 2011-06-03 16:29:13 +00:00
rdb
e461c21c56 Slight optimisation 2011-03-30 07:20:26 +00:00
David Rose
3462cbe372 fix rescale_texture bug 2011-02-28 18:10:15 +00:00
David Rose
95d9a344ae add Texture::rescale_texture() 2011-02-16 15:30:12 +00:00
David Rose
e3a3170e5b add Texture::set_ram_image_as(), Texture::string_*(), Texture::get_tex_scale() 2011-01-17 18:31:11 +00:00
David Rose
f6e2d9a387 repair OpenCVTexture (not safe for 1.7.x) 2010-10-20 16:28:26 +00:00
David Rose
02a740c143 fix cube maps in conjunection with 'preload-textures 0' and model-cache-dir 2010-06-12 21:08:13 +00:00
rdb
80dba4efd6 Preventive fixes for some unlikely memory issues 2010-06-04 08:05:49 +00:00
Mike Christel
5dfa504370 Texture arrays added to Texture class, passed to shader through setShaderInput(name, texture). A new Cg type sampler2DArray has been added to the panda3d Shader Class. 2010-04-29 14:48:44 +00:00
David Rose
30155fb72e add support for uncompressed luminance and luminance-alpha dds files 2010-04-13 17:19:18 +00:00
rdb
102b46878e More compatibility with exotic compilers (yes, I actually tried to port Panda to clang) 2010-04-07 16:59:46 +00:00
David Rose
5c1fd06799 don't double-compress images 2010-02-19 20:38:11 +00:00
David Rose
ff8d5eaf77 bug with unlock assertion 2010-01-18 23:09:07 +00:00
rdb
ded22d4fc6 Fix comment typo 2010-01-01 18:31:18 +00:00
David Rose
c9114fb40d expose consider_rescale() 2009-12-01 07:35:26 +00:00
Bei Yang
538e17d302 Fixed pointer textures to work with SIMPLE_THREADS 2009-11-23 17:38:59 +00:00
Bei Yang
129d70e265 Fixed it so pointer textures works again. Why does clear image kill it? 2009-11-12 07:11:54 +00:00