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-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.
2014-10-22Cycles: Implement Mitchell-Netravali pixel filterSergey Sharybin
It's the same filter which is used by default by Blender Internal renderer and it gives crispier edges than gaussian filter. Default filter for Cycles is unchanged because it's unclear if new filter gives more noise or not. After some further real production tests we can consider making Mitchell filter default for Cycles as well.
2014-10-22Cycles: Code cleanup -- use bitshifts instead of hardcoded constantsSergey Sharybin
This way it's easier to extend bitfields and see when we start running out of free bits. Plus added brief description of what SD_VOLUME_CUBIC flag means.
2014-10-22Cycles: Get rid of hardcoded enum values in the codeSergey Sharybin
Still need to keep enum definition in sync with the python code, but the code itself is a bit more clear to understand now.
2014-10-22Cycles: Expose volume voxel data interpolation to the interfaceSergey Sharybin
It is per-material setting which could be found under the Volume settings in the material and world context buttons. There could still be some code-wise improvements, like using variable-size macro for interp3d instead of having interp3d_ex to which you can pass the interpolation method.
2014-10-22Cycles: Implement tricubic b-spline interpolation for CPU texture_imageSergey Sharybin
This is the first step towards supporting cubic interpolation for voxel data (such as smoke and fire). It is not epxosed to the interface at all yet, this is to be done soon after this change.
2014-10-21Fix T42178: Cycles Film Exposure not triggering Viewport updateSergey Sharybin
2014-10-17Cleanup, since we don't put Cycles compat into regular bl_ui files. ;)Bastien Montagne
2014-10-17Fix python module (bpy) compilation - broken since 8d084e8cDalai Felinto
(reported on bf-python mailing-list and in my github (!), let's hope in the future we get more reports in developer.blender.org instead ;))
2014-10-17Cycles: Fix for possibly uninitialized variableSergey Sharybin
That's rather harmless in the master, just could cause some issues with the patches.
2014-10-17Different fix for T42262, we don't put Cycles compat into regular bl_ui files.Thomas Dinges
2014-10-16Cycles: Implement an area preserving parameterization sampling for area lampsSergey Sharybin
Replace old code for area lamps which was more like incorrect with more correct one using the following paper as a reference: Carlos Urena et al. An Area-Preserving Parametrization for Spherical Rectangles. https://www.solidangle.com/research/egsr2013_spherical_rectangle.pdf Implementation is straight from the paper, currently the rectangle constants are calculated for each of the samples. Ideally we need to pre-calculate them. Some comparison images are available there http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.73/Cycles Reviewers: brecht, juicyfruit Subscribers: dingto, ton Differential Revision: https://developer.blender.org/D823
2014-10-15Fix T42160: CUDA error: ILLEGAL_ADDRESS in cuCtxSynchronize()Sergey Sharybin
This is so-called GPU limitation boundary hit, told compiler to NOT include volume bound function, otherwise some real weird things used to happen. We actually might want to do the same for CPU, inlining everything is not the way to get fastest code.
2014-10-15Futher tweaks to WITH_CPU_SSE optionSergey Sharybin
Explicitly disable SSE kernels in Cycles when this option is used.
2014-10-14Cycles: Do cuda pointer arithmetic in integers, don't use pointer arithmeticSergey Sharybin
This should hopefully fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765187
2014-10-14Cleanup: wsCampbell Barton
2014-10-14OSX/GHOST: replace spaces with tabs in sesponese to rB424c050a6fc1Jens Verwiebe
New IDE did not take over my former setting for preferring tabs
2014-10-14Fix inconsistent types in guardeallocDan Horák
This basically fixes mix of size_t and uintptr_t usages which might be different size.
2014-10-14Fix T42021: OSL doesn't work when there are non-ascii chars in the pathSergey Sharybin
Quite annoying, the same thing we do from the blender side, But as a positive side we can get rid of some utf8/utf16 conversions. Hopefully it all work fine now, at leats works on mu russki windoze laptop.
2014-10-14OSX: refinement for last fullscreen condition commitJens Verwiebe
2014-10-14OSX: only use lionstylefullscreen when seperate spaces are used, todo: use ↵Jens Verwiebe
respondsToSelector to simplify the whole detection
2014-10-14in GHOST_ContextWGL.cpp, in functions that use goto, converted declarations ↵Jason Wilkins
to C89 style to prevent jumping over constructors
2014-10-13Fix embarrassing typo...Thomas Dinges
2014-10-12Cycles: Add CUDA support for sm_32 (Tegra K1, Jetson TK1).Thomas Dinges
Fix T42174.
2014-10-12Cleanup: Typo fix for Blackbody variable, had different naming in the ↵Thomas Dinges
comments and also in OSL.
2014-10-11Cycles: set hit values in-orderCampbell Barton
2014-10-11fixed printf format warning that occurred with 64-bit targetsJason Wilkins
2014-10-11check for missing Windows error code headers (was missing from Mingw64)Jason Wilkins
2014-10-10Fix typo breaking compilation with rather strict flags (does not like ↵Bastien Montagne
implicit double to float conversion).
2014-10-10Cycles: Use a bit better approach for erfinv()Sergey Sharybin
Also reduce number of branching and multiplications a bit by inlining the branches. This gives an unmeasurable speedup, which is in case of BMW is about 2% here.
2014-10-10OSX: as an prerequisite to make Dalai's upcoming "area_fullsceen" work,Jens Verwiebe
make sure the window states are correct in the lion_fs animation phase. This also assures the CTX_wm_window(C) is okay.