18858 Commits

Author SHA1 Message Date
David Rose
a06fd5521f found a reason to use dlmalloc if 16-byte alignment is required 2011-12-22 22:44:31 +00:00
Zhao Huang
3138076bc4 Add a small change to make the header more friendly to the Intel Compiler 2011-12-22 08:30:07 +00:00
David Rose
f647872b2b lower egg-recursion-limit to 1000 2011-12-21 23:12:10 +00:00
Zhao Huang
d32064ced4 Fixed some more dependency bugs with parallel build
Add some clarity to error handling messages
2011-12-21 19:00:56 +00:00
Zhao Huang
f2d1a429f2 Added include <time.h>, necessary to define localtime when compiling using --optimize=4 2011-12-21 18:12:43 +00:00
David Rose
d39739b37f wrong assert, get_num_components() != size(). 2011-12-21 15:09:51 +00:00
David Rose
f6a32897ba build correctly without DO_MEMORY_USAGE 2011-12-21 02:31:37 +00:00
David Rose
9326f5be54 compiler warnings 2011-12-21 01:39:47 +00:00
David Rose
6e5dd2cc63 fix memory crashes on win32/Eigen build 2011-12-21 01:25:38 +00:00
David Rose
e9b967435e more win32 build issues 2011-12-20 20:26:08 +00:00
David Rose
0053d01843 ssize_t isn't defined on windows, but we don't need it here 2011-12-20 20:13:29 +00:00
David Rose
328f834f55 cache results of __getattr__ for performance 2011-12-20 18:11:04 +00:00
David Rose
17f51995e3 a few more win32 build issues reported by forum users 2011-12-20 15:05:37 +00:00
David Rose
ba249508c4 win32 alignment issues 2011-12-20 00:17:08 +00:00
David Rose
8b3ec4b1ba pass by reference 2011-12-20 00:10:11 +00:00
David Rose
95db6ebaca GeomVertexFormat::maybe_align_columns_for_animation() 2011-12-19 23:52:06 +00:00
David Rose
cb3b1423c0 align tangent and binormal too 2011-12-19 23:02:53 +00:00
David Rose
fb220d8f93 missing file 2011-12-19 18:43:27 +00:00
David Rose
1a4f42706b remove a few epvectors 2011-12-19 18:16:30 +00:00
David Rose
abee07ef0d windows fix 2011-12-19 18:01:27 +00:00
David Rose
e04c446b1c add eigen to makepanda 2011-12-19 17:36:40 +00:00
rdb
bc8e5de9bf Support reading TGA files with alpha channel 2011-12-19 15:53:59 +00:00
David Rose
1cf7a1fd79 define epvector 2011-12-19 15:14:29 +00:00
David Rose
05be3e1b5e add egg-recursion-limit 2011-12-19 14:44:38 +00:00
David Rose
f9240e0258 a couple more fixes to self-memory-alignment 2011-12-19 14:26:57 +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
David Rose
c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +00:00
David Rose
fd75c89949 whoops, overloaded LINMATH_ALIGN by mistake 2011-12-18 02:03:58 +00:00
David Rose
787742c93e LINMATH_VECTORIZE -> LINMATH_ALIGN 2011-12-18 02:00:31 +00:00
David Rose
56fb33bf00 enforce alignment policies even when malloc() doesn't. 2011-12-18 01:55:22 +00:00
David Rose
a4728957da whoops, fix bam reading 2011-12-18 01:26:17 +00:00
David Rose
0fa828b5e3 very minor tweaks 2011-12-17 23:56:14 +00:00
David Rose
6824cb6928 better implementation of vertex-column-alignment 2011-12-17 23:08:03 +00:00
enn0x
88ac4f920e Changed imports from 'lpoint' etc. to 'luse' 2011-12-17 20:54:38 +00:00
David Rose
571282694d should include only luse.h instead of individual linmath headers 2011-12-17 18:24:39 +00:00
David Rose
702045608d report allocation attempt when out of memory 2011-12-17 01:57:05 +00:00
David Rose
7de805989f add vertex-column-alignment 2011-12-17 01:55:52 +00:00
Zhao Huang
73e89c8254 Allows no-vsync when a multisample buffer is requested 2011-12-16 16:31:43 +00:00
David Rose
5933da3f05 auto-detect Eigen 2011-12-16 14:20:25 +00:00
David Rose
33b9a1e1cf integrate Eigen 2011-12-16 14:17:48 +00:00
Zhao Huang
33e1ead6c5 Don't import ParticleInterval if the ParticleSystem doesn't exist (ie., not compiled in) 2011-12-15 04:45:40 +00:00
Zhao Huang
a34cb75f82 Added to characterJoint
INLINE const LMatrix4 &get_transform() const;
  CPT(TransformState) get_transform_state() const;

This is to reduce the code bloat for freezing a joint using actor.
Previously, freezing a joint (using its current transform required two temporary
initailizations, a Mat4() and a TransformState in python.

tmat = tmat4(); joint.getTransform( tmat); tstate = TransformState( tmat);
freeze(..., transform = tstate )

now this can be collapsed down to
freeze( ..., transform = joint.getTransformState() )
2011-12-15 01:51:59 +00:00
David Rose
7e8737dd3d some animation optimizations 2011-12-15 00:33:03 +00:00
David Rose
5e5d8f7e17 whoops, missing trivial constructor 2011-12-13 22:39:00 +00:00
David Rose
de346aa4d1 add egg-vertex-membership-quantize 2011-12-13 19:32:59 +00:00
David Rose
c6cc36e604 Add Animation:charname:Calc blends pstats collector 2011-12-13 19:24:35 +00:00
David Rose
26fa40190a make --no-pandaphysics also imply --no-pandaparticlesystem 2011-12-13 17:48:11 +00:00
David Rose
71a2acd208 openssl is standard these days 2011-12-13 02:18:49 +00:00
David Rose
84a38c8d2f subtle link issues on ubuntu 2011-12-13 01:59:20 +00:00