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
path: root/intern
AgeCommit message (Collapse)Author
2014-06-12Bake-API: Set Custom Cage to be Cage ObjectDalai Felinto
Suggestion by Andy Davies (metalliandy) to conform with industry standard (custom cage is something else apparently) Note: this is the last bake related commit I plan for 2.71/rc (unless everyone agrees that we could squeeze in D546 - custom UVs, which would be really nice to add for 2.71 scripters) Note 2: I'll update the wiki docs shortly
2014-06-11Fix T40561: cycles refraction node with sharp distribution gives black.Brecht Van Lommel
2014-06-11Bake-API: new approach for cageDalai Felinto
There is a new option to select whether you want to use cage or not. When not using cage the results will be more similar with Blender Internal, where the inwards rays (trying to hit the highpoly objects) don't always come from smooth normals. So if the active object has sharp edges and an EdgeSplit modifier you get bad corners. This is useful, however, to bake to planes without the need of adding extra loops around the edges. When cage is "on" the user can decide on setting a cage extrusion or to pick a Custom Cage object. The cage extrusion option works in a duplicated copy of the active object with EdgeSplit modifiers removed to inforce smooth normals. The custom cage option takes an object with the same number of faces as the active object (and the same face ordering). The custom cage now controls the direction and the origin of the rays casted to the highpoly objects. The direction is a ray from the point in the cage mesh to the equivalent point to the base mesh. That means the face normals are entirely ignored when using a cage object. For developers: When using an object cage the ray is calculated from the cage mesh to the base mesh. It uses the barycentric coordinate from the base mesh UV, so we expect both meshes to have the same primitive ids (which won't be the case if the cage gets edited in a destructive way). That fixes T40023 (giving the expected result when 'use_cage' is false). Thanks for Andy Davies (metalliandy) for the consulting with normal baking workflow and extensive testing. His 'stress-test' file will be added later to our svn tests folder. (The file itself is not public yet since he still has to add testing notes to it). Many thanks for the reviewers. More on cages: http://wiki.polycount.com/NormalMap/#Working_with_Cages Reviewers: campbellbarton, sergey CC: adriano, metalliandy, brecht, malkavian Differential Revision: https://developer.blender.org/D547
2014-06-09Fix cycles CUDA error when trying to use >= 100 image textures.Brecht Van Lommel
2014-06-07OSX: Ideasman does not like using utsname, so i use the always ↵Jens Verwiebe
satisfactorily working sysctl method now for runtime OS detection
2014-06-06Fix T40514: Cycles world MIS segfaultCampbell Barton
2014-06-06Fix T40370: cycles CUDA baking timeout with high number of AA samples.Brecht Van Lommel
Now baking does one AA sample at a time, just like final render. There is also some code for shader antialiasing that solves T40369 but it is disabled for now because there may be unpredictable side effects.
2014-06-06Fix T40282: Renaming node sockets in Cycles nodes causes crash.Lukas Tönne
Cycles expects to find all node sockets with their correct names, but this can be changed via the API (see bug report discussion). Solution for now is to let cycles accept this case gracefully instead of crashing. The shader will simply use the internal default values for inputs and any connections will be ignored. Would be nice to report the error somewhere, but cycles doesn't have a proper logging system for this purpose yet.
2014-06-06Code cleanup: styleCampbell Barton
2014-06-06OSX: replace deprecated (10.8 ) Gestalt function with utsname, no functional ↵Jens Verwiebe
change
2014-06-05Fix T40228: cycles CUDA multi GPU + world MIS giving error.Brecht Van Lommel
2014-06-05Fix T40429: cycles CUDA + use persistent images problem.Brecht Van Lommel
2014-06-05Fix T40482: Cycles matlib file crashesSergey Sharybin
it's possible that runtime optimizer would call get_attribute with NULL renderstate. As per documentation, it's valid to return false in that cases and in worst case we'll just miss some possible optimization. Supporting such cases would require some bigger changes to Cycles since attributes are only set to up for the kernel after shader compilation. Thanks Brecht for review!
2014-06-04Fix T40456: cycles bug with branched path + sss + no sample all direct lights.Brecht Van Lommel
2014-06-02Fix compilation on unofficial 64bit archsMatteo F. Vescovi
2014-06-02Fix compilation error non non-linux architecturesMatteo F. Vescovi
2014-06-01Code cleanup, unused variables and comments.Thomas Dinges
2014-06-01Cycles: Small optimization for scenes without Transparent Shaders, helps a ↵Thomas Dinges
few percent. Differential Revision: https://developer.blender.org/D570
2014-05-30Cleanup: Remove unused total power Emission code in Cycles, that was never ↵Thomas Dinges
exposed in the UI. Differential Revision: https://developer.blender.org/D562
2014-05-29Fix T39804: cycles smoke domain visible in rendering.Brecht Van Lommel
Transparent objects could become subtly visible by the different sampling patterns for pixels covered and not covered by the object. It still converged to the right solution but that can take a while. Now we try to use the same sampling pattern here.
2014-05-29Fix T40408: world MIS + equiangular sampling giving unnecessary noise.Brecht Van Lommel
It's actually not possible to do equiangular sampling for distant lights, now it reverts to distance sampling in this case.
2014-05-29Cleanup: Use doxy for more structured commentsCampbell Barton
2014-05-29Fix OpenCL compilation error in Cycles, when building without hair support.Thomas Dinges
2014-05-29Revert "fix T40375 Glossy shader bakes different than render"Dalai Felinto
This reverts commit 12abe94de827d9ae9c0dd6cc49bc6c3e377842ad. After a long discussion in the bug tracker we decided baking should use the faces normals for glossy (and combined). This is what Blender Internal is doing, and one of the more predictable way of yielding predictable results. That also means the result will not match the render perfectly, but this is preferrable over the alternatives at hand. Conflicts: intern/cycles/kernel/kernel_bake.h
2014-05-28Fix T40386: cycles anisotropic BSDF difference between SVM and OSL.Brecht Van Lommel
2014-05-28Fix T40399, OpenCL compile error.Thomas Dinges
2014-05-27Cycles: new camera_direction_from_pointDalai Felinto
Reviewers: brecht Differential Revision: https://developer.blender.org/D556
2014-05-27fix T40375 Glossy shader bakes different than renderDalai Felinto
Comments from Brecht Van Lommel: """ Currently the viewing direction for each pixel is set to the normal, so at every pixel glossy is evaluated as if you're looking straight at it. Blender Internal works the same. """ This patch makes baking glossy as viewed from the camera. Reviewers: brecht CC: zanqdo Differential Revision: https://developer.blender.org/D555
2014-05-27Cycles CUDA: use fewer registers for sm_50 cards for better performance.Brecht Van Lommel
2014-05-27Fix T40379: world MIS causing too much CUDA memory usage.Brecht Van Lommel
The kernel for baking the world texture was the same as the one used for baking. Now that's separate which allows the kernel to reserve much less memory.
2014-05-26fix T40322: Glitch in baking a mixed SSS shaderDalai Felinto
2014-05-26Attempted fix for T40363: CUDA 30% slowdown in testbuilds compared to 2.70.Brecht Van Lommel
CMake had this --fast-math flag but scons not, makes a big difference on some files. Slightly slower rendering might still happen though, but it should not be this much.
2014-05-26Fix T40345: cycles volume render + AO pass not working correct.Brecht van Lommel
2014-05-26Fix T40306: cycles baking not distributing work among CPU cores well.Brecht van Lommel
2014-05-24Revert "Cycles-Bake: fix T40322 Glitch in baking a mixed SSS shader"Dalai Felinto
This reverts commit 81b129d3b837e31c0d6d2a9d2a6e39d39e47c1ec. This is not the correct fix yet. More details in T40322
2014-05-24Cleanup: Comments and unused variables.Thomas Dinges
2014-05-23Fix T40320: wrong render layer visibility with cycles deformation motion blur.Brecht Van Lommel
2014-05-23Report to the console when custom ocio config is usedSergey Sharybin
2014-05-23fix T40323 Segfault on baking after renderingDalai Felinto
The remaining functions in blender_python.cpp changed from using the MACRO to use python_thread_state_save/python_thread_state_restore Since this bug only happens when 'Persistent Images' is on it was introduced in some of the early merges with master and I never caught it. Thanks Daniel Salazar for helping with the bug hunting.
2014-05-23Cycles-Bake: fix T40322 Glitch in baking a mixed SSS shaderDalai Felinto
If we are using a mix node we still need to evaluate the BSDF lighting even if scattering is successful. Note: this was working for branched path (probably an oversight when branched path support was introduced for baking, a good oversight though ;)
2014-05-23Cycles-Bake: fix T40270 Combined Type fails to bake Emission nodeDalai Felinto
Main code and review by Brecht Van Lommel Differential Revision: https://developer.blender.org/D543
2014-05-21Fix T39711: cycles particle motion blur affected by viewport draw method.Brecht Van Lommel
2014-05-21Fix T40289: Cycles leaking memoryCampbell Barton
error in recent commit
2014-05-21Fix for uninitialized memory use in CyclesCampbell Barton
2014-05-21Fix T40280: sequencer sound strips with an end at a negative time kept playingJörg Müller
The bug was caused by using negative numbers as the end for playing forever (or until the end of the sound is reached) in the library. This was used with speaker objects which have an end of FLT_MAX now instead and the negative number interpretation was removed. I hope this doesn't break anything else.
2014-05-19Fix T40262: cycles GPU bake crash due to kernels not loaded, randomly due to ↵Brecht Van Lommel
thread timing.
2014-05-19Fix cycles standalone compile error of shading system enum change.Brecht Van Lommel
2014-05-19Cycles: revert async CUDA changes, these are giving too much trouble still.Brecht Van Lommel
Fixes T40027. This means we get more CPU usage again when using multiple CUDA, but the impact on performance is too big a problem with the current code.
2014-05-19Fix compilation error on kFreeBSDSebastian Ramacher
2014-05-19Fix T39764: cycles not rendering EXR image textures with 5 channels (RGBA + Z).Brecht Van Lommel