Commit Graph

8921 Commits

Author SHA1 Message Date
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 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 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
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 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 f805098a03 Let's not name members "_object" since it confuses interrogate when parsing initialiser lists. 2014-07-17 13:12:35 +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 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 e5447a5fcd Use LVecBase4i to store _pixels in DisplayRegion 2014-07-06 10:26:09 +00:00
rdb d5a61d3705 Accept integer samplers 2014-07-06 09:42:19 +00:00
rdb 03eddda4a2 Add more integer versions of set_shader_input 2014-07-04 17:34:49 +00:00
rdb 89c5f6f602 Allow using PTA's for float vectors 2014-07-04 14:47:41 +00:00
rdb 667b3a2729 Allow passing ints to set_shader_input 2014-07-04 12:16:35 +00:00
rdb 0b8d9fd08e Fixes for OpenGL ES 2014-07-03 22:24:34 +00:00
rdb a3d80ae3eb Use explicit cast to try and squelch compile error 2014-07-03 22:06:51 +00:00
rdb 66e98f8c70 Allow passing matrices to GLSL shaders either via NodePath or directly as a Mat4 2014-07-03 21:59:22 +00:00
rdb f8675fcd7b Allow calling dispatch_compute directly to GraphicsEngine 2014-07-03 21:57:33 +00:00
rdb 44aea55a66 Int shader inputs 2014-07-03 21:56:55 +00:00
rdb 6e64ff951c Add support for passing int arrays and vectors to GLSL shaders. 2014-07-03 21:54:45 +00:00
rdb cc35d0dd41 Allow Shader parameter in ShaderAttrib::make 2014-07-03 19:14:36 +00:00
rdb 0e1f261ca5 Add F_r32i texture format (useful for atomic image writes from shaders) 2014-07-03 17:39:53 +00:00
rdb 7a610cc198 Revert accidental checkin of memory barrier 2014-07-03 17:11:17 +00:00
rdb a16b98a468 Disable error checking by default for a substantial performance increase 2014-07-03 17:10:41 +00:00
David Rose e7fd70c2bc fix some build issues on windows/ppremake 2014-07-01 17:42:24 +00:00