Commit Graph

752 Commits

Author SHA1 Message Date
rdb ffb3eb80ae better debug output 2011-05-04 10:42:40 +00:00
David Rose 337a09552f fix typos with paren grouping 2011-05-03 00:08:48 +00:00
rdb e461c21c56 Slight optimisation 2011-03-30 07:20:26 +00:00
David Rose cea91656ea fix bug with two-parameter set_fov() 2011-03-22 00:34:42 +00:00
David Rose 372532346e GeomVertexData::reserve_num_rows() and related changes--big performance improvement, especially on Windows 2011-03-12 21:42:34 +00:00
rdb 6fbdca0c96 Experimental texture compression with OpenGL ES 2011-03-01 19:20:32 +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
rdb 04be70338a ugly fix for older versions of Cg 2011-01-13 17:14:22 +00:00
rdb 263588716e Add back support for shadow mapping, that CMU students removed 2011-01-13 12:10:09 +00:00
rdb dd652284a4 sm5 geometry programs 2010-12-07 21:27:29 +00:00
rdb f15b0bed01 support generation 5 gpu programs 2010-12-07 21:04:16 +00:00
rdb 59bc70bd4b GeomVertexFormat.getColumns 2010-11-03 14:51:20 +00:00
David Rose f6e2d9a387 repair OpenCVTexture (not safe for 1.7.x) 2010-10-20 16:28:26 +00:00
David Rose 64300e32bc add describe_vertex() 2010-08-25 19:11:08 +00:00
David Rose 27a65375d0 fix comment 2010-08-18 21:34:59 +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
David Rose 9d14c7867b allow far plane to go further out 2010-06-08 22:49:44 +00:00
rdb 80dba4efd6 Preventive fixes for some unlikely memory issues 2010-06-04 08:05:49 +00:00
David Rose bc0529fce2 fix bug with set_subdata 2010-05-31 18:51:42 +00:00
David Rose 9d62ca9f98 one override per TextureStage, instead of a global override per TextureAttrib 2010-05-04 22:39:40 +00:00
Mike Christel ad30e4c71f Overload improved (not optimal, but better than list of string arguments) to set_shader_auto to allow any of normal, glow, gloss, ramp, shadow to be turned on or off via bitmask 2010-05-03 16:41:16 +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
David Rose 848d439f72 compilation errors 2010-04-12 18:55:31 +00:00
rdb c9073b1d80 Put back a fix that the PandaSE team happily but accidentally reverted 2010-04-12 16:47:59 +00:00
rdb 06167a0ec7 Shouldn't do so without actually trying my fix first, though 2010-04-07 17:30:17 +00:00
rdb c700c23c28 Attempt to fix build without HAVE_CG 2010-04-07 17:28:53 +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
Mike Christel 6418e6f221 extended shader input system support for Cg (see Panda SE Project 2010-03-17 blog post for more details) 2010-04-07 11:16:29 +00:00
David Rose e972a6dd0b get_text() should return a reference 2010-03-10 20:26:18 +00:00
David Rose 5c1fd06799 don't double-compress images 2010-02-19 20:38:11 +00:00
rdb b9f4cec283 Minor clarification 2010-02-17 09:55:16 +00:00
David Rose a942ce5fbf lists and strings will be automatically coerced into a PTA_blah 2010-02-11 22:38:34 +00:00
David Rose f6f9e269f4 introduce stdpy.pickle module with support for common-node NodePaths within a pickle stream 2010-02-10 19:43:58 +00:00
David Rose fb73301676 publish low-level GeomPrimitive methods 2010-01-19 16:10:45 +00:00
David Rose ff8d5eaf77 bug with unlock assertion 2010-01-18 23:09:07 +00:00
rdb b8cacaf29e Change from forum user stickm 2010-01-16 20:45:12 +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
rdb 6eee4b9ace Replace remaining instances of Disney license with CMU license 2009-10-20 08:16:12 +00:00
David Rose c469dda2c7 another fix to texture::reload() 2009-10-11 20:57:42 +00:00
David Rose c07d10f74b fix crashing bug with compressed texture 2009-09-09 18:06:46 +00:00
Bei Yang 52d9b08b81 Added method getRamMipMapImageFromPointer to support python pointer passing via long long 2009-09-07 22:47:07 +00:00
rdb 8edc0a3cd7 Fix issue with attrib arrays in geometry shaders 2009-08-09 11:08:38 +00:00
rdb bf444742fe Add shadow interfaces to PointLight - actual implementation not complete yet 2009-08-01 19:01:55 +00:00
rdb 9278348147 Support structs in Cg shaders 2009-07-31 06:17:25 +00:00