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-12-05Cycles: Add dedicated Progress::set_error() callSergey Sharybin
Currently it acts the same as set_cancel(), but this way we're able to distinguish situations when rendering was aborted by user demand (for example pressing Esc in standalone renderer) or if something went horribly wrong (for example out of VRAM error).
2014-12-05Cycles: Early output from Scene::device_update when device error occursSergey Sharybin
This way for example we wouldn't wait a fortune while BVH is building after GPU run out of memory when loading images just to see the render failure message.
2014-12-05Cycles: Code cleanup, whitespaceSergey Sharybin
2014-12-04Cycles: Fix compilation error after recent logging changesSergey Sharybin
Forbid OSL from polluting current conext with obscure stuff from windows.h, it's not useful and unhealthy anyway. Maybe we sohuld also forbid using abbreviated Glog constants as well tho.
2014-12-03Cycles: Synchronize SCons with CMake in regard of loggingSergey Sharybin
2014-12-03Cycles: Support logging when building with SConsSergey Sharybin
Basically, title says ti all, the option is called WITH_BF_CYCLES_LOGGING
2014-12-03Cycles: Remove workaround in ShaderClosureSergey Sharybin
Since the aligned allocation of shader closures in OSL memory pool this workaround is no longer needed. Also put a comment which describes the desired layout of the structure so array of shader closures is all nicely aligned.
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: Remove workaround for missing sm_52 kernel, now we require it for ↵Thomas Dinges
Maxwell cards.
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-12-02Fixes for atomic operations when building with MSVCSergey Sharybin
2014-12-02Cycles: Use lock in the memory statisticsSergey Sharybin
CPU rendering is allowed to allocate memory from multiple threads, which means statistics need to be avare of this.
2014-11-30Fix T42426. Add support for UK "`" key.Alexandr Kuznetsov
Because key == OEM_8, there no clear conversion for different keyboard layouts. Also, we must map key to GhostKey for shortcuts.
2014-11-28Cycles: Only report exporting curves if there are particle systems on the objectSergey Sharybin
2014-11-28Cycles: Code cleanup, remove dead codeSergey Sharybin
2014-11-26Fix T42420: Touchpad zoom and scroll gester using touchpad stopped workingSergey Sharybin
Seems to be an own mistake on using Windows API.
2014-11-25Audaspace: File handle management for audio sequencingJörg Müller
Fixes the problem that for big sequences too many file handles were open at the same time. Changes the playback handles that the audio sequencing code manages to be closed and reopened when needed. The metric used is the current playback position in relation to the strip. If the strip is more than 10 seconds (configurable) away from the playback cursor, the handle is released and reopened when needed. See D915.
2014-11-24Politically correct terrible consequencer changesAntony Riakiotakis
This patch includes the work done in the terrible consequencer branch that hasn't been merged to master minus a few controversial and WIP stuff, like strip parenting, new sequence data structs and cuddly widgets. What is included: * Strip extensions only when slipping. It can very easily be made an option but with a few strips with overlapping durations it makes view too crowded and difficult to make out. * Threaded waveform loading + code that restores waveforms on undo (not used though, since sound_load recreates everything. There's a patch for review D876) * Toggle to enable backdrop in the strip sequence editor * Toggle to easily turn on/off waveform display * Snapping during transform on sequence boundaries. Snapping to start or end of selection depends on position of mouse when invoking the operator * Snapping of timeline indicator in sequencer to strip boundaries. To use just press and hold ctrl while dragging. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D904
2014-11-24Cycles: Speedup BVH build for certain compilersSergey Sharybin
The issue was noticed with gcc-4.7 (used by the release build environment) which didn't generate optimal enough code for BVH references swap. Seems it looked up for the assign operator for each of the reference structure members even though nothing special was required for assignment. Forcing compiler to use simple memory copy gives speedup of like 2-3 times. The issue doesn't happen with OSX's clang and new gcc-4.9, but since we're gonna to stick to gcc-4.7 for official releases for quite some time still it's nice to have performance issues resolved for all the compilers. Didn't put the code into #ifdef so if in the future some issues appears with alignment or assignment which need to happen as an operator we notice this earlier.
2014-11-24Cycles: Log time spent on the BVH buildSergey Sharybin
2014-11-22Cycles UI: Several fixes for recent additions...Thomas Dinges
* Alpha Property was removed (Fix T42690) * Some tweaks to make the panel look better again. * Use abreviated form "Multiple Importance" everywhere, for consistency.
2014-11-21Cycles: support for specular color in solid shading mode, available inAntony Riakiotakis
the material panel. Patch by Phillipp Oeser (D62) with some minor modifications, thanks!
2014-11-20Cycles: Remove dynamic library helper filesSergey Sharybin
They were only needed for CUDA wrangler. Since we've switched to CUEW this utility functions are no longer needed.
2014-11-20Cycles: Fix typo on graphiz graph dumperSergey Sharybin
2014-11-20Cleanup: Remove SD_BSDF_GLOSSY flag, unused.Thomas Dinges
2014-11-19Cycles: Missed some changes in the previous hair motion blur fixSergey Sharybin
So now cases when object has both hair motion blur and deformation motion blur vector pass is all correct. We could get rid of the flag in the future, still need to look deeper into all the areas trying to find a more clear solution.
2014-11-18Fix T42475: Vector motion blur on hairSergey Sharybin
Issue was caused by mismatch in pre/post transform matrix spaces for mesh and curve vectors. This happened because of current way how static transform apply works: it only stores post/pre in the world space if there's triangle motion exists. This lead to situation when there's no triangle motion happening but was hair motion happening. After long time of trying to solve it in a nice way, ended up solving it in a bit slow way -- pre/post transform is still storing in the same spaces as they used to be stored and just convert hair pre/post position to a world space in the kernel. This is because currently it's not so clear how to deal with cases when curve and mesh motion needs different space of pre/post transform (which happens in cases when only one of the motions exists). Would think of some magic, and meanwhile artists could be happy with proper render results.
2014-11-18Cycles: Add logging to blender curve segment exportingSergey Sharybin
2014-11-17Support dynamic loading of SDL librariesSergey Sharybin
This is mainly to address old issue when one need to have SDL library installed in order to use our official builds. Some hip distros already installs SDL, but it's not quite the same across all the variety of the distros. We also now switching to SDL-2.0, most of the distros have it in repositories already, so it shouldn't be huge deal to install it if needed. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D878
2014-11-17Fix for last commit, accidentaly removed transparent shadows property.Thomas Dinges
2014-11-16Cycles Standalone: Updates for Volume sampling.Thomas Dinges
2014-11-16Cycles: Remove Integrator volume sampling flag, that was moved to Shader.Thomas Dinges
2014-11-15Cycles: Revert changes to inline flags enabled for release onlySergey Sharybin
It appears it's not really needed for convenient debugging when using proper flags passed to the compiler. Basically, it is -g3 and set breakpoint to a function as if it's not in the namespace. Not as if a code was any wrong, just it's possible to have more clear solution for the issue i've tried to solve in the past.
2014-11-14skip scene_armature_depsgraph_workaround when theres no armaturesCampbell Barton
2014-11-14Reuse local view for UVs for previous commit, thanks to Campbell for theAntony Riakiotakis
suggestion. Also minor compile fix after viewport patch
2014-11-14Fix X11/GLX failing with multi-sampleCampbell Barton
Caused by D643, in fact we need to get the visualInfo before creating the window.
2014-11-13Cleanup: cmakeCampbell Barton
2014-11-13Cycles: Update some comments in volume code.Thomas Dinges
2014-11-13GHOST/X11: correct USE_X11_ERROR_HANDLERS defineCampbell Barton
2014-11-12Cycles: Prevent NaN and inf in area lamp sampling caused by precision issuesSergey Sharybin
This doesn't have noticeable affect on the render times, but avoids possible numerical issues.
2014-11-12Fix T41066: MSVC + AVX2 kernel causes artifacts in hair render.Thomas Dinges
The issue lies in the FMA functions, so disable them on Windows for now.
2014-11-12Cleanup, please follow existing style when adding new flags. ;)Thomas Dinges
2014-11-12Cleanup, typo fixes.Thomas Dinges
2014-11-11Fix T41783: Cycles baking ignores displacementDalai Felinto
Create unique flag for output shaders with displacement data and use it to calculate transformed normal. Implementation suggested by Brecht Van Lommel. Reviewers: brecht Differential Revision: https://developer.blender.org/D890
2014-11-11Fix T41873: Different 'seed' values do not yield different noise patterns ↵Dalai Felinto
when using cycles texture bake As per instructions by Brecht Van Lommel.
2014-11-10Cycles: Speedup for homogenous volumes in decoupled volume samplingSergey Sharybin
The idea is to avoid memory allocation when only one segment step is to be allocated. This gives some speedup which is difficult to measure on this trashcan from hell, but it's about from 7% to 10% in the extreme case with single volume filling the whole of the viewport. This seems to depends on the phase of the bug-o-meter in the studio. On the linux boxes it's not that spectacular speedup, it's about 2% on my laptop and about 3% on the studio desktop. This is likely because of the awesomeness of jemalloc.
2014-11-08Cycles: Remove dead branch for Distant lamps, ls->t is always FLT_MAX here.Thomas Dinges
2014-11-08Add safe_normalize to cycles, avoid checking length firstCampbell Barton
This won't give any big speedup, just avoids redundant sqrtf and may be useful in future. Differential Revision: https://developer.blender.org/D880
2014-11-08Cleanup: cycles whitespaceCampbell Barton
2014-11-07Cycles: Tweak to the expf() speed workaroundSergey Sharybin
Add compile-time check for particular glibc version which fixed the issue. This makes it so own-compiled blender is the fastest in the world, and the only issue remains what should we do for release builds. After some discussion with Campbell we decided to keep it as is for now because slowdown is not that much noticeable. We'll disable this workaround for release builds when all the majority of the distros will switch to the new version of glibc.