rdb
97d4e32a06
general: use nassert_raise instead of nassertv(false) et al
...
Even a brief error message in the assertion is infinitely more useful to a user who is not at home in the source code, especially for assertions that may reasonably be triggered by honest user mistakes.
2018-11-28 17:35:20 +01:00
Sam Edwards
b2bfb31114
general: Remove `using std::*` from headers
...
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.
Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
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
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
090e912ce6
Cleanup of comments and whitespace
2016-02-01 22:30:43 +01:00
rdb
c04cd29246
Cull improvements: don't compute bounds when not necessary
2015-01-08 23:16:38 +01:00
David Rose
1bd2db3b20
minor refcounting issue
2012-06-22 00:30:12 +00:00
Zachary Pavlov
c0f1124dfe
aggresive flattening of certain nodes
2009-10-13 18:19:18 +00:00
Zachary Pavlov
d15bcd5062
oops, typo
2009-08-13 17:45:00 +00:00
Zachary Pavlov
fae008bee2
fix for flattenStrong nodepath cutting
2009-08-12 19:13:27 +00:00
David Rose
c3d1efc07d
yield more aggressively during flatten
2008-12-16 19:46:55 +00:00
David Rose
5f3be0ab9a
fix flatten plane
2008-12-05 22:19:41 +00:00
David Rose
6db2257ca1
TextGraphic::set_instance_flag()
2008-10-28 21:36:26 +00:00
David Rose
600a70a7f2
fix weird issues with buttons in shadowed text
2008-10-21 22:52:45 +00:00
David Rose
621b831913
allow-live-flatten
2008-10-02 23:39:51 +00:00
David Rose
11ae34e109
apply_texture_colors()
2008-08-28 00:46:30 +00:00
David Rose
08c7656733
remove unused vertices automatically
2008-07-18 21:15:27 +00:00
David Rose
fb9c56432a
we are now using the modified BSD license
2008-05-28 18:37:20 +00:00
Josh Yelon
be5cf85350
Implemented new make_consistent_state routine to unify ColorAttribs
2008-01-25 07:18:28 +00:00
Josh Yelon
d0aac98dac
SceneGraphReducer needs to support new ColorAttrib semantics (not quite finished yet)
2008-01-25 03:35:58 +00:00
David Rose
dd03048f6e
add SceneGraphReducer::decompose()
2007-12-20 22:33:44 +00:00
David Rose
b9b1e78399
flatten optimization; also SceneGraphReducer::make_compatible_format()
2007-12-19 20:25:53 +00:00
David Rose
7c9997118c
support common transforming of shared PartBundles
2007-10-03 21:14:33 +00:00
David Rose
1abe868c95
preserve geometry order when flattening
2007-07-06 18:19:00 +00:00
David Rose
fe97acf7cb
integrate thread_yield in appropriate places
2007-06-26 13:01:16 +00:00
David Rose
3de6d5ac4f
Use apply_attribs() to doubleside or reverse triangles
2007-06-19 17:14:46 +00:00
David Rose
eec731e417
SceneGraphReducer::doubleside()
2007-06-18 21:13:33 +00:00
David Rose
0b703e2f14
SceneGraphReducer::remove_column()
2007-06-15 14:50:44 +00:00
David Rose
f8b3f0d017
impose max-collect-vertices and max-collect-indices on limits reported by GSG
2007-05-24 17:46:32 +00:00
David Rose
c7fb9cd0ab
automatically premunge on load
2007-05-21 22:36:27 +00:00
David Rose
732bbafaa9
define NodePath::premunge_scene() and supporting implementation
2007-05-21 16:05:22 +00:00
David Rose
b943c36fae
First pass at memory-managed vertices. Might break threaded code.
2007-05-13 00:01:38 +00:00
David Rose
9b575fbe58
steps toward async flatten
2007-04-03 23:21:49 +00:00
David Rose
55a8ab333b
preserve tags while flattening
2007-01-25 21:37:10 +00:00
David Rose
28110b2774
fix flattening 2-d objects
2007-01-17 02:27:36 +00:00
David Rose
ccec9eb3df
allow Actor flattening
2006-11-16 22:39:31 +00:00
David Rose
64d4d729fc
allow flatten_strong() to combine the children of a ModelNode
2006-10-18 17:18:17 +00:00
David Rose
233f3e080d
egg-max-vertices, egg-max-indices, max-collect-indices
2006-07-13 16:09:08 +00:00
David Rose
160c848b68
better PandaNode::get_children(), introduce PandaNode::reset_all_prev_transform()
2006-04-25 13:55:46 +00:00
David Rose
8a78fffd8f
multithreading optimizations, tau profiler, related changes
2006-04-05 19:36:05 +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
79f1462eb1
mo' better pipelining
2006-02-09 23:47:29 +00:00
David Rose
bc0d509090
bam 5.0, new Geom implementation is now official
2005-06-30 17:42:21 +00:00
David Rose
819355581e
various pstats improvements; pstats use 32 bit headers; added "*" category; some minor fixes
2005-04-30 00:09:07 +00:00
David Rose
212fbc6c6b
DO_DCAST, is_qpgeom()
2005-04-27 16:33:59 +00:00
David Rose
f0e276fadd
simplify pstats a bit; make qpgeom egg loader behave more like traditional
2005-04-25 22:23:18 +00:00
David Rose
9c97466a56
remove empty nodes
2005-04-22 20:46:07 +00:00
David Rose
f95a7c8dbe
split out pgraph_composite[12].cxx into pgraph_composite[1234].cxx
2005-04-22 19:13:50 +00:00
David Rose
14a3fa8ac9
egg-flatten-radius
2005-04-22 17:53:59 +00:00