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
AgeCommit message (Collapse)Author
2016-03-25Cycles: Cleanup, indent nested preprocessor directivesSergey Sharybin
Quite straightforward, main trick is happening in path_source_replace_includes(). Reviewers: brecht, dingto, lukasstockner97, juicyfruit Differential Revision: https://developer.blender.org/D1794
2016-02-13Cleanup: Remove some OIIO code for versions prior to 1.5.Thomas Dinges
2016-02-11Cycles: Remove some ifdefs for OSL < 1.7.1.Thomas Dinges
That means that we now only support OSL 1.7.1 or newer. Please update libs or re-run install-depsh.sh.
2016-02-06Cleanup: Remove support for OSL versions < 1.6.Thomas Dinges
We can get rid of more ifdefs once all platforms are on OSL 1.7 soon.
2016-02-04Cycles: Implement approximate reflectance profilesSergey Sharybin
Using this paper: http://graphics.pixar.com/library/ApproxBSSRDF/paper.pdf This model gives less blurry results than the Cubic and Gaussian we had implemented: - Cubic: https://developer.blender.org/F279670 - Burley: https://developer.blender.org/F279671 The model is called "Christensen-Burley" in the interface, which actually should be read as "Physically based" or "Realistic". Reviewers: juicyfruit, dingto, lukasstockner97, brecht Reviewed By: brecht, dingto Subscribers: robocyte Differential Revision: https://developer.blender.org/D1759
2016-02-03Cycles: Cleanup, indentationSergey Sharybin
Not sure why it was mixed tabs and spaces, it's all just confusing in different editors.
2016-01-07Cycles: Update some API to be ready for OSL 1.6Sergey Sharybin
While previous code was already compiling with OSL 1.6 it was using some symbols which were considered deprecated in upstream. This commit adds some ifdefs, but soon we'll get rid of all them rather soon with the upcoming OIIO/OSL update.
2016-01-07Cycles: Update some types used form OSLSergey Sharybin
Some types were deprecated back in 2013, better to be prepared earlier for those types being removed from upstream.
2016-01-07Cycles: Refactor how we pass bounce info to light path node.Thomas Dinges
This commit changes the way how we pass bounce information to the Light Path node. Instead of manualy copying the bounces into ShaderData, we now directly pass PathState. This reduces the arguments that we need to pass around and also makes it easier to extend the feature. This commit also exposes the Transmission Bounce Depth to the Light Path node. It works similar to the Transparent Depth Output: Replace a Transmission lightpath after X bounces with another shader, e.g a Diffuse one. This can be used to avoid black surfaces, due to low amount of max bounces. Reviewed by Sergey and Brecht, thanks for some hlp with this. I tested compilation and usage on CPU (SVM and OSL), CUDA, OpenCL Split and Mega kernel. Hopefully this covers all devices. :)
2016-01-06Cycles: Fix possible buffer overflow in OIIO cache error messageSergey Sharybin
2016-01-06Fix T47120: CPU OSL Cycles crashes blender in latest GITSergey Sharybin
The issue was caused by leaking error messages caused by getting OIIO texture handle for built-in images.
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-12-18Cycles: Log OSL texture system statistics after finishing the renderSergey Sharybin
2015-12-18Cycles: Implement proper texture derivatives evaluation for OSLSergey Sharybin
This was an oldie TODO since initial work on newer OSL/OIIO support. Now we should be ready for the libraries bump.
2015-10-26Cleanup: Avoid some warnings on OS X with clang and update comment.Thomas Dinges
2015-10-10Fix various compiler warnings.Brecht Van Lommel
2015-10-05Cycles: Add some TODO comments about derivativesSergey Sharybin
2015-10-05Cycles: Fix for builtin textures when linking against OSL 1.6.8Sergey Sharybin
Issue was caused by changed function signature. This is still not really full support of new OSL API since we don't store anything in the derivatives which could confuse mipmapping.
2015-09-23Cycles: Support building with latest OSL-1.7devSergey Sharybin
So now the following OSL versions are supported (at least for compilation): - 1.5 with closure alignment patch applied - 1.6.8 release - 1.7 development version from latest git
2015-09-03Cycles: Fix missing packed images with newer versions of OSLSergey Sharybin
This isn't really complete fix, complete fix would require calculating derivatives via OIIO API, but supporting this will either end up with some code duplication or will require some non really safe changes at this release cycle.
2015-06-13Cycles: Silent paranoid uninitialized GCC warnings in release kernelsSergey Sharybin
2015-05-09Cycles: Add CPU compat headers to some of the OSL implementation filesSergey Sharybin
This header was already included into some of the implementation files already, and this change is needed for some upcoming changes in the way how kernel_types.h works.
2015-04-26Cleanup: Code style.Thomas Dinges
2015-04-06Cycles: Cleanup, spaces around assignment operatorSergey Sharybin
Did some bad spacing in recent commits, better to get rid of those so they does not confuse those who're working on sources.
2015-04-06Cycles: Avoid doing paranoid checks in filepath of builtin imagesSergey Sharybin
Originally we thought it's needed in order to distinguish builtin file from filename which starts with '@', but the filepath is actually full path there and it's unlikely to have file system where '@' is a proper root character. Surprisingly this does not give visible speed differences, but it's still nice to get rid of redundant check.
2015-04-06Cycles: Support bultin 3d textures with OSL backendSergey Sharybin
2015-03-30Cycles: Attempt to fix osl+scons compilationSergey Sharybin
Defines (and other cflags) are not inherited by scons to the subdirectories, need to take care of them in all nested SConscripts.
2015-03-27Cycles: Code cleanup, spaces around keywordsSergey Sharybin
This inconsistency drove me totally crazy, it's really confusing when it's inconsistent especially when you work on both Cycles and Blender sides. Shouldn;t cause merge PITA, it's whitespace changes only, Git should be able to merge it nicely.
2015-03-25Fix T44123: Cycles SSS renders black in recent buildsSergey Sharybin
Issue was introduced in 01ee21f where i didn't notice *_setup() function only doing partial initialization, and some of parameters are expected to be initialized by callee function. This was hitting only some setups, so tests with benchmark scenes didn't unleash issues. Now it should all be fine. This is to go to the 2.74 branch and we actually might re-AHOY.
2015-02-18Cleanup for Cycles hair shader ifdefs.Thomas Dinges
sc->T and sc->data2 were behind __HAIR__ ifdef, now they are not anymore, so we can always assign the correct value.
2015-02-02Cycles: OSL kernel now also ignores maybe-uninitializedSergey Sharybin
This is a bit of a mess because of the header dependency hell, but since the tweak is small enough it's gonna be fine.
2014-12-31Cycles: Post-reintegration tweaks to ensure things do compileSergey Sharybin
This commit contains all the tweaks which were missing in initial patch re-integration from the standalone Cycles repository. This commit also contains an utility cmake macro to help linking targets with different libraries for release/debug builds, the name currently is target_link_libraries_decoupled it gets a target and list of libraries and makes sure debug builds are using libraries with "_d" suffix. After all this changes it'll hopefully be easier to interchange patches between blender and standalone repositories, because they're now quite identical.
2014-12-31Cycles: Be ready for gflags namespace auto-detectSergey Sharybin
This way it is now possible to use gflags >= 2.1, where all the functions were moved from google to gflags namespace. This isn't currently used in blender, but for standalone repository this change is essential.
2014-12-25Cleanup: Fix Cycles Apache header.Thomas Dinges
This was already mixed a bit, but the dot belongs there.
2014-12-03Cycles: Synchronize SCons with CMake in regard of loggingSergey Sharybin
2014-12-03Cycles: Use 16 bytes aligned closures in OSLSergey Sharybin
This solves bugs like T42210 which are caused by compiler being smart and using some SSE instructions to operate with closure classes, which was failing because those classes are not allocated by the regular allocator but allocated in memory pool in OSL. With newer versions of OSL it is now possible to force closure classes being aligned to a given boundary and this commit uses this new functionality. Unfortunately, it means we're no longer compatible with older versions of OSL, only latest git version from upstream and our branch at github are supported: https://github.com/Nazg-Gul/OpenShadingLanguage/tree/blender-fixes For OSX and Windows it's not an issue because libraries are already updated there, Linux users would need to run install_deps script.
2014-12-02Cycles: Tweak to the include paths after recent atomics changeSergey Sharybin
Who could knew that include directories are not inherited in scons..
2014-11-28Cycles: Code cleanup, remove dead codeSergey Sharybin
2014-11-08Cleanup: cycles whitespaceCampbell Barton
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-10-08Cycles: enable double promotion warning /w gccCampbell Barton
2014-10-06Cycles: Move system headers include to the top of the filesSergey Sharybin
This is a good practice to do anyway, plus it'll help with the upcoming change.
2014-10-05Cycles: Forgot to set WITH_CYCLES_DEBUG for OSL kernelSergey Sharybin
2014-10-03Cycles: Remove Westin closure.Thomas Dinges
Was hooked up last year for testing purposes, as we already had some code for it, but the closure itself is not really good nor really useful, so let's remove it.
2014-09-24Cleanup: Avoid some defines for scene_intersect(), related to Min Width.Thomas Dinges
2014-09-05Cycles: Split caustics option, to allow separate control for Reflection and ↵Thomas Dinges
Refraction caustics. This way artists can only disable/enable refraction or reflection caustics. See Cycles logs for an example: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.72/Cycles Differential revision: https://developer.blender.org/D766
2014-08-05Fix T41276: OSL bug in getmessage ("trace", "geom:name" , output)Sergey Sharybin
2014-07-25Yet another OSL compilation fix...sorry.Thomas Dinges
2014-07-25Cycles: Drop old OSL closure compatibility code.Thomas Dinges
This was added to keep custom OSL scripts with Toon and SSS closure calls working. 1 year after the change, we can drop the compatibility code now.