Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-14Implemented the thin surface diffuse part.Pascal Schoen
2016-11-07Resolved inconsistencies in using tabs and spacesPascal Schoen
2016-09-27Merge branch 'master' into cycles_disney_brdfPascal Schoen
2016-09-19Cycles: Fix typo that would sometimes result in subsurf modifier being disabledMai Lavelle
2016-09-18Fix T49245: Adaptive Subdivision with Auto Smooth causes weird mesh appearanceMai Lavelle
2016-09-18Cycles: Fix update of subdivision meshes when global dice rates changeMai Lavelle
When subdivision settings were moved from meshes to objects this was missed, should work fine now.
2016-09-18Cycles: Soft minimum for dice ratesMai Lavelle
Use 0.5 as a soft minimum for dice rates to help from setting them too low. Lower values can still be set by typing in the value.
2016-09-14Fix T49341: Bad motion blur behavior in Cycles when using Speed effect in ↵Sergey Sharybin
Sequencer Cycles was thinking it always rendering integer frame, which is not correct.
2016-09-11Cycles: Replace object index hack with actual checks for SD_TRANSFORM_APPLIEDMai Lavelle
Using ones complement for detecting if transform has been applied was confusing and led to several bugs. With this proper checks are made. Also added a few transforms where they were missing, mostly affecting baking and displacement when `P` is used in the shader (previously `P` was in the wrong space for these shaders) Also removed `TIME_INVALID` as this may have resulted in incorrect transforms in some cases. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2192
2016-09-08Added selection field to the Disney BSDF node for switching betweenPascal Schoen
"Multiscatter GGX" and "GGX" In the "GGX" mode there is an additional parameter for changing the refraction roughness for materials with smooth surfaces and rough interns (e.g. honey). With the "Multiscatter GGX" this effect can't be produced at the moment and so here will be no separation of the two roughness values.
2016-09-02Merge branch 'master' into cycles_disney_brdfPascal Schoen
2016-08-28Fix T49163: let Cycles only hide particles with missing motion data, not ↵Brecht Van Lommel
regular objects.
2016-08-26Cycles: Make UI for subdivision more clearMai Lavelle
Users have been getting a bit confused by the way things are worded/arranged in the UI. This patch makes a few changes to the UI to make it more clear how to use subdivision: - make Subdivide UVs option inactive when adaptive subdivision is enabled as UV subdivision is currently unsupported - add "px" to dicing rates in the Geometry Panel - display the final dicing rate in the modifier - reworded "Dicing Rate" in the modifier to "Dicing Scale" to make more clear that this is a multiplier for the scene dicing rate and added a note the the tooltip pointing the user to that setting in the Geometry Panel Reviewed By: brecht Differential Revision: https://developer.blender.org/D2174
2016-08-18Fix T48913: cycles viewport render stuck in loop due to non-unique dupli ID.Brecht Van Lommel
2016-08-16Merge branch 'master' into cycles_disney_brdfPascal Schoen
2016-08-14Cycles microdisplacement: Move call to tessellate() from addon to CyclesMai Lavelle
By calling `tessellate()` from the mesh manager in Cycles we can do pre/post processing or even threaded tessellation without concerning client side code with the details.
2016-08-09Cycles: Use proper property getterSergey Sharybin
2016-08-08Cycles: Remove set but unused variableSergey Sharybin
2016-08-07Cycles: fix objects disappearing when starting or stopping movement.Alexander Gavrilov
Another issue with the modified particle motion blur fix: since pre and post are used as validity markers, they must be set even if there is no actual motion, like the original bool flags were. Otherwise an object starting to move or stopping is interpreted as having invalid blur data and hidden.
2016-08-07Cycles microdisplacement: Move displacement options from mesh to material ↵Mai Lavelle
settings Displacement is now a per material setting, which means old files will have to be updated if they had used displacement. Cool side effect of this change is material previews now show displacement. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2140
2016-08-07Cycles microdisplacement: Support for Catmull-Clark subdivision via OpenSubdivMai Lavelle
Enables Catmull-Clark subdivision meshes with support for creases and attribute subdivision. Still waiting on OpenSubdiv to fully support face varying interpolation for subdividing uv coordinates tho. Also there may be some inconsistencies with Blender's subdivision which will be resolved at a later time. Code for reading patch tables and creating patch maps is borrowed from OpenSubdiv. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2111
2016-08-05Cycles: hide particles with broken motion blur traces.Alexander Gavrilov
Currently cycles cannot correctly render motion blur for objects that appear or disappear during the shutter window. Until that can be fixed properly, it may be better to hide such particles rather than let them render as if they were stationary for half of the frame. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2125
2016-08-05Fix python error when OSL file has wrong extension.Brecht Van Lommel
2016-08-04Cycles: copy shader node names over in the blender sync code.Alexander Gavrilov
This makes constant folding logs with --debug-cycles more meaningful. A tiny fix is needed in OSL generator to match recent node refactoring.
2016-08-03Merge branch 'master' into cycles_disney_brdfPascal Schoen
2016-08-01Cleanup: unused vars, imports, pep8Campbell Barton
2016-07-29Cycles: Fix wrong projection coordinates for points behind the cameraSergey Sharybin
Points behind camera will be flipped on projection, but that did not happen. This solves second issue reported at T48848.
2016-07-29Cycles: Fix wrong check for object is behind camera after recent fixesSergey Sharybin
2016-07-29Cycles: Fix strict compilation warningSergey Sharybin
2016-07-29Cycles microdisplacement: move subdivision options to subsurf modifierMai Lavelle
Subdivision options can now be found in the subsurf modifier. The modifier must be the last in the stack or the options will be unavailable. Catmull-Clark subdivision is still unavailable and will fallback to linear subdivision instead Reviewed By: brecht Differential Revision: https://developer.blender.org/D2109
2016-07-29Cycles microdisplacement: ngons and attributes for subdivision meshesMai Lavelle
This adds support for ngons and attributes on subdivision meshes. Ngons are needed for proper attribute interpolation as well as correct Catmull-Clark subdivision. Several changes are made to achieve this: - new primitive `SubdFace` added to `Mesh` - 3 more textures are used to store info on patches from subd meshes - Blender export uses loop interface instead of tessface for subd meshes - `Attribute` class is updated with a simplified way to pass primitive counts around and to support ngons. - extra points for ngons are generated for O(1) attribute interpolation - curves are temporally disabled on subd meshes to avoid various bugs with implementation - old unneeded code is removed from `subd/` - various fixes and improvements Reviewed By: brecht Differential Revision: https://developer.blender.org/D2108
2016-07-21Fix T48908: gray out Cycles motion vector pass if motion blur is enabled, ↵Brecht Van Lommel
doesn't work then.
2016-07-19Usual i18n/UI messages fixes...Bastien Montagne
2016-07-18Cycles: add support for motion blurring of fluid meshes.Kévin Dietrich
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2063
2016-07-18Fix T48848: Cycles - Camera Culling - Camera Culling removes objects which ↵Sergey Sharybin
are still in frame
2016-07-15Cycles: Add option to disable new Hair BVHSergey Sharybin
While it's an extra option added to the interface which might not be fully obvious for artists, it allows to save up to 20% of memory in hairy scenes. This is high enough memory saver in my opinion which might become handy for some production files where it's more important to make scene to fit into memory rather than trying to use more optimal BVH structure but go into swap or crash. Reviewers: dingto, brecht Reviewed By: dingto, brecht Differential Revision: https://developer.blender.org/D2090
2016-07-10Cycles: Fix failed assert with isotropic Ashikhmin-Shirley distribution in ↵Lukas Stockner
the Glossy node The shader sync code used the anisotropic version of the Ashikhmin-Shirley closure for both Anisotropic and Glossy BSDF, which caused a failed assert because the anisotropic closure expects an addiitonal SVM node.
2016-07-06Fix failing script_load_addons test after recent code cleanup.Brecht Van Lommel
2016-07-05Code cleanup: for Cycles compatible panels, use exclusion rather than ↵Brecht Van Lommel
inclusion list. This shortens the list, and Blender render specific panels are added less often than other panels anyway, so less chance to miss things.
2016-07-05Render border: make it work together with with cache result / save buffers / ↵Brecht Van Lommel
full sample. Differential Revision: https://developer.blender.org/D2080
2016-06-25Cleanup/refactor RNA IDs' `remove` functions.Bastien Montagne
Those (one per ID type!) were uselessly duplicated, and badly inconsistent (some types were actually unlinking before deletion, others were only working if already unlinked!). Now we use same func and same API for all types, by default deletion is performed only if ID is no more used, set `do_unlink` parameter to True to always delete ID even if still in use. Only exception now is with Scene, since we always want to keep at least one! Note that this will change default behavior of some types (since unlinking is never done anymore by default).
2016-06-23Cycles: Add multi-scattering, energy-conserving GGX as an option to the ↵Lukas Stockner
Glossy, Anisotropic and Glass BSDFs This commit adds a new distribution to the Glossy, Anisotropic and Glass BSDFs that implements the multiple-scattering microfacet model described in the paper "Multiple-Scattering Microfacet BSDFs with the Smith Model". Essentially, the improvement is that unlike classical GGX, which only models single scattering and assumes the contribution of multiple bounces to be zero, this new model performs a random walk on the microsurface until the ray leaves it again, which ensures perfect energy conservation. In practise, this means that the "darkening problem" - GGX materials becoming darker with increasing roughness - is solved in a physically correct and efficient way. The downside of this model is that it has no (known) analytic expression for evalation. However, it can be evaluated stochastically, and although the correct PDF isn't known either, the properties of MIS and the balance heuristic guarantee an unbiased result at the cost of slightly higher noise. Reviewers: dingto, #cycles, brecht Reviewed By: dingto, #cycles, brecht Subscribers: bliblubli, ace_dragon, gregzaal, brecht, harvester, dingto, marcog, swerner, jtheninja, Blendify, nutel Differential Revision: https://developer.blender.org/D2002
2016-06-12Fix Cycles debug build assert on some platforms, tighten checks to avoid ↵Brecht Van Lommel
this in the future.
2016-06-11Cycles: nodify shader nodesBrecht Van Lommel
Differential Revision: https://developer.blender.org/D2038
2016-06-05Fix T48580: path / branched path UI grayed out with OpenCL device that is ↵Brecht Van Lommel
not used.
2016-06-01Usual UI/i18n message cleanup (get rid of last remaining 'addon' too).Bastien Montagne
2016-05-31Fix broken Cycles curve motion radius after recent refactor, and fix warnings.Brecht Van Lommel
2016-05-30Depsgraph: Fix wrong layers flush form children to parentSergey Sharybin
It was possible to have issues in cases when several child dependencies goes to IDs with different layers. In this case order of flushing was not really well defined, which could lead to cases when indirect dependency via invisible object wouldn't work. Need some sort of barrier to prevent scheduling of parent nodes for until all children are done, but that's becoming quite nasty thing to implement. Added a temp field to component for now. maybe it's not so crazy actually and we might use it for evaluation as well, so we wouldn't flush updates to components which does not affect visible stuff.
2016-05-29Code refactor: store ShaderNode enums as enum rather than ustring.Brecht Van Lommel
2016-05-29Code refactor: centralize OSL node creation in shader manager.Brecht Van Lommel