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
2013-08-30Attempted fix for #36569: couldn't unmap memory errors on Windows. The ↵Brecht Van Lommel
guardedalloc optimizations were not entirely thread safe for mmap.
2013-08-30Cleaning up some prints related to SDL.Mitchell Stokes
2013-08-30Adding support for enabling/disabling vsync to Ghost_SDL.Mitchell Stokes
2013-08-30Fix part of #36594: 16 bit tiff not loading with correct color space in cycles.Brecht Van Lommel
2013-08-29Use static odifier for non-public functions in new sky model.Sergey Sharybin
2013-08-29correct own recent commit, malloc_usable_size() isn't valid for mmap()'d memory.Campbell Barton
2013-08-28Cycles: change Gaussian subsurface scattering falloff to be more similar toBrecht Van Lommel
the Cubic falloff, see here for details. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Subsurface_Scattering
2013-08-28Cycles / OpenCL:Thomas Dinges
* Some fixes for OpenCL, was broken after recent changes.
2013-08-28Cycles / Sky Texture:Thomas Dinges
* Added a new sky model by Hosek and Wilkie: "An Analytic Model for Full Spectral Sky-Dome Radiance" http://cgg.mff.cuni.cz/projects/SkylightModelling/ Example render: http://archive.dingto.org/2013/blender/code/new_sky_model.png Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Textures#Sky_Texture Details: * User can choose between the older Preetham and the new Hosek / Wilkie model via a dropdown. For older files, backwards compatibility is preserved. When we add a new Sky texture, it defaults to the new model though. * For the new model, you can specify the ground albedo (see documentation for details). * Turbidity now has a UI soft range between 1 and 10, higher values (up to 30) are still possible, but can result in weird colors or black. * Removed the limitation of 1 sky texture per SVM stack. (Patch by Lukas Tönne, thanks!) Thanks to Brecht for code review and some help! This is part of my GSoC 2013 project, SVN merge of r59214, r59220, r59251 and r59601.
2013-08-28should fix builds for osxCampbell Barton
2013-08-28include slop-space in debug statistics (gcc/clang only)Campbell Barton
2013-08-27Cycles / Standalone:Thomas Dinges
* Rename test to standalone. Note: New CMAKE flag is WITH_CYCLES_STANDALONE.
2013-08-24Fix issue in last subsurface commit with branched path tracing, was ↵Brecht Van Lommel
rendering too bright.
2013-08-24Cycles: reduce noise using regular path tracing + subsurface scattering withBrecht Van Lommel
new cubic and gaussian falloff. Like the branched path tracer, this will now shade all intersection points instead of using one at random.
2013-08-24skip building moto if its not needed.Campbell Barton
2013-08-24add GPL header to treehash.c and add missing includes to cmake.Campbell Barton
2013-08-24Cycles:Thomas Dinges
* Fix Cycles using wrong AA sample values, after integrator renaming.
2013-08-24Fix #36545: crash with branched path tracing, correlated multi-jitteredBrecht Van Lommel
sampling and subsurface scattering.
2013-08-24Followup to r59434 : py UI scripts edits.Bastien Montagne
Notes: * Made those edits by full checking of py files, so I should have spoted most needed edits, yet it remains quite probable I missed a few ones, we'll fix if/when someone notice it... * Also made some cleanup "on the road"!
2013-08-23Cycles: more code refactoring to rename things internally as well. Also changeBrecht Van Lommel
property name back so we keep compatibility.
2013-08-23Cycles: change Progressive sampling option in UI to an enum of "Path Tracing"Brecht Van Lommel
and "Branched Path Tracing", to try to make it more clear that this is not related to progressive refinement, non-progressive was always a bad name anyway.
2013-08-23Fix clang compile warning.Brecht Van Lommel
2013-08-23Code cleanup / Cycles:Thomas Dinges
* Some style tweaks for hair code.
2013-08-23Cycles / Sampling UI:Thomas Dinges
* Do not show Total Samples print for Progressive, when Square Samples are disabled. In this case it's obvious even without the print. :)
2013-08-23style cleanup: pep8Campbell Barton
2013-08-22Cycles / Sampling UI:Thomas Dinges
* Add a "Total Samples" info at the bottom of the panel. This makes understanding the Non-Progressive integrator easier, as it displays how many samples are used for the different ray types. * Rename Squared Samples to Square samples, to indicate that the action is not already done. The new Total Samples info should make this easier to understand now as well. Also added back for Progressive integrator, for consistency. Screenshot: http://www.pasteall.org/pic/show.php?id=57980
2013-08-21Fix #36526: SSS + hair crash after recent changes.Brecht Van Lommel
2013-08-20Fix compiler warning due to undefined BVH_FUNCTION_FEATURES with patch by ↵Brecht Van Lommel
Campbell, and a coverity warning about use of uninitialized variables with OSL.
2013-08-20Code cleanup / Cycles:Thomas Dinges
* Remove unused hair presets enum.
2013-08-20fix incorrect docs [#36518] Vector.rotate() does not return value as documentedCampbell Barton
2013-08-20Get rid of PATH_MAX in Ghost System X11Sergey Sharybin
The reason of this is because PATH_MAX is not guaranteed to be defined on all platforms and Hurd doesn't define it. So either we need to support arbitrary long file path or we need to define own maximum path length. The rule here would be: - If it's not big trouble to support arbitrary long paths (i.e. in ghost by using std::string instead of char*) then arbitrary long path shall be implemented. - For other cases to use PATH_MAX please include BLI_fileops.h which takes care of making sure PATH_MAX is defined. Additional change: get rid of own changes made yesterday which were supposed to make storage.c work fine in cases PATH_MAX is not define, but on the second though it lead to unneeded complication of the code. Thanks Campbell for review!
2013-08-19code cleanup: confirm include guards to our conventionCampbell Barton
2013-08-19Apparently sizeof(unsigned) is 4 bytes on both 32 and 64 bit platformsSergey Sharybin
For now assume sizeof(int) == 4 for all supported platforms, could be changed in the future. Added an assert to functions which depends on this this, so we'll easily notice bad things happening.
2013-08-19Fix [#36454] 'Tiles' settings in Render/Performance panel don't respect ↵Bastien Montagne
keyframes These are not animatable! Note this is the case of most (all?) render settings, maybe we should go over both Cycles and internal ones, there are still quite a bunch of them that are marked as animatable... :/
2013-08-19Forgot this in previous commitSergey Sharybin
Solves compilation issues on Win and OSX -- svn merge -r59180:59181 ^/branches/soc-2013-depsgraph_mt
2013-08-19Speedup for guarded allocatorSergey Sharybin
- Re-arrange locks, so no actual memory allocation (which is relatively slow) happens from inside the lock. operation system will take care of locks which might be needed there on it's own. - Use spin lock instead of mutex, since it's just list operations happens from inside lock, no need in mutex here. - Use atomic operations for memory in use and total used blocks counters. This makes guarded allocator almost the same speed as non-guarded one in files from Tube project. There're still MemHead/MemTail overhead which might be bad for CPU cache utilization
2013-08-19Commit atomic operations fileSergey Sharybin
Not currently used, but needed for some further changes
2013-08-19Added check for whether thread lock is being removed while thread is using ↵Sergey Sharybin
guarded alloc. -- svn merge -r58788:58789 ^/branches/soc-2013-depsgraph_mt
2013-08-19style cleanup: indent/whitespaceCampbell Barton
2013-08-19Cycles:Thomas Dinges
* Fix 16 byte alignment for constant hair kernel data.
2013-08-19Cycles / SSS:Thomas Dinges
* OSL rendered Black with Compatible Fallof option, fixed. Note: OSL uses compatible scattering when "Compatible" or "Bicubic" is selected. I guess compatible will be removed later? If not we need to fix this properly.
2013-08-18Fix compile of last commitStuart Broadfoot
2013-08-18Cycles: relicense GNU GPL source code to Apache version 2.0.Brecht Van Lommel
More information in this post: http://code.blender.org/ Thanks to all contributes for giving their permission!
2013-08-18Cycles: Subsurface ScatteringBrecht Van Lommel
New features: * Bump mapping now works with SSS * Texture Blur factor for SSS, see the documentation for details: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Subsurface_Scattering Work in progress for feedback: Initial implementation of the "BSSRDF Importance Sampling" paper, which uses a different importance sampling method. It gives better quality results in many ways, with the availability of both Cubic and Gaussian falloff functions, but also tends to be more noisy when using the progressive integrator and does not give great results with some geometry. It works quite well for the non-progressive integrator and is often less noisy there. This code may still change a lot, so unless you're testing it may be best to stick to the Compatible falloff function. Skin test render and file that takes advantage of the gaussian falloff: http://www.pasteall.org/pic/show.php?id=57661 http://www.pasteall.org/pic/show.php?id=57662 http://www.pasteall.org/blend/23501
2013-08-18Updates for the Cycle Hair UI. With the following changesStuart Broadfoot
- Removed the cycles subdivision and interpolation of hairkeys. - Removed the parent settings. - Removed all of the advanced settings and presets. - This simplifies the UI to a few settings for the primitive type and a shape mode.
2013-08-17Cycles / Sky Model:Thomas Dinges
* Replaced the Preetham model with the newer Hosek / Wilkie model: "An Analytic Model for Full Spectral Sky-Dome Radiance" http://cgg.mff.cuni.cz/projects/SkylightModelling/ * We use the sample code data, which comes with the paper, but removed some unnecessary parts, we only need the xyz version. * New "Albedo" UI paraemeter, to control the ground albedo (between 0 and 1). * Works with SVM only atm (CPU and CUDA). Example render: http://www.pasteall.org/pic/show.php?id=57635 ToDo / Open Questions: * OSL still uses the old model, will be done later. In the meantime it's useful to compare the two models this way. * The new model needs a much weaker Strength value (0.01), otherwise it's white. Can this be fixed? * Code cleanup.
2013-08-16Merged revision(s) 59108-59184 from trunk/blender into soc-2013-dingto. Thomas Dinges
2013-08-16Cycles / Motion Blur:Thomas Dinges
* Added a new panel "Settings" to the object tab. * Motion blur can now be enabled/disabled on a per object basis, so we can disable motion blur for certain objects. * Also added some code for the Motion Multiplier, to weaken/strengthen the motion effect per object, but that is still disabled and hidden from the UI.
2013-08-15Blender might be compiled without guardedalloc againSergey Sharybin
This is useful for benchmark tests, to make CPU cache utilization as good as we could with current design.
2013-08-15Adding a new state for sound handles in audaspace: stopped.Joerg Mueller
Now sounds that stopped playing but are still kept in the device can be differentiated from paused sounds with this state. This should also fix the performance issues mentioned in [#36466] End of SequencerEntrys not set correctly. Please test if sound pausing, resuming and stopping works fine in the BGE and sequencer, my tests all worked fine, but there might be a use case that needs some fixing.