Blender Git Commits

Blender Git commits from all branches.

Page: 2017 / 2888

June 8, 2016, 19:45 (GMT)
Add TODO about vertex color linearization to GLSL code

It's not really clear at this moment how we can detect cases
when attribute needs linearization. For now added a comment
so we don't forget about this, hopefully.
June 8, 2016, 19:45 (GMT)
Fix wrong scale of vertex color values when doing border render of Cycles viewport
June 8, 2016, 19:45 (GMT)
Fix wrong vertex color in BI GLSL mode

The issue was caused by recent normalization added to the GLSL attributes.
June 8, 2016, 19:45 (GMT)
Cycles: Fix wrong closure counter in feature adaptive kernel

Some closures were missing from calculation, leading to an array
under-allocation, presumable causing memory corruption issues with
emission shaders on OpenCL and was causing issues with Volume 3D
textures with CUDA.

The issue was identified by Thomas Dinges, the patch is different
from the original D2006. See the brief discussion there. Current
approach is similar (or the same) as Brecht suggested.
June 8, 2016, 19:45 (GMT)
Fix T48334: Cycles standalone xml import of uv coordinates

In Cycle standalone, the xml import of uv's is done in a way that
a vertex could only have one unique uv coordinate. In practice it
is most of the time not the case.

Patch by Laurent Boiron, thanks!
June 8, 2016, 19:45 (GMT)
Fixed a rare case of NaN in Cycles

This fixes a rare case where NaNs could exist inside Cycles.

When certain invalid meshes were passed in, Cycles would try too normalize
a zero length normal during its setup stage. While it does check against
division by zero, it still returns a zero length normal and passes it on to
the path tracing kernel. The kernel then operates under the assumption that
normals are valid, and in the case of such a zero length normal, would
eventually create NaNs that propagate through and result in black pixels.

Reviewers: #cycles

Subscribers: brecht, sergey

Projects: #cycles

Differential Revision: https://developer.blender.org/D2008
June 8, 2016, 19:45 (GMT)
B-Bones improve handle calculation

This changes the bezier handles b-bones to fit to a circle more closely.
June 8, 2016, 19:45 (GMT)
BLI_math: Add function to calculate circular cubic curve tangents
June 8, 2016, 19:45 (GMT)
Cycles: Fix missing feature reported by the Volume node
June 8, 2016, 19:45 (GMT)
Cycles: Fix missing volumes support for feature-adaptive viewport render
June 8, 2016, 19:45 (GMT)
Fix for all OpenGL lights affecting Cycles viewport, regardless of their Enabled state

Was a regression since e1b8a5d.

Probably not very optimal fix, but better than a regression anyway.
June 8, 2016, 19:45 (GMT)
Cleanup: glsl indentation, line length
June 8, 2016, 19:45 (GMT)
Code cleanup, stick closer to a blender code style in GLSL shader
June 8, 2016, 19:45 (GMT)
Support Vertex Color in GLSL viewport for Cycles

The title says it all actually.

Added special custom data type, because we don't know in advance
whether we're referencing UV or Color layer. Also made it so vertex
attributes are normalized.

TODO: Border render in viewport ignores the normalization of the
attribute array for some reason, will be looked into still.

Reviewers: mont29, brecht, campbellbarton

Reviewed By: brecht, campbellbarton

Differential Revision: https://developer.blender.org/D2022
June 8, 2016, 19:45 (GMT)
Cleanup: Deduplicate image loading functions using templates.
June 8, 2016, 19:45 (GMT)
Cleanup: Use short condition style.
June 8, 2016, 19:45 (GMT)
Fix Cycles warning in release builds.
June 8, 2016, 19:45 (GMT)
Fix Cycles compile errors with GCC due to double promotion as errors.
June 8, 2016, 19:45 (GMT)
Support Musgrave texture for Cycles GLSL viewport

Only for non-OSX viewport!
June 8, 2016, 19:45 (GMT)
Fix T48497: Stupid typo in recent own BLI_task forloop work that broke non-parallelized case.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021