Commit Graph

735 Commits

Author SHA1 Message Date
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
rdb 6c89228477 Generic fixes and cleanup for geometry shaders and split shaders 2009-07-28 13:37:09 +00:00
rdb 87e5347a1e Fix some bugs in the shader generator regarding combine modes. 2009-07-13 11:37:11 +00:00
rdb dc6ccc27a1 Fix compile errors for build with Cg enabled 2009-07-02 15:12:17 +00:00
rdb 2fe72f7a6b Missed this 2009-07-02 15:08:53 +00:00
rdb 66349ecaba This is another big commit - chief new features are:
* Working OpenGL ES 2.x support. Yay!
 * The shader code now supports separate vertex/fragment/geometry shaders.
 * The GLSL code supports passing vertex attrib arrays.
2009-07-02 15:01:36 +00:00
rdb ab2737ac1a Fix crash when cleaning up GLSL shader 2009-06-29 13:48:43 +00:00
rdb 100400f425 Add support for GLSL shaders 2009-06-26 13:11:24 +00:00
rdb 8e90096a2c Fixed bug preventing people from passing matrices to shaders 2009-06-20 19:13:56 +00:00
rdb b3d8d834d4 Add support for texmat_x parameters in shaders 2009-06-12 08:41:23 +00:00
David Rose 3f42a08968 automatically reload texture when changing compression mode 2009-06-10 22:11:28 +00:00
David Rose aefe3d35c2 merge dev_bam_2009 to trunk 2009-06-10 17:54:40 +00:00
rdb 9f9df68529 get_ram_image_as fix for ARM processors 2009-06-09 12:47:48 +00:00
rdb d67059f365 Allow compiling without HAVE_CG 2009-06-09 12:47:23 +00:00
David Rose eccc5cfdf9 error-check parameters to setup_texture() 2009-06-07 17:13:36 +00:00
David Rose 58c13de4ca integrate changes from Schell Games (plus some tab character fixes) 2009-06-01 21:51:15 +00:00
David Rose b6ad665ef5 fix make_copy() 2009-05-07 22:19:20 +00:00
David Rose 54c9b01920 assert not nan 2009-04-30 00:43:18 +00:00