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-07-31Fix T45632: motion blur (2d filter) not working - in OSX at leastDalai Felinto
This regression was introduced in Blende 2.73a when we went through a ghost context refactoring :(
2015-07-31Docs: doxy correctionsCampbell Barton
2015-07-31Cycles: Fix for transmissive microfacet samplingSergey Sharybin
This is an alternate fix for T40964 which resolves bad handling of caustics reported in T45609. There were too much transmission rays being discarded by the original fix, which caused by caustic light being totally disabled. There is still some room for investigation why exactly original paper didn't work that well, could be caused by the way how the pdf is calculated. In any case current results seems rather correct now.
2015-07-30Cleanup: Remove unused variable in PathState.Thomas Dinges
2015-07-30OpenSubdiv: Add CMake option to enable -Werror in subsurf codeSergey Sharybin
2015-07-30OpenSubdiv: Remove debug-only leftoverSergey Sharybin
2015-07-29Cycles: Fix issue in closure merge function.Lukas Stockner
* Did not check data2, this partially fixes T45583. * Initialize data2 in some closures to avoid potential problems. Differential Revision: https://developer.blender.org/D1436
2015-07-29Fix SCons path issue on Windows.Thomas Dinges
2015-07-29OpenSubdiv: Workaround for vertices which are adjacent to several manifold ↵Sergey Sharybin
islands
2015-07-29OpenSubdiv: Proper detection of crease changesSergey Sharybin
2015-07-29OpenSubdiv: Some debug-only code sneaked into previous commitSergey Sharybin
2015-07-29OpenSubdiv: Make topology orientation optionalSergey Sharybin
2015-07-29OpenSubdiv: Fixes for crease in non-manifold meshesSergey Sharybin
Basically non-manifold edges are expected to be sharp by OpenSubdiv. There\s still some work required, see the inlined comment.
2015-07-29OpenSubdiv: Rework vert-edge and vert-face orderingSergey Sharybin
Now the code survives multiple non-manifolds happening on the vert. Still not totally optimal but at least gives much better mesh support.
2015-07-29OpenSubdiv: Fix for weirdly ordered linesSergey Sharybin
2015-07-29OpenSubdiv: Make empty meshes supported and not crashingSergey Sharybin
2015-07-28Cycles: Correction to image extension type commitsSergey Sharybin
Clipping wasn't working totally correct, need to check original coordinates, not the integer ones, Now CPU gives the same exact results for both SVM and OSL, CUDA is still doing something crazy with edges.
2015-07-28Audaspace: building without audaspace.Jörg Müller
- Fixed building without for cmake. - Scons can now build without audaspace too.
2015-07-28Cycles: Add implementation of clip extension modeSergey Sharybin
For now there's no OpenCL support, it'll come later.
2015-07-28Cycles: Prepare for more image extension types supportSergey Sharybin
Basically just replace boolean periodic flag with extension type enum in the device API.
2015-07-28Audaspace: fixing problems for the merge to master suggested by Campbell and ↵Jörg Müller
Sergey. - rename WITH_EXTERNAL_AUDASPACE to WITH_SYSTEM_AUDASPACE. - rename C/PYAUDASPACE to AUDASPACE_C/PY - simplifying cmake defines and includes. - fixing include paths and enabling WITH_SYSTEM_AUDASPACE for windows. - fixing scons building. - other minor build system fixes.
2015-07-28Audaspace: name fixes and external library update.Jörg Müller
2015-07-28Audaspace: adapt internal C-API naming to external audaspace library.Jörg Müller
2015-07-28Audaspace: external audaspace library update.Jörg Müller
2015-07-28Audaspace: use standalone library.Jörg Müller
- Added the cmake configuration option WITH_EXTERNAL_AUDASPACE. - Fixes to build without standalone library as well.
2015-07-28Audaspace: preparing to use standalone library.Jörg Müller
- Renamed some functions. - Using C API instead of C++ in the game engine, as the standalone is C++11.
2015-07-28Cycles: Correction to image extension setting commitSergey Sharybin
Technically it was all wrong and it should have been called Extend instead of Clip. Got confused by the naming in different libraries. More options are still to come.
2015-07-27Cycles: Final-ish tweaks for 32bit cubin compilationSergey Sharybin
2015-07-27Cycles: One more attempt to fix compilation of 32bit CUDA kernelsSergey Sharybin
2015-07-24Fix T45537: cycles bake crashes with motionblur onKévin Dietrich
The crash was due to baking with motion blur but without a camera. Reviewed by Brecht.
2015-07-24Cycles: Don't explicitly add debug passes, this is now handled via RNASergey Sharybin
2015-07-24Compile Fix: setenv() is not defined for mingw eitherJoshua Leung
2015-07-23Cycles: Previous commit broke compilation on WindowsSergey Sharybin
Apparently MSVC doesn't have setenv() function.
2015-07-23Fix T45381: Crash Blender 2.75 in Win7 x64 AMD cardSergey Sharybin
Previous fix didn't work well enough because on Windows Python has different environment than Blender ans setting variables in there made no effect from Blender point of view.
2015-07-23Cycles: Resolve compilation error of avx2 kernel with certain compilersSergey Sharybin
It was redefined macro happening with Clang 3.6 here.
2015-07-21Fix T43779: Cycles texture interpolation issuesSergey Sharybin
That was basically not an issue with interpolation, but rather missing wrapping options and periodic wrapping was always used. It's still a bit questionable why certain graphics cards were doing clamping in the file from the report, that's not something what is expected to happen from the settings of textures being passed to GPU. In any case this issue i still didn't manage to reproduce on any of the available GPUs, might be something related on driver glitch or so. In any case CPU now should behave just fine, rest of the issues we'll need to be able to reproduce first.
2015-07-21Cycles: Expose image image extension mapping to the image managerSergey Sharybin
Currently only two mappings are supported by API, which is Repeat (old behavior) and new Clip behavior. Internally this extension is being converted to periodic flag which was already supported but wasn't exposed. There's no support for OpenCL yet because of the way how we pack images into a single texture. Those settings are not exposed to UI or anywhere else and there should be no functional changes so far.
2015-07-21Cycles: Implement camera zoom motion blurSergey Sharybin
Works totally similar to camera motion blur and majority of the changes are related on just passing extra arguments to sync() functions. Couple of things still to look into: - Motion pass will not include motion caused by the zoom. - Only perspective cameras are supported currently. - Motion is being interpolated on projected coordinates, which might give different results from constructing projection matrix from interpolated field of view. This could be good enough for us, but we need to consider improving this at some point. Reviewers: juicyfruit, dingto Reviewed By: dingto Differential Revision: https://developer.blender.org/D1383
2015-07-21Cycles: Another attempt to solve CUDA compilation errors on 32bit platformsSergey Sharybin
2015-07-21Fix T45317: Cycles material preview unnecessarily re-renderingSergey Sharybin
The issue was caused by wrong fix for T22741 which forced redraws on any window event, like Expose. Use proper NV_WM | ND_UNDO listener instead,
2015-07-21Cycles: Workaround for sm_50 on 32bit platformSergey Sharybin
Basically this commit totally disables new SVN Voxel node, which solves some of the compiler's issues.
2015-07-20OpenSubdiv: Commit of OpenSubdiv integration into BlenderSergey Sharybin
This commit contains all the remained parts needed for initial integration of OpenSubdiv into Blender's subdivision surface code. Includes both GPU and CPU backends which works in the following way: - When SubSurf modifier is the last in the modifiers stack then GPU pipeline of OpenSubdiv is used, making viewport performance as fast as possible. This also requires graphscard with GLSL 1.5 support. If this requirement is not met, then no GPU pipeline is used at all. - If SubSurf is not a last modifier or if DerivesMesh is being evaluated for rendering then CPU limit evaluation API from OpenSubdiv is used. This only replaces the legacy evaluation code from CCGSubSurf_legacy, but keeps CCG structures exactly the same as they used to be for ages now. This integration is fully covered with ifdef and not enabled by default because there are several TODOs to be solved first: - Face varying data interpolation is not really cleanly implemented for GPU in OpenSubdiv 3.0. It is also not implemented for limit evaluation API. This basically means we'll have really hard time supporting UVs. - Limit evaluation only works with adaptivly subdivided meshes so far, which basically means all the points of CCG are pushed to the limit. This gives different result from old code. - There are some serious optimizations possible on the topology refiner creation, which would speed up initial OpenSubdiv mesh creation. - There are some hardcoded asumptions in the GPU and DerivedMesh areas which could be generalized. That's something where Antony and Campbell can help, making it so the code is structured in a way which is reusable by all planned viewport projects. - There are also some workarounds in the dependency graph to make sure OpenGL buffers are only freed from the main thread. Those who'll be wanting to make experiments with this code should grab dev branch (NOT master) from https://github.com/Nazg-Gul/OpenSubdiv/tree/dev There are some patches applied in there which we're working on on getting into upstream.
2015-07-20OpenSubdiv: Add new OpenSubdiv related filesSergey Sharybin
This includes C-API bindings in intern/opensubdiv and CMAke module which finds the OpenSubdiv library. This filea are not in use so far, making it a separate commit to make actual integration commit more clear.
2015-07-20Usual UI messages fixes.Bastien Montagne
2015-07-20Ugly hack to avoid GLEW context error printing when initializing GLX.Antony Riakiotakis
2015-07-20Fix T45218: Crash when trying to open System in the User preferencesSergey Sharybin
Fix T45381: Crash Blender 2.75 in Win7 x64 AMD card The issue is basically caused by graphics card driver which crashes when querying OpenCL platforms. This isn't something we can really solve from the CLEW side, because opencl.dll does exist in old driver and even has all the needed symbols, but first ever call to clGetPlatformIDs crashes. While rest of the blender works fine with those older ATI/AMD cards it's really needed to solve crashes of OpenCL device enumeration. Solution here is to force disable OpenCL platforms if we've detected that display card is using old ATI/AMD driver. It's not really proper solution so it's done in the python side where it's easy to do tweaks. Reasoning behind this change is: - If one uses really old driver it's likely because it's the latest one he/she can ever to install (because of discontinued support from AMD). - If old card is used it's likely to not have dedicated GPUs for rendering. - Even if there's a dedicated GPU device enumeration is likely to crash because of attempt to query OpenCL from the old card. There are still some tweaks needed likely, but this commit should make some of the configurations to work.
2015-07-20Fix broken GLEW initialization. Initialize GLEW twice, once to get GLXAntony Riakiotakis
extensions, once to get final context extensions. Not so nice because we get a warning on startup from GLEW, but at least it GL extensions should work now.
2015-07-20Pixel format selection now favours a format with a number of samplesAntony Riakiotakis
closer to the one requested on Windows. Patch D1384 by Benoit Bolsee.
2015-07-20Replace MFace use by MLoopTri w/ remash modifierCampbell Barton
D1419 by @lichtwerk
2015-07-20GHOST/X11: Support GLX-Context flagsCampbell Barton
GHOST_ContextGLX was incomplete, ignoring profile-mask and profile-flags.