Commit Graph

116 Commits

Author SHA1 Message Date
rdb da79c28a6c Add RectangleLight class 2016-12-19 23:29:42 +01:00
Sam Edwards 2933b8ed39 general: Fix missing includes. 2016-06-25 19:10:38 -07:00
rdb ce29ae490d Interrogate improvements, more properties, MAKE_SEQ_PROPERTY 2016-05-11 00:16:53 +02:00
rdb a2ae62dbda Introduce ability to write older .bam versions, down to 6.21
See https://www.panda3d.org/manual/index.php/Dev:Bam_Format
2016-04-29 16:30:41 +02:00
rdb 2b7ef9c787 Add SphereLight class 2016-04-16 12:30:07 +02:00
rdb f68bfab7a9 Add light.shadow_caster and light.shadow_buffer_size 2016-03-17 15:26:12 +01: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 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 db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01: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
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
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
rdb 22120524a2 PNMImage sRGB support, use floats instead of doubles 2015-03-15 17:22:28 +01: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
rdb bce1f2dd5a Commit patch by Technologicat (closes LP #1214782) 2014-09-26 15:17:14 +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 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
rdb 39a321d0ba Compute shader support under OpenGL :-) 2014-06-19 21:29:35 +00:00
rdb 33f4aa520d Normal maps should affect aux normal even without lighting 2014-03-04 08:29:32 +00:00
rdb 2ae458c2df Fix a bug with tangents and binormals 2014-02-20 12:37:08 +00:00
rdb 4da840805f Add support for k_time / osg_FrameTime inputs, and change the Shader Generator not to require a separate texcoord set for every texture in an effort to cut down on register overuse. 2014-02-10 11:32:06 +00:00
rdb 849dc05a60 Fix blunder 2014-01-13 22:06:47 +00:00
rdb 56577ec08a Don't rely on color fregs, they have unintended side-effects. Also, don't use up unnecessary registers when texgen is enabled. 2014-01-13 21:31:42 +00:00
rdb b781547956 a tiny optimisation to use less registers 2014-01-11 15:06:22 +00:00