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-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-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.
2013-08-14Cycles:Thomas Dinges
* Remove an unneeded return in shader_bsdf_eval(), function is void. * if / else if tweak in shader_bsdf_ao().
2013-08-14include order change for osl, fixes gcc compile error - undefined uintptr_tCampbell Barton
2013-08-13Code cleanup:Thomas Dinges
* Some typo fixes.
2013-08-12Fix #36437 Cycles no longer rendering Emitter object (Particle Systems). The ↵Lukas Toenne
change r58999 was ignoring the "show_emitter" setting by particles (the result would be the same as long as hair was not used). If particle emitters are forced to show all other of the usual duplicator hiding should be disabled.
2013-08-11Code cleanup / Cycles:Thomas Dinges
* Remove unused "PathThroughput" variable. * Don't compile unused voronoi code, we only use Distance Squared atm. * Various typo and comment fixes.
2013-08-11Code cleanup / Cycles:Thomas Dinges
* Rename "curve_kernel_data" to just "curve", to avoid redundant naming.
2013-08-10Code cleanup / Cycles:Thomas Dinges
* Remove code for the unused Wave texture variations. We have quite some unused code in the texture area, I guess it doesn't harm to clean a bit up here. We can always get the code back from SVN if we need something.
2013-08-10Cycles:Thomas Dinges
* GPU kernel can now be compiled without __NON_PROGRESSIVE__ again, was broken after my last commit. Also add a check for have_error(), in case the GPU kernel comes without Non-Progressive, to avoid a crash. * Don't compile progressive kernel twice on CPU, if __NON_PROGRESSIVE__ would be disabled there.
2013-08-09Fix cycles not rendering with 1x1 resolution anymore, not so common for usersBrecht Van Lommel
but nice for debugging.
2013-08-09Fix cycles passes UI panel to line up better.Brecht Van Lommel
2013-08-09Cycles / Non-Progressive integrator:Thomas Dinges
* Non-Progressive integrator is now available on the GPU (CUDA, sm_20 and above). Implementation details: * kernel_path_trace() has been split up into two functions: kernel_path_trace_non_progressive() and kernel_path_trace_progressive(). * We compile two CUDA kernel entry functions (in kernel.cu) for the two integrators, they are still inside one .cubin file but due to the kernel separation there should be no performance problem. I tested with the BMW file on my Geforce 540M and the render times were the same for 100 samples (1.57 min in my case). This is part of my GSoC project, SVN merge of r59032 + manual merge of UI changes for this from my branch.
2013-08-07Fix #36355: cycles render of objects with both duplis and hair would not renderBrecht Van Lommel
the hair in some cases.