20141 Commits

Author SHA1 Message Date
rdb
0e16497401 Expose DynamicTextGlyph::get_page 2014-09-14 10:42:06 +00:00
rdb
3b60afb12b Make TextGlyph typed 2014-09-14 10:34:01 +00:00
rdb
1286264952 publish textglyph interfaces to make it easier for people to implement their own font rendering algorithm 2014-09-14 10:17:13 +00:00
rdb
340169c80c Add load_sub_image 2014-09-13 19:49:17 +00:00
rdb
02e95bdba3 PNMTextMaker constructor should take FreetypeFont 2014-09-13 17:21:38 +00:00
rdb
031005d55e Fixes for webcams on Linux with MJPEG streams that omit Huffman tables 2014-09-08 11:14:40 +00:00
rdb
a044561be5 *Always* check for exceptions in C++ methods, otherwise we miss important exceptions thrown in Python code called by C++ methods (like SystemExit!) 2014-08-26 21:01:12 +00:00
rdb
e468b293d1 Fix a longstanding memory leak in certain interrogate exception handlers.
Raise MemoryError when constructor returns NULL.
Properly check argument count of constructors that take no arguments.
2014-08-26 17:17:37 +00:00
rdb
bee278e8d1 Fix missing return statement 2014-08-21 18:03:32 +00:00
rdb
ab5e4f496b Fix cmath includes on GNU 2014-08-21 17:00:57 +00:00
rdb
4db966f431 GNU needs #include <limits> for numeric_limits 2014-08-21 16:54:44 +00:00
rdb
0eaebaf258 Fix bison/flex location, and fix debug Python on Windows with makepanda 2014-08-21 13:00:36 +00:00
rdb
bb7a6a3ec4 Fix broken convergence distance calculation, adding a configuration variable to restore the old behavior if needed. 2014-08-20 20:24:13 +00:00
rdb
70f73a5ea1 linmath no longer depends on putil 2014-08-20 19:39:13 +00:00
rdb
a7f2f50236 Move string_utils.* to from putil to dtoolutil 2014-08-20 19:33:55 +00:00
rdb
515f93a0b8 Better handling of nan/infinity. Previously, these weren't working on Windows in config strings. 2014-08-20 19:32:11 +00:00
rdb
cd79de19b2 Add more parameters for binding images to shaders. 2014-08-19 20:22:57 +00:00
rdb
1055c2e0fd Use glClearBufferfv to clear MRTs more efficiently (without having to call glDrawBuffers several times) 2014-08-17 16:41:19 +00:00
rdb
f8acde64f7 taskMgr.destroy() should imply stop() 2014-08-14 18:08:31 +00:00
enn0x
d658ba7254 Bullet: exposing bounds for single shape and all shapes. 2014-08-06 22:35:15 +00:00
enn0x
aaca66cdc1 Exposing BulletShape.getBounds 2014-08-04 22:41:31 +00:00
rdb
3d19752dc0 Add proper comparison operators and get_hash to ButtonHandle 2014-07-29 13:25:43 +00:00
rdb
0dc6c663a1 Add get_children et al to PandaNode 2014-07-29 13:22:26 +00:00
rdb
24d705b031 The "null" ButtonHandle and TypeHandle now evaluate to false 2014-07-29 11:15:12 +00:00
rdb
82e4500d2a Add p3d_ModelMatrix, p3d_ViewMatrix, and p3d_ViewProjectionMatrix. Fix osg_ViewMatrix and osg_InverseViewMatrix. 2014-07-27 12:10:52 +00:00
rdb
3e974abf5d Fix silly bug with longs 2014-07-23 17:41:22 +00:00
rdb
f02662d4e0 Improve interrogate code readability, use METH_STATIC for static methods, support anonymous enums 2014-07-22 20:06:59 +00:00
rdb
e98618b105 Only use constexpr when the compiler conforms to C++11 2014-07-21 15:41:31 +00:00
rdb
29cfc2b778 Correct CPU mipmap generation for sRGB textures 2014-07-19 16:47:57 +00:00
rdb
875f4d9ddf Fix GLSL bug on nvidia cards with disabling vertex attribs 2014-07-18 19:24:39 +00:00
rdb
b60fce49b5 Support generating mipmaps for 32-bit float textures 2014-07-18 18:23:29 +00:00
rdb
0ef51b8723 Support for integer vertex attributes in GLSL 2014-07-18 15:39:49 +00:00
rdb
67a289fe4a Shader generator should use float3 for normals, not float4 2014-07-18 14:34:24 +00:00
rdb
4856804938 Add shininess shader input 2014-07-18 14:21:45 +00:00
rdb
c257ce624e Interrogate overhaul that dramatically increases performance for the simpler methods 2014-07-18 13:54:38 +00:00
rdb
a76a011105 Fix bugs with Cg shaders 2014-07-18 11:32:31 +00:00
rdb
dba717fe83 GCC 4.7 enables constexpr, not 4.6 2014-07-17 16:18:04 +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
1be0fb5169 Add atomic adjust impl that uses GCC intrinsics. Also, make use of "constexpr" when available. 2014-07-17 13:11:06 +00:00
rdb
cea09d4b9e Turn off gl-immutable-texture-storage by default (it seems to cause trouble on NVIDIA cards, which demand a sized internal format be used) 2014-07-15 12:45:38 +00:00
rdb
3983c0de05 Oops, I checked in too much 2014-07-15 11:16:56 +00:00
rdb
efa258ebf3 Memory barriers, immutable texture storage, bindless textures, fixes for multisample FBOs, code cleanup, etc. 2014-07-15 08:46:58 +00:00
rdb
de54dda8c1 Add convenience methods to turn geometry into patches 2014-07-13 17:09:14 +00:00
rdb
ce88a95ddc dump-generated-shaders should truncate file when writing 2014-07-13 15:00:22 +00:00
rdb
bed35751ec Comment out bin2c compilation since it conflicts with PyCUDA, and it's a bit of an esoteric tool anyway. 2014-07-11 12:22:31 +00:00
rdb
2dd503df00 Improve font crispness dramatically by setting text-minfilter to linear by default 2014-07-08 20:24:00 +00:00
rdb
274659cdc3 Fix compile issue on Mac OS X with GLhandleARB 2014-07-07 23:28:40 +00:00
rdb
dda0d9c15f check in 32-bit float texture formats 2014-07-07 19:49:25 +00:00
rdb
40c880a1c0 Viewport array support on DisplayRegion. Not 100% sure if I want to end up sticking to this design, but it works. (I may revert this later.) 2014-07-07 19:10:15 +00:00
rdb
37da1427c0 Don't try to build check_adler and check_crc when ZLIB support has been disabled. 2014-07-07 12:32:40 +00:00