Commit Graph

127 Commits

Author SHA1 Message Date
Sam Edwards 441371e8d9 Merge branch 'master' into cmake 2016-03-15 18:30:55 -07:00
rdb 2bf886fc5b Add premultiplied alpha mode, for convenience 2016-03-02 17:55:34 +01:00
rdb 2971915618 Bam 6.41: lenses and light changes, add max_distance 2016-03-02 17:54:49 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 5cd4342ed5 Merge branch 'master' into cmake 2016-02-05 17:16:15 +01:00
rdb 090e912ce6 Cleanup of comments and whitespace 2016-02-01 22:30:43 +01:00
rdb 3393454582 Metalness workflow PBR stuff, support light color temperatures, make light specular color tied to light color by default 2016-01-09 16:08:33 +01:00
rdb e4857a58bb Add many more Python properties 2015-12-24 16:17:34 +01:00
rdb 6480e82e3b First pass adding properties to many Panda classes 2015-12-10 16:23:06 +01:00
rdb 25451feb87 Improve shadow system, add point light shadows, GLSL shadow inputs 2015-12-07 21:12:07 +01:00
rdb 48808fe269 Add get_supports_hlsl check, fix shader generator for DirectX 9 2015-11-26 01:05:26 +01:00
rdb 5b291a9b10 Merge branch 'master' into cmake 2015-11-09 19:21:12 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
Sam Edwards c902774cfd Merge branch 'master' into cmake 2015-11-07 20:06:59 -08:00
rdb 18ad6d1543 Replace many int params with size_t params where appropriate, and work towards fixing type conversion warnings 2015-10-07 18:58:26 +02:00
rdb c9434c5b85 Fix shadowed light copy constructor, fix point light lens orientations 2015-09-10 15:30:24 +02:00
rdb acc2a310d0 Change debug category for shader generator to pgraphnodes 2015-07-28 21:43:19 +02:00
Sam Edwards 5ee04074c2 Merge branch 'master' into cmake
# Conflicts:
#	direct/src/actor/Actor.py
2015-07-12 19:27:56 -07:00
rdb ef9908c277 More robust Cg support on non-NVIDIA card + automatically enable hardware skinning in Shader Generator 2015-07-07 02:51:48 +02:00
rdb 5d364d6128 Merge branch 'release/1.9.x' 2015-06-15 00:20:17 +02:00
rdb 6d0e4c2662 Correct scaling and normalizations of binormals and tangents in generated shaders 2015-06-15 00:19:52 +02:00
rdb 82e098e578 Move auto-rescale-normal handling out of GSG, support normalizing normals in shader generator 2015-06-13 18:20:18 +02:00
rdb 32fb6814e7 Merge branch 'release/1.9.x' 2015-05-14 17:18:20 +02:00
rdb 586c067d69 Fix shader generator memory leaks 2015-05-14 17:17:38 +02:00
Sam Edwards 8b876843d4 Merge branch 'master' into cmake 2015-05-02 11:33:52 -07:00
rdb adb02a8f45 Compile out things irrelevant for target build, like ShaderGenerator when !HAVE_CG 2015-04-06 13:24:45 +02:00
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
Sam Edwards 69c22868e1 Merge branch 'master' into cmake 2015-03-28 10:23:28 -07:00
rdb 22120524a2 PNMImage sRGB support, use floats instead of doubles 2015-03-15 17:22:28 +01:00
Sam Edwards 6ee1170453 Merge branch 'master' into cmake
Conflicts:
	panda/src/display/pythonGraphicsWindowProc.cxx
	panda/src/putil/config_util.cxx
2015-02-11 09:53:13 -08:00
rdb cbd70ad8af Move all Python bindings out of core DLLs into the .pyd files. 2015-02-10 14:30:51 +01:00
rdb e9a64736a3 Fix 32-bit Windows compilation issues with Eigen 2015-02-09 16:51:59 +01:00
rdb dad8f79e96 Support using setShaderInput with a light to bind to GLSL struct 2015-02-08 01:42:11 +01:00
rdb 13fb8079ec Better shader caching, GLSL "#pragma include" support, better error reporting 2015-02-01 17:52:52 +01:00
rdb 7ba0469148 Shader generation should be done in cull, not in draw 2015-01-23 15:03:50 +01:00
rdb 0ad0d4ec33 Further optimizations to the cull pipeline.
The only transform still stored in CullableObject is internal transform.

NB: I haven't tested my PipeOcclusionCullTraverser changes.  Please contact me if you encounter problems with it.
2015-01-22 16:22:16 +01:00
rdb 95d85819b0 Separate out sampler state from texture, support sampler objects, support LOD min/max/bias 2014-12-12 15:58:45 +01:00
tobspr 0358abfc0e Added clear_dispatches() to ComputeNode
Signed-off-by: rdb <git@rdb.name>
2014-12-06 14:35:20 +01:00
rdb a65b477734 Commit patches by cfsworks:
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
Sam Edwards 62d08ec8bf Merge branch 'master' into cmake 2014-10-11 18:09:26 -07:00
rdb bce1f2dd5a Commit patch by Technologicat (closes LP #1214782) 2014-09-26 15:17:14 +00:00
Sam Edwards 57fb97053b Merge branch 'master' into cmake 2014-09-22 21:13:05 -07: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
Sam Edwards cf1a9f1807 general: Fix up include structure to resolve errors when building without composites. 2014-07-26 15:09:11 -07:00
Sam Edwards cecae46c45 CMake: Update to latest upstream Panda3D changes. 2014-07-26 12:42:28 -07:00
Sam Edwards 3d0f587ca0 Merge remote-tracking branch 'upstream/master' into cmake
Conflicts:
	panda/src/linmath/lvecBase4.h
2014-07-24 22:59:52 -07:00
rdb 67a289fe4a Shader generator should use float3 for normals, not float4 2014-07-18 14:34:24 +00:00
rdb 756cc27589 Fix date 2014-06-25 08:36:41 +00:00
rdb ef9f985406 Add ComputeNode to Sources.pp 2014-06-19 23:30:58 +00:00
rdb 633bbbafce Fix for MSVC compile issue 2014-06-19 21:56:59 +00:00