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-11-17Fix for last commit, accidentaly removed transparent shadows property.Thomas Dinges
2014-11-16Cycles Standalone: Updates for Volume sampling.Thomas Dinges
2014-11-16Cycles: Remove Integrator volume sampling flag, that was moved to Shader.Thomas Dinges
2014-11-15Cycles: Revert changes to inline flags enabled for release onlySergey Sharybin
It appears it's not really needed for convenient debugging when using proper flags passed to the compiler. Basically, it is -g3 and set breakpoint to a function as if it's not in the namespace. Not as if a code was any wrong, just it's possible to have more clear solution for the issue i've tried to solve in the past.
2014-11-14skip scene_armature_depsgraph_workaround when theres no armaturesCampbell Barton
2014-11-14Reuse local view for UVs for previous commit, thanks to Campbell for theAntony Riakiotakis
suggestion. Also minor compile fix after viewport patch
2014-11-14Fix X11/GLX failing with multi-sampleCampbell Barton
Caused by D643, in fact we need to get the visualInfo before creating the window.
2014-11-13Cleanup: cmakeCampbell Barton
2014-11-13Cycles: Update some comments in volume code.Thomas Dinges
2014-11-13GHOST/X11: correct USE_X11_ERROR_HANDLERS defineCampbell Barton
2014-11-12Cycles: Prevent NaN and inf in area lamp sampling caused by precision issuesSergey Sharybin
This doesn't have noticeable affect on the render times, but avoids possible numerical issues.
2014-11-12Fix T41066: MSVC + AVX2 kernel causes artifacts in hair render.Thomas Dinges
The issue lies in the FMA functions, so disable them on Windows for now.
2014-11-12Cleanup, please follow existing style when adding new flags. ;)Thomas Dinges
2014-11-12Cleanup, typo fixes.Thomas Dinges
2014-11-11Fix T41783: Cycles baking ignores displacementDalai Felinto
Create unique flag for output shaders with displacement data and use it to calculate transformed normal. Implementation suggested by Brecht Van Lommel. Reviewers: brecht Differential Revision: https://developer.blender.org/D890
2014-11-11Fix T41873: Different 'seed' values do not yield different noise patterns ↵Dalai Felinto
when using cycles texture bake As per instructions by Brecht Van Lommel.
2014-11-10Cycles: Speedup for homogenous volumes in decoupled volume samplingSergey Sharybin
The idea is to avoid memory allocation when only one segment step is to be allocated. This gives some speedup which is difficult to measure on this trashcan from hell, but it's about from 7% to 10% in the extreme case with single volume filling the whole of the viewport. This seems to depends on the phase of the bug-o-meter in the studio. On the linux boxes it's not that spectacular speedup, it's about 2% on my laptop and about 3% on the studio desktop. This is likely because of the awesomeness of jemalloc.
2014-11-08Cycles: Remove dead branch for Distant lamps, ls->t is always FLT_MAX here.Thomas Dinges
2014-11-08Add safe_normalize to cycles, avoid checking length firstCampbell Barton
This won't give any big speedup, just avoids redundant sqrtf and may be useful in future. Differential Revision: https://developer.blender.org/D880
2014-11-08Cleanup: cycles whitespaceCampbell Barton
2014-11-07Cycles: Tweak to the expf() speed workaroundSergey Sharybin
Add compile-time check for particular glibc version which fixed the issue. This makes it so own-compiled blender is the fastest in the world, and the only issue remains what should we do for release builds. After some discussion with Campbell we decided to keep it as is for now because slowdown is not that much noticeable. We'll disable this workaround for release builds when all the majority of the distros will switch to the new version of glibc.
2014-11-06Cycles: Add "Max Bounce" control for lampsThomas Dinges
With this setting, we can limit the influence of a lamp to a certain amount of bounces. 0 = Only direct light contribution 1 = 1 light bounce ... Differential revision: https://developer.blender.org/D860 You can find an example render in the release logs: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.73/Cycles
2014-11-04Cycles: Don't check shader for volume when checking if camera is inside volumeSergey Sharybin
Intersection code already ignores objects without volume closure so checking it afterwards is not needed.
2014-11-04Fix T42411: Camera inside volume + particle dupli (object/group) doesn't workSergey Sharybin
The issue was caused by missing current object instance initialization after object was ignored for instance push.
2014-11-04Cycles: Remove compatibility code for OSL-1.4Sergey Sharybin
That code was mainly needed for the transition period, now we've got all platforms updated to new OSL. Plus there are some crucial fixes baking in the current upstream sources which we'll need to have for the next Blender release.
2014-11-04Cycles: Be ready for new OIIO and OSL librariesSergey Sharybin
Even tho it's not 100% clear when we'll switch to OSL-1.6 we'd better start preparing earlier for this, so we don't spend time on this later. Plus this code helps troubleshooting some OSL issues, which requires testing with latest versions of OSL.
2014-11-03Compilation error fix for buildbotSergey Sharybin
Ghost depends on glew-mx, so glew-mx should be passed to linker after the ghost. We're also using spaces for indentation in python, including scons rules.
2014-11-03Fix typo breaking compilation with SSE2.Bastien Montagne
Spotted by sybrenstuvel (Sybren Stüvel), thanks!
2014-11-01Cycles: Remove redundant alloc/freeSergej Reich
Seems like a copy paste error.
2014-11-01Cycles: Code cleanup, proper class vs. struct declarationSergey Sharybin
2014-11-01Cleanup: Remove unused light function.Thomas Dinges
2014-10-31Fix T42349: Windows Render command line Cycles CrashSergey Sharybin
The issue was caused by GLEW MX enabled in SCons by default so basically previous commit already fixed the crash. But we need to be safe here. For now the fix is simple and not that clean, just check if there's an OpenGL context available and if not we don't do any GLSL magic. This is to be cleaned up after some discussion with the viewport project guys.
2014-10-31Fix T42391: HSV correction shader node gives negative valuesSergey Sharybin
This mainly happens when over-saturating already saturated color. After some discussion with Campbell and loads of tests we decided to clamp the result RGB color. As an alternative we might want to clamp corrected HSV values instead, but that would lead to some larger changes in the render results. TODO: The same is to be done for compositor nodes.
2014-10-30Cycles / CUDA: Better fix for missing sm_52 kernel, in case user compiles ↵Thomas Dinges
himself.
2014-10-30Cycles / OSL: Support microfacet() closure color function from OSL 1.5Thomas Dinges
This is basically just a wrapper class, which maps the generic call from the OSL spec to our closures. Example usage: shader microfacet_osl( color Color = color(0.8), int Distribution = 0, normal Normal = N, vector Tangent = normalize(dPdu), float RoughnessU = 0.0, float RoughnessV = 0.0, float IOR = 1.4, int Refract = 0, output closure color BSDF = 0) { if (Distribution == 0) BSDF = Color * microfacet("ggx", Normal, Tangent, RoughnessU, RoughnessV, IOR, Refract); else BSDF = Color * microfacet("beckmann", Normal, Tangent, RoughnessU, RoughnessV, IOR, Refract); }
2014-10-30Deduplicate some code by using a function pointer to the real kernelMartijn Berger
This has no performance impact what so ever and is already used in the adaptive sampling patch
2014-10-29Cleanup: warnings, typosCampbell Barton
2014-10-29Cycles: Optimize math node without links to a single value nodeSergey Sharybin
Pretty straightforward implementation. Just needed to move some functions around to make them available at shader compile time.
2014-10-29Cycles: Add a soft min/max UI value for volume step size, usually a range ↵Thomas Dinges
from 0.01 to 1.0 is fine.
2014-10-29Cleanup: Style fixes for closures, mainly bitflags and conditions.Thomas Dinges
2014-10-29Cleanup: Remove unused function in Translucent BSDF.Thomas Dinges
2014-10-28OSX/GHOST: fix T42305, appswitching not reliable, proposed by Fabio ArnoldJens Verwiebe
2014-10-23OSX/GHOST: more little cleanupsJens Verwiebe
2014-10-23OSX/GHOST: some cleanupsJens Verwiebe
2014-10-23OSX: move notification into its own functionJens Verwiebe
2014-10-23Cleanup: spellingCampbell Barton
2014-10-23Checked each of my (jwilkins) XXX notes.Jason Wilkins
The ones in extern/glew-es have been changed to NOTE instead of XXX GHOST_ContextEGL.cpp: It really does seem that it is not possible to query the swap interval using EGL GHOST_WidnowCocoa.h: The comment referring to Carbon is clearly out of date, so I removed it. math_geom.c: The node about not using tmax again is correct, but the code is kept for a future maintainer who will need to know how to compute it if they modify that code. paint_image_proj.c (2698): The question about integer truncation does not appear to have been resolved. It still seems to be an incorrectly implementation of rounding (I'd suggest using the round function instead of this hack).
2014-10-22OSX: as we cannot be sure to have ARC, better release allocated notificationJens Verwiebe
2014-10-22OSX/GHOST: use notifications to inform user about a progress reached 100%Jens Verwiebe
The occurance can be controlled in NotificationCenter, todo: move to own function ?
2014-10-22Revert "Cycles: Implement Mitchell-Netravali pixel filter"Sergey Sharybin
As it appears we can't really use mitchell filter together with the current filter importance sampling, This reverts commit 742911314322e5dae3a07469d0ca53b61427f978.