Commit Graph

61 Commits

Author SHA1 Message Date
rdb 34068dc0c1 Implement support for SSBOs 2016-12-13 21:22:17 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 75019784f4 Changes to inlining so we can use FORCE_INLINING in gcc as well 2015-07-27 15:39:46 +02:00
rdb b2f73d0877 Merge branch 'master' into interrogate-overhaul 2015-02-08 12:11:19 +01:00
rdb 028c09add5 Implicit cast string to InternalName in c++, also optimize for string literals 2015-02-07 16:43:25 +01:00
rdb 0ad0d4ec33 Further optimizations to the cull pipeline.
The only transform still stored in CullableObject is internal transform.

NB: I haven't tested my PipeOcclusionCullTraverser changes.  Please contact me if you encounter problems with it.
2015-01-22 16:22:16 +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 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 8c83ab08f4 Add get_tag_keys / get_python_tag_keys (based on patch by Josh Enes) 2012-12-02 12:21:17 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose 6064045aa3 fix an assertion failure at shutdown 2011-09-09 01:17:35 +00:00
David Rose 4cf4811af6 more refinements to the whole shared-node pickle thing 2010-02-11 01:32:00 +00:00
David Rose 981890183b bamify NodePath's parents etc too, to better support common nodes 2010-02-10 23:50:57 +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 681551c918 empty-node-path handling 2009-02-15 01:45:15 +00:00
David Rose 5d73bc8e19 operator bool() 2009-01-20 03:17:59 +00:00
David Rose 2e7751678f initialization issue 2008-10-29 00:58:06 +00:00
David Rose a89acc64a2 add clear_model_nodes 2008-07-29 19:42:53 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose d86c60305c copy_all_properties() should copy into_colilde_mask too 2007-10-26 22:11:11 +00:00
David Rose 8566b388fb add count_num_descendants() 2007-04-17 18:21:29 +00:00
Asad M. Zaman 1d0789ecde added a compose_color_scale interface 2007-03-28 23:36:45 +00:00
David Rose 89950a2132 try to defend against hard crashes 2007-03-16 15:43:17 +00:00
David Rose 601dbd02ca fixes for osx build 2006-09-25 22:29:39 +00:00
David Rose 3fe0ad1080 AsyncTaskManager, threaded sound loader 2006-08-29 19:27:03 +00:00
David Rose ddd1046462 factor out Thread::get_current_thread() some more 2006-04-26 07:31:23 +00:00
David Rose 725e82e6f4 show_through() 2006-03-20 20:48:26 +00:00
David Rose 1d2282a879 pipelining getting close; uprev bam version to 6.0 2006-02-14 19:07:47 +00:00
David Rose 5ea15b9dd7 add NodePath.has_texcoord() 2006-01-13 00:58:55 +00:00
David Rose 1568b255ca extend set_tex_pos() etc. for 3-d 2005-10-08 15:07:12 +00:00
David Rose 65458d9edd introduce 2-d TransformStates 2005-07-21 23:46:15 +00:00
David Rose 7a249dde55 add set_python_tag() etc. 2005-07-06 22:43:53 +00:00
David Rose 10242ea013 new NodePath::set_attrib(), set_clip_plane(), etc. 2005-04-26 17:51:54 +00:00
David Rose 4a5e1e825e is_ancestor_of(), get_common_ancestor() 2005-02-26 00:44:53 +00:00
David Rose 557060cb1d weak pointers, and FadeLODNode fixes for instances/multiple cameras 2004-09-30 21:29:25 +00:00
David Rose 895b553cdb better NodePath interfaces for set_collide_mask() 2004-09-23 20:57:34 +00:00
David Rose 0369f07074 all nodes now have a CollideMask 2004-09-23 19:51:54 +00:00
David Rose 597d379038 add NodePath::set_color_scale_off() and Camera::set_initial_state() and related methods 2004-08-03 19:59:21 +00:00
David Rose c7c639797e merge multitexture support in from branch 2004-07-30 00:38:35 +00:00
David Rose 0fe1abded6 relative set_fluid_pos 2004-06-24 23:11:22 +00:00
David Rose 4df761d285 add NodePath::get_top() 2004-03-31 23:32:57 +00:00
David Rose 843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
David Rose f734040caf remove bogus assert 2004-01-07 22:54:53 +00:00
David Rose 211cf35eb5 add more asserts 2003-11-21 07:05:00 +00:00
David Rose 28aba7f1a6 add clear_transform 2003-11-06 04:51:08 +00:00
David Rose 47e4a10fc8 add relative uniform set_scale 2003-11-04 05:13:40 +00:00
David Rose 9ccec9bb73 preserve get_key() after a remove_node() operation 2003-10-27 23:36:54 +00:00
David Rose 8a45c38537 insist on same graph for colliders 2003-10-27 21:30:52 +00:00
David Rose 0b8b4f9cef change logic for uniqueness of NodePaths w.r.t. instances 2003-10-25 19:10:09 +00:00
David Rose f9b2d69d64 fix NodePath sorting 2003-10-23 23:59:55 +00:00