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
2015-11-19Cleanup: redundant 'break', minor editsCampbell Barton
2015-11-19Fix T46818, crash with Glossy node on Windows.Thomas Dinges
2015-11-18Cycles: Add Blackman-Harris filter, fix Gaussian filterLukas Stockner
This commit adds the Blackman-Harris windows function as a pixel filter to Cycles. On some cases, such as wireframes or high-frequency textures, Blackman-Harris can give subtle but noticable improvements over the Gaussian window. Also, the gaussian window was truncated too early, which degraded quality a bit, therefore the evaluation region is now three times as wide. To avoid artifacts caused by the wider curve, the filter table size is increased to 1024. Reviewers: #cycles Differential Revision: https://developer.blender.org/D1453
2015-11-18Cycles / Shader graph: Fallback to Sharp closures for very small roughness.Thomas Dinges
We fallback to Sharp closures for Glossy, Glass and Refraction nodes now, in case the Roughness input is disconnected and 0 (< 1e-4f to be exact). This way we gain a few percentages of performance, in case the user did not manually set the closure type to "Sharp" in the UI. Sharp will probably be removed from the UI as a followup, not needed anymore with this internal optimization. Original idea by Lukas Stockner(Differential Revision: https://developer.blender.org/D1439), code implementation by myself.
2015-11-18Cleanup: Add some notes in code for upcoming graph simplification process.Thomas Dinges
2015-11-18Cycles: Add utility functions to get a ShaderInput / ShaderOutput by name.Thomas Dinges
2015-11-16GHOST: rename suffix X11 to Unix for non X11 filesCampbell Barton
We may use these for Wayland or SDL back-ends.
2015-11-16check compute shader support for OpenSubdivMike Erwin
Built into OpenGL 4.3, or 4.2 plus ARB_compute_shader extension.
2015-11-14minor cleanup: spelling/wordingMike Erwin
2015-11-14tweak GL extension check for OpenSubdiv drawingMike Erwin
Once we adopt GL 3.2 across Blender, the check will be: return GLEW_VERSION_4_0 || GLEW_ARB_gpu_shader5;
2015-11-14enable OpenSubdiv Transform Feedback on IntelMike Erwin
Fixed extension check. This feature requires ARB_texture_buffer_object which was subsumed into OpenGL 3.0. Intel driver on Windows doesn't claim to support this extension, but GL version is > 3 so it actually does work.
2015-11-14enable OpenSubdiv on Intel graphicsMike Erwin
Tested working on Haswell i5-4670 running Windows 10.
2015-11-10OpenSubdiv: Enable GLSL Compute for AMD devicesSergey Sharybin
There was a bug in OpenSubdiv library which is now fixed by updating library in the build environments. Still requires testing, but now being at the beginning of release cycle is should be safe to simply enable option and let everyone to test :)
2015-11-09Revert "Increase CMake minimum version to 3.0"Campbell Barton
This reverts commit ff3cf93405e63fa367f64412bcfe96b382b24b38. Turns out distros only a year old still use CMake 2.8x
2015-11-09Increase CMake minimum version to 3.0Campbell Barton
This allows us to use newer features of CMake, and less hassles having to test & support older versions.
2015-11-03Fix T46683: High pitch sound artifact on import of 48k audioJörg Müller
The bug header is wrong, the file contains the high pitched sound, but the bug that existed was that animation rendering did not use the high quality resampler, while audio mixdown does. Blender uses the low quality resampler to be as little CPU consuming as possible.
2015-11-03Fix T46671: Cycles assert with CMJ sample functionSergey Sharybin
With current formulation of cmj_fast_div_pow2() it should always return 0 in the case of first argument is zero and no assert really needed anymore.
2015-11-01Cycles: Partially revert previous commitSergey Sharybin
Apparently removing kernel arguments broke NVidia OpenCL. Needs more investigation, for the time being revering changes which caused problem.
2015-11-01Cycles: Remove unused argument from the split kernel functionsSergey Sharybin
Should be no functional changes, just simplifies operation with kernels.
2015-11-01Cycles: Minor code style cleanupSergey Sharybin
2015-10-31Cycles: Add split kernel headers to project generationSergey Sharybin
2015-10-30Cycles: Fixes for few typos in OpenCL kernelSergey Sharybin
2015-10-29Cycles: Fix typo in split kernelSergey Sharybin
Shadow blocked kernel was using wrong array for storing intersection.
2015-10-29Cycles: Add option to force mega kernel to be usedSergey Sharybin
This way it's possible to test mega kernel on various hardware. That being said mega kernel seems to work on Fiji card here in the studio.
2015-10-29Cycles: OpenCL split kernel cleanup, move casts from .h files to .cl filesSergey Sharybin
Ideally we shouldn't use char* at all, but for now we have to, so at least let's assume common .h files are free from pointer magic.
2015-10-28Cycles: Fix compilation error with MSVCSergey Sharybin
2015-10-28Cycles: Expose user-defined shutter curve to the interfaceSergey Sharybin
Shutter curve now can be controlled using curve mapping widget in the motion blur panel in Render buttons. Only mapping from 0..1 by x axis are allowed, Y values will be normalized to fill in 0..1 space as well automatically. Y values of 0 means fully closed shutter, Y values of 1 means fully opened shutter. Default mapping is set to old behavior when shutter opens and closes instantly. This shutter mapping curve could easily be used by any other render engine by accessing scene.render.motion_blur_shutter_curve. Reviewers: #cycles, brecht, juicyfruit, campbellbarton Differential Revision: https://developer.blender.org/D1585
2015-10-28Cycles: Support user-defined shutter curveSergey Sharybin
Previously shutter was instantly opening, staying opened for the shutter time period of time and then instantly closing. This isn't quite how real cameras are working, where shutter is opening with some curve. Now it is possible to define user curve for how much shutter is opened across the sampling period of time. This could be used for example to make motion blur trails softer.
2015-10-28Cycles: Use new CDF evaluation utility for the pixel filterSergey Sharybin
Filter table should stay exactly the same, no changes in the render results are expected at all.
2015-10-28Cycles: Add utility functions to evaluate CDF of a given functorSergey Sharybin
2015-10-26Cleanup: Remove ToDo comment.Thomas Dinges
I don't see how this could conflict, madd() in util_ssef.h has a different function signature.
2015-10-26Cleanup: Avoid some warnings on OS X with clang and update comment.Thomas Dinges
2015-10-26Cleanup: Move pixel aspect to blender_camera_init().Thomas Dinges
2015-10-25ndof: rework Mac driver glueMike Erwin
Load driver dynamically at runtime instead of weak-linking the 3Dconnexion framework. Driver no longer needed at build time! Works with really old drivers (as in PowerMac old), more recent versions, and the latest which allows us to process events on a separate thread.
2015-10-23Quiet audaspace unused macro warningsCampbell Barton
2015-10-22Cycles: Watertight fix for SSS intersectionSergey Sharybin
Same as previous commit, just was missing in there.
2015-10-22Cycles: Fix for watertight intersectionSergey Sharybin
It was possible to miss some intersection caused by wrong barycentric coordinates sign. Cases when one of the coordinate is zero and other are negative was not handled correct.
2015-10-20Usual i18n tweaks & fixes...Bastien Montagne
2015-10-15Fix T46493: Wrong camera zoom blur with non-unit pixel aspectSergey Sharybin
2015-10-13Cycles: Add support for motion blur positionSergey Sharybin
This adds an option to control at what time relative to the current frame the shutter is fully opened. Supported options are: - Shutter is starting to open at the current frame - Shutter is fully opened at the current frame - Shutter is fully closed at the current frame Custom shutter time offset is possible, same as custom curve for shutter openness but those are considered nice things to have rather than something crucial. Reviewers: juicyfruit, dingto Subscribers: venomgfx, hjalti Differential Revision: https://developer.blender.org/D1380
2015-10-12Workaround for glew initialization bugCampbell Barton
It turns out libGL from Intel crashes when calling glxewInit (where mesa, nvidia work fine), unfortunately the only option without making larger changes to glew, is to inline the parts of glew we're using - before the glx context is created.
2015-10-12Fix T46431: Init glew before glx-context crashesCampbell Barton
Initialize glxew before glew, so we can check whats supported before creating the context. This also removes need for mxIgnoreNoVersion.
2015-10-12Fix T46447: fix build on non-x86 platforms.Brecht Van Lommel
2015-10-11Cycles: Make light behavior in local view matching BISergey Sharybin
Title says it all, based on feedback of artists from gooseberry team. This mainly affects cases when going to a local view from layers setup when some lamps were on invisible layers. Those lights are no longer becoming visible to the object in local view. Reviewers: brecht, juicyfruit, dingto Reviewed By: juicyfruit, dingto Subscribers: maxon, eyecandy, venomgfx Differential Revision: https://developer.blender.org/D1326
2015-10-11Fix T45058: Cycles hair shader reflects incorrectly for meshesSergey Sharybin
The issue was caused by non-continuous tangent space calculated for triangles. This commit adds a Tangent input to Hair BSDF node which can be used to hook up Tangent calculated form UV as an input to the node in order to make sure the tangent space is continuous. Doing this as an input instead of using default tangent layer from UV because of several reasons: - This way it's really easy to preserve compatibility with existing setups. - Default UV map is not necessarily giving continuous space, one might want to use other tangent space sources or distort the space for some artistic decision. Reviewers: juicyfruit, dingto Reviewed By: dingto Differential Revision: https://developer.blender.org/D1428
2015-10-11Cycles: Gracefully handle out-of-memory happening in device vectorSergey Sharybin
Currently only image loading benefits of this and will give magenta color when image manager detects it's running out of memory. This isn't ideal solution and can't handle all cases. For example, OOM killer might kill process before it realized it run out of memory, but in other cases this could prevent some crashes. Reviewers: juicyfruit, dingto Differential Revision: https://developer.blender.org/D1502
2015-10-11Cycles: Increase number of textures allowed for OpenCL renderSergey Sharybin
Currently OpenCL devices are packing images into a single texture, which means technically number of textures is not limited here. Now OpenCL will use same number of textures as CPU. If we want to bump number of textures further, this values are to be modified in sync. NOTE OpenCL still does not support float textures. Original patch from a guy called bliblubli in the tracker with some own modifications. Reviewers: brecht, dingto, sergey Differential Revision: https://developer.blender.org/D1530
2015-10-10Revert "Fix T46406: Cycles ignores default socket value associated with ↵Brecht Van Lommel
group socket" Fixes T46442.
2015-10-10Fix various compiler warnings.Brecht Van Lommel
2015-10-10Fix T45167: OS X inertial scrolling can lead to unexpected zooming.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1539