20107 Commits

Author SHA1 Message Date
rdb
30d8cc29b3 Rewrite handling of stringify and token-paste operators to work better. Add support for variadic macros. 2014-09-19 15:14:11 +00:00
rdb
4be5346a1a Creating a TypeHandle from Python should properly initialize it to TypeHandle::none() 2014-09-17 21:01:49 +00:00
rdb
dc384942b6 oops, don't ask for a back buffer 2014-09-16 21:25:54 +00:00
rdb
8b7217b4f9 Add an "off" ScissorAttrib, don't apply scissoring to overlay display region so that a full-window clear is truly a full-window clear 2014-09-16 20:44:39 +00:00
rdb
579f4c7f47 fix compile error 2014-09-16 19:40:43 +00:00
rdb
52e79afd4a Enable multisampling in FilterManager if main window had multisampling as well 2014-09-16 14:53:25 +00:00
rdb
b24adbcad1 Fix issues resizing OpenGL FBOs. Use LVecBase2i for storing buffer size. 2014-09-16 14:51:13 +00:00
rdb
89b824597c fix LP bug 1219422: fix ShaderGenerator errors when LightRampAttrib is in use but no diffuse is present 2014-09-16 13:25:18 +00:00
rdb
321555d888 Commit patch by Juha Jeronen that fixes SSAO shader to work with ARB profiles. 2014-09-16 13:15:47 +00:00
rdb
e5ec2eaf50 Fix bug on Windows when resizing windows in any way other than dragging them 2014-09-15 16:46:28 +00:00
rdb
9184fe71a9 vectors and matrices should be passed by reference. Fixes compile error on 32-bit windows 2014-09-15 14:39:11 +00:00
rdb
2b26ef1e34 Python 2.5 has no 0o### number syntax 2014-09-15 12:54:30 +00:00
rdb
0a999d2b6b Remove two includes that are not supported in 64-bit windows 2014-09-15 12:51:30 +00:00
rdb
3200bb4443 fix compilation error on 32-bit Windows with Eigen 2014-09-14 23:41:36 +00:00
rdb
87910799b6 Split off epvector.h into its own file in an attempt to cut down compilation time 2014-09-14 22:04:36 +00:00
rdb
5437a3e5a9 Allow const variables with initializers to be used in expressions (like enum definitions). Also fix compiler warning. 2014-09-14 22:02:16 +00:00
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