Commit Graph

1050 Commits

Author SHA1 Message Date
rdb af15797a25 Many, many performance optimizations and enhancements 2015-01-07 19:30:01 +01:00
rdb 34761a0b9b Merge branch 'master' into interrogate-overhaul
Conflicts:
	dtool/src/cppparser/cppBison.yxx
2015-01-03 16:52:44 +01:00
rdb 5e5a04031f Remove old decal system to simplify cull/draw process a bit more 2015-01-02 15:26:47 +01:00
rdb 6db5d0dc11 Huge cppparser and interrogate overhaul, bringing:
* Better support for typedefs
* Same code should compile for both 32-bit and 64-bit
* C++11 typed enum support
* Synthesize __setitem__ when operator [] returns reference
* Rewrite coerce system to have better performance
* Change semantics of __getattr__ and __setattr__ to match
  Python's, add __getattribute__, __delattr__ and __delitem__
* Improve performance of slot functions a bit more
* Reduce memory overhead of type system
* Some support for wrapping arrays of numeric types
* C++11 character type support in cppparser
* Chars are handled as strings of length 1
* Template functions for CreatePyInstance that use runtime type map
* More functions from dtool as extension functions
* Code cleanup
2014-12-30 16:43:52 +01:00
rdb 95d85819b0 Separate out sampler state from texture, support sampler objects, support LOD min/max/bias 2014-12-12 15:58:45 +01:00
rdb 40a40b20cf Rename EventStoreValue to ParamValue to make it more generic,
in anticipation of new parameter system
2014-12-10 00:26:26 +01:00
rdb 3fbdc43fbb Fix compile errors with clang 2014-12-06 22:38:40 +01:00
rdb 0473fa7ead Simplify oddly redundant StencilAttrib implementation.
Also add RenderState::compare_mask().
2014-12-03 22:44:07 +01:00
rdb 6d6a4398c6 Change max vertices to 65534 to avoid conflict with strip cut index 2014-10-27 13:25:38 +00:00
rdb a65b477734 Commit patches by cfsworks:
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb 31a71c990d Fix issues with OS X 10.9 compilation, fix issues uncovered by clang 2014-10-12 18:45:37 +00:00
rdb ab8ebe6e30 Fix issues with point rendering, both software and hardware. 2014-10-11 01:28:32 +00:00
rdb bce1f2dd5a Commit patch by Technologicat (closes LP #1214782) 2014-09-26 15:17:14 +00:00
rdb 8b7217b4f9 Add an "off" ScissorAttrib, don't apply scissoring to overlay display region so that a full-window clear is truly a full-window clear 2014-09-16 20:44:39 +00:00
rdb cd79de19b2 Add more parameters for binding images to shaders. 2014-08-19 20:22:57 +00:00
rdb 0dc6c663a1 Add get_children et al to PandaNode 2014-07-29 13:22:26 +00:00
rdb c257ce624e Interrogate overhaul that dramatically increases performance for the simpler methods 2014-07-18 13:54:38 +00:00
rdb f805098a03 Let's not name members "_object" since it confuses interrogate when parsing initialiser lists. 2014-07-17 13:12:35 +00:00
rdb 03eddda4a2 Add more integer versions of set_shader_input 2014-07-04 17:34:49 +00:00
rdb 667b3a2729 Allow passing ints to set_shader_input 2014-07-04 12:16:35 +00:00
rdb 44aea55a66 Int shader inputs 2014-07-03 21:56:55 +00:00
rdb 6e64ff951c Add support for passing int arrays and vectors to GLSL shaders. 2014-07-03 21:54:45 +00:00
rdb cc35d0dd41 Allow Shader parameter in ShaderAttrib::make 2014-07-03 19:14:36 +00:00
David Rose e7fd70c2bc fix some build issues on windows/ppremake 2014-07-01 17:42:24 +00:00
rdb 5dae464394 Add integer vectors. Also add __pow__ operator to vectors. 2014-06-11 18:01:50 +00:00
rdb 566feda34d Commit patch by cfsworks to move pgraph stuff to extensions 2014-04-04 09:23:58 +00:00
rdb 7e455e0fad Add files that belonged to the previous commit 2014-02-20 13:58:23 +00:00
rdb 5f2c0a6e04 Big commit aiding in separation of Python bindings:
* Most extension functions have been moved to C++.
 * In makepanda, Python bindings are compiled into panda3d/<module>.pyd.
2014-02-20 13:33:26 +00:00
rdb 56334e73e8 try fix segfault (sorry!) 2013-11-22 10:53:19 +00:00
rdb 126573775a fix LP bug 1133771, RenderState.compare_to does not work with state-cache or uniquify-attribs disabled 2013-11-19 21:34:55 +00:00
rdb 8383427022 patch by Josh Enes (bug 1074173) 2013-10-22 12:32:15 +00:00
rdb 1b129d905d lod config vars should be defined in pgraphnodes, not pgraph 2013-08-27 21:37:10 +00:00
rdb d489f68115 Add support for 2D texture arrays to ShaderGenerator and BufferViewer (actual render-to-texture-array functionality to come) 2013-08-12 09:18:24 +00:00
rdb ccf4863ca1 prepare_scene() should also prepare shaders 2013-07-28 22:00:38 +00:00
David Rose e36dee223a minor debug aids 2013-03-27 16:51:09 +00:00
rdb 21472cda9b Fix GLSL bugs with passing Vec2 and Vec3 2013-02-23 10:55:43 +00:00
rdb 192d10b937 Experimental Python 3 support to the C++ code including interrogate. Also adds support for rich comparison in interrogate. 2013-02-16 19:22:26 +00:00
rdb 29871ed63a fix crash on android 2013-01-13 14:49:30 +00:00
David Rose 3af8da3bcd loader.saveModel(), EggToObjConverter, etc. 2012-12-20 00:09:14 +00:00
rdb 8c83ab08f4 Add get_tag_keys / get_python_tag_keys (based on patch by Josh Enes) 2012-12-02 12:21:17 +00:00
rdb 19cb1e5230 Commit Camera::set_lod_scale patch by Josh Enes 2012-10-19 15:25:48 +00:00
David Rose 1bd2db3b20 minor refcounting issue 2012-06-22 00:30:12 +00:00
David Rose fcbf66df25 tag some more methods BLOCKING 2012-03-27 14:31:11 +00:00
David Rose 9a93914d58 properly support a different coordinate system per camera (or lens) 2012-03-14 20:51:58 +00:00
David Rose c9f9eba3fc fix relative dependent filenames in bam cache 2012-03-02 14:06:16 +00:00
David Rose ec81b415a5 implement cache-check-timestamps for models 2012-02-26 03:02:57 +00:00
David Rose ce0ad5dde8 work-in-progress: cache-check-timestamps 2012-02-25 02:28:41 +00:00
David Rose 3a75ebde9a DepthOffsetAttrib::min_value, max_value 2012-02-17 19:11:22 +00:00
David Rose 2c7d493513 NodePath::set_tex_projector(..., lens_index) 2012-02-14 02:40:51 +00:00
David Rose d34c964e53 UnionBoundingVolume, IntersectionBoundingVolume, Camera::set_cull_bounds() 2012-02-09 21:55:31 +00:00
David Rose c67fb27206 support subclassing CollisionNode properly 2012-01-31 23:45:55 +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 c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +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 39b32376bb move a few more PStatCollectors out of local statics 2011-11-19 00:11:43 +00:00
David Rose b8497a0478 fix deadlock with reset_prev_transform() 2011-11-17 19:20:38 +00:00
David Rose 2a3ad0d4e5 Add RenderState::get_auto_shader_state() 2011-11-07 00:08:04 +00:00
David Rose 83b87652f8 fix prepare_scene() to prepare vertex buffers as well as textures 2011-11-05 17:58:28 +00:00
David Rose 8ebd82fbcc support cross-compatibility of 32-bit and 64-bit bam files 2011-10-31 22:24:35 +00:00
David Rose 8dc21c8cae fix hashmap crash 2011-10-30 21:45:12 +00:00
David Rose be85a6ada1 fix crash with threaded setPythonTag() 2011-10-26 20:01:16 +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 9e22c72bf3 finally, pipelined textures 2011-10-08 21:04:05 +00:00
Chris Brunner dd6c64e285 2010 2011-09-29 00:24:28 +00:00
David Rose c7adc6246f build on msvs2010 2011-09-28 23:56:59 +00:00
David Rose 5588210e22 set some config variables to suitable defaults for threading 2011-09-28 19:52:58 +00:00
David Rose 5496c4a9ec more writable vfs stuff 2011-09-27 16:10:19 +00:00
David Rose 6064045aa3 fix an assertion failure at shutdown 2011-09-09 01:17:35 +00:00
David Rose 00a87f7c44 fix a bit more type inheritance issues 2011-09-09 00:52:17 +00:00
David Rose 0687324183 fix memory leak 2011-09-09 00:14:17 +00:00
David Rose 369f93951f fix a memory leak in the garbage-collect-states case 2011-09-08 15:02:34 +00:00
David Rose 007b7d3f9e tracking down memory leaks 2011-09-08 02:28:14 +00:00
David Rose e552c230a0 further debugging in TransformState (and one important bugfix) 2011-09-07 23:44:36 +00:00
David Rose 59ec701a26 build once more with the Tau profiler 2011-09-06 17:29:30 +00:00
David Rose 37bdfa9815 typo 2011-09-06 03:15:49 +00:00
David Rose 3ed8632a68 further bugfixes 2011-09-05 23:53:19 +00:00
David Rose 229cf67ae5 Finishing migration of RenderState and RenderAttrib to SimpleHashMap and garbage_collect() models, working towards threaded pipelining 2011-09-04 15:47:45 +00:00
David Rose 220ba658a0 new, experimental TransformState seems to work better for multithreading 2011-09-04 02:52:41 +00:00
David Rose c3d8f81581 progress on multithreaded Panda 2011-09-04 00:11:57 +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 ee03d5c45d fix compile warning 2011-06-03 09:56:10 +00:00
rdb 3b07f3a2b4 fix annoying compiler warning 2011-06-03 09:15:25 +00:00
rdb 49e157ecd1 report all extensions and stuff 2011-05-05 11:31:30 +00:00
rdb a003a73c3f Add default-antialias-enable configuration variable 2011-03-31 09:16:36 +00:00
rdb 630568494a Fix compilation error 2011-03-28 21:56:47 +00:00
David Rose 1b8d55ce34 further occluder enhancements from teedee 2011-03-28 17:58:31 +00:00
David Rose 49a1a950e6 whoopsy, wrong case 2011-03-22 23:50:28 +00:00
David Rose 19d52c3221 fix problem with local transform on occluder; add egg bface support for occluders 2011-03-18 19:02:46 +00:00
David Rose b099e2d063 more fixes from teedee including set_double_sided() 2011-03-18 17:49:48 +00:00
David Rose 44375f019d explicit occlusion culling support from community member teedee, with additional enhancements by drwr 2011-03-18 01:56:09 +00:00
rdb f6c6e7eb75 fix bug in LightRampAttrib::out 2011-03-13 07:14:41 +00:00
rdb b1ee669c82 doxygen code things 2011-02-25 13:14:51 +00:00
rdb 750405202b properly export this class 2011-02-22 20:20:51 +00:00
rdb c823dd27ae fix bug #716509: NodePath.findMaterial does not work properly 2011-02-20 15:35:53 +00:00
David Rose a8b7f6bc85 write_bam_file() should take a Filename 2011-01-18 19:10:16 +00:00