Commit Graph

843 Commits

Author SHA1 Message Date
rdb 4a91704958 add copy_data_from version that takes a Python buffer object 2013-10-29 12:14:47 +00:00
rdb 2fdf53efb8 Add a version of offset_vertices that takes a range 2013-10-29 11:29:39 +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 fccd9965ee support for using the mat3 type in a shader. make p3d_NormalMatrix a mat3. 2013-09-19 22:44:38 +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 cc3bae7e76 Big interrogate cleanup, new extension system, add __iter__ support, add buffer protocol support 2013-09-17 10:11:43 +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
rdb 230b65c58a fix cg shader arrays 2013-07-28 23:18:08 +00:00
David Rose 48c2ea92c5 Support GeomVertexFormat::remove_column(name, keep_empty_array = false) 2013-05-22 20:46:24 +00:00
rdb 11403d7826 Fix regression from 1.18 that broke separate shader programs 2013-05-22 13:47:37 +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 1885ccdb97 PfmVizzer::set_keep_beyond_lens(), and some bugfixes 2013-05-02 23:17:00 +00:00
rdb 61a95917a8 fix copy&paste error 2013-04-30 19:18:30 +00:00
David Rose 335c80f8ac fix bug in GeomVertexData::unclean_set_format() 2013-04-18 23:45:10 +00:00
David Rose d3a295623e Lens::set_custom_film_mat() 2013-04-09 01:38:22 +00:00
rdb b7be283ce9 back out change that may be breaking things 2013-03-13 23:04:40 +00:00
rdb 8ef24aa846 clean up shader code, add more debugging info, make shaders writable 2013-03-13 09:47:37 +00:00
rdb bc85e1a4f2 More android support 2013-01-24 20:17:08 +00:00
David Rose 93bd44e85e fix confusion with depth range of Lens::project() 2013-01-11 02:26:36 +00:00
David Rose eefb99cbc5 define Lens::extrude_depth() to reverse Lens::project(), and use this in PfmVizzer 2013-01-10 02:01:39 +00:00
David Rose 8dff4f69e5 GeomVertexData::unclean_set_format() and related methods 2013-01-08 00:19:35 +00:00
rdb 7a9e94cac9 fix some cases of 'return false' in functions returning a pointer or integer 2013-01-07 20:13:06 +00:00
David Rose b3b2308c6c load obj files directly into PandaNodes for performance 2013-01-04 00:35:42 +00:00
rdb 052bf2b2bb _glsl_parameter_map has moved to GLShaderContext 2012-12-20 16:21:54 +00:00
David Rose 0d43ab3c75 read broken dds files with NumLevels 0 2012-12-08 00:49:07 +00:00
Zhao Huang 3d05d84d87 Added support for shorthand shaderinput lexicons like mspos_camshadow and
trans_model_to_clip_of_camshadow to GLSL.
2012-11-13 02:45:44 +00:00
rdb 793665d2a6 Fix Cg include 2012-10-25 08:53:59 +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 e9053ff910 support GLSL tessellation shaders 2012-04-27 20:29:47 +00:00
David Rose fcbf66df25 tag some more methods BLOCKING 2012-03-27 14:31:11 +00:00
David Rose 19ddfa1ba2 fix several coordinate system issues 2012-03-14 16:29:05 +00:00
David Rose 95c7d74a4d fix textures-auto-power-2 2012-03-05 19:14:00 +00:00
David Rose c301075586 set_view_mat() needs to be preserved through make_copy() 2012-02-15 02:02:13 +00:00
David Rose 2c7d493513 NodePath::set_tex_projector(..., lens_index) 2012-02-14 02:40:51 +00:00
rdb 949395a4cc Add normal_gloss texture mode (requested by wezu) 2012-02-13 08:35:52 +00:00
David Rose 9d83449006 expose Lens::get_last_change() 2012-02-07 23:01:56 +00:00
David Rose 8a6c221d94 minor cut&paste error 2012-02-04 01:17:25 +00:00
David Rose c67fb27206 support subclassing CollisionNode properly 2012-01-31 23:45:55 +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 d39739b37f wrong assert, get_num_components() != size(). 2011-12-21 15:09:51 +00:00
David Rose 95db6ebaca GeomVertexFormat::maybe_align_columns_for_animation() 2011-12-19 23:52:06 +00:00
David Rose 1a4f42706b remove a few epvectors 2011-12-19 18:16:30 +00:00
David Rose 42e8f806f1 leave lvecbase2/3 and lmatrix3 unaligned; it's so much cleaner 2011-12-19 14:17:26 +00:00
David Rose 66a52cb6a3 fix MemoryHook internal memory alignment issues 2011-12-18 19:20:18 +00:00