Commit Graph

32 Commits

Author SHA1 Message Date
Sam Edwards e2b4353800 general: Replace NULL (and 0 as pointer) with C++11 nullptr
Exceptions to this replacement are:
- .c files
- Headers included by a .c file
- stb_image.h
- dr_flac.h
- Strings
- Comments
2018-06-03 16:35:13 -06:00
rdb 6f8b379bda Big patch full of performance improvements
This particularly benefits applications with a lot of nodes.
2017-04-03 01:41:23 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +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 c04cd29246 Cull improvements: don't compute bounds when not necessary 2015-01-08 23:16:38 +01:00
rdb af15797a25 Many, many performance optimizations and enhancements 2015-01-07 19:30:01 +01: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 b72ae7c513 commit teedee's portal fixes 2010-10-10 06:05:58 +00:00
David Rose 0c90c36fd7 new callback system 2009-03-14 19:31:37 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose 33a0c3af8e replacing CullBinOcclusionTest with PipeOcclusionCullTraverser, some linmath optimizations 2007-05-31 21:17:50 +00:00
David Rose f1038ea8ef unify PandaNode::CData again; create PandaNodePipelineReader 2006-04-30 20:24:36 +00:00
David Rose 9808294212 factor out more calls to Thread::get_current_thread() 2006-04-27 14:45:39 +00:00
David Rose ddd1046462 factor out Thread::get_current_thread() some more 2006-04-26 07:31:23 +00:00
David Rose ffb676cc9a compute _net_transform, not _modelview_transform, at each node of cull traversal 2006-03-24 23:41:09 +00:00
David Rose 76252c5316 fix problem with hidden PGui items still being active 2006-03-22 19:02:58 +00:00
David Rose 725e82e6f4 show_through() 2006-03-20 20:48:26 +00:00
David Rose 1e81e656ab PGItemNotify interface, PGScrollFrame, and more general PGSliderBar 2005-08-27 00:15:54 +00:00
David Rose aa29e67c84 fix billboards, lod's, etc. 2005-05-27 22:03:23 +00:00
David Rose 296721f061 simply & pandify dx8gsg some; rework gsg's external_transform and internal_transform 2005-05-26 00:09:52 +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
Asad M. Zaman d3d36911de 2nd pass portal clipping. This is integrated into scenegraph 2004-06-04 01:34:14 +00:00
Asad M. Zaman c3b2cefc72 save as of june 1st 2004-06-02 17:04:38 +00:00
Asad M. Zaman f1de5451a3 first pass prototype of portal culling system 2004-05-13 22:12: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 510756c0df add CollisionVisualizer 2003-04-17 21:41:46 +00:00
David Rose a23a7572a2 rename out qp's 2002-04-10 18:08:06 +00:00
David Rose d210511b8b several pgraph refinements 2002-03-20 23:18:28 +00:00
David Rose ac8ab3b258 pgraph pgui 2002-03-14 16:49:13 +00:00
David Rose fc26653ada pgraph stash and hide 2002-03-13 17:19:36 +00:00
David Rose 597e892b98 optimize TransformState inverse operation a bit more 2002-03-11 19:28:28 +00:00
David Rose 8b743a58fe pgraph lod, sequence nodes 2002-03-06 18:06:00 +00:00