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-06-20Fix for [#35230] CPU freeze at playback after cutting/deleting/duplicating ↵Joerg Mueller
audio strip
2013-06-19Cycles: optimized SSE BVH traversal now also works with SSE2 CPUs, so all theBrecht Van Lommel
way back to Pentium 4, using a slightly less efficient instruction. Also ensure /Ox is used for Visual Studio for RelWithDebInfo builds.
2013-06-19Cycles: prepare to make CUDA 5.0 the official version we useBrecht Van Lommel
* Add CUDA compiler version detection to cmake/scons/runtime * Remove noinline in kernel_shader.h and reenable --use_fast_math if CUDA 5.x is used, these were workarounds for CUDA 4.2 bugs * Change max number of registers to 32 for sm 2.x (based on performance tests from Martijn Berger and confirmed here), and also for NVidia OpenCL. Overall it seems that with these changes and the latest CUDA 5.0 download, that performance is as good as or better than the 2.67b release with the scenes and graphics cards I tested.
2013-06-19Fix for Debug build on MSVC2008 and MSVC2012 after Cycles Kernel optimization:Jürgen Herrmann
Compiler optimization was accidentally set to /Ox for debug build too. Changed this to be /Od in Debug and /Ox in Release mode.
2013-06-19Cycles / UI:Thomas Dinges
* Some tweaks to the material "Settings" panel.
2013-06-18Fix cycles crash on some processors. We actually need S-SSE3 support for thisBrecht Van Lommel
new BVH traversal code, not just SSE3.
2013-06-18Cycles: attempt to fix internal compile error with some visual studio buildsBrecht Van Lommel
2013-06-18Cycles BVH Build fix for MSVC 2012.Jürgen Herrmann
needs to include intrin.h for _BitScanForward and _BitScanReverse.
2013-06-18Cycles / BVH:Thomas Dinges
* GCC needs -mssse3 compile flag too (4.7.2) to compile.
2013-06-18Cycles: optimization for BVH traveral on CPU's with SSE3, using code from ↵Brecht Van Lommel
Embree. On the BMW scene, this gives roughly a 10% speedup overall with clang/gcc, and 30% speedup with visual studio (2008). It turns out visual studio was optimizing the existing code quite poorly compared to pretty good autovectorization by clang/gcc, but hand written SSE code also gives a smaller speed boost there. This code isn't enabled when using the hair minimum width feature yet, need to make that work with the SSE code still.
2013-06-18Cycles: add "Transparent Shadow" option for materials, to disable them per ↵Brecht Van Lommel
material.
2013-06-14fix for own error in recent solitify refactor (r57402), face flip check was ↵Campbell Barton
incorrect.
2013-06-14Cycles:Thomas Dinges
* Style cleanup for M_PI constants. * Move Wireframe node into __EXTRA_NODES__ define
2013-06-13Fix #35730: cycles not rendering dupliverted metaball, needs another specialBrecht Van Lommel
exception.
2013-06-13Fix #35729: cycles normal maps not showing properly in preview render.Brecht Van Lommel
2013-06-13Fix #35733: lamps on render layers that are both excluded and used for maskingBrecht Van Lommel
should not be used, same as emissive meshes.
2013-06-13Fix #35723: cycles motion blur rendering issue after recent optimizations to ↵Brecht Van Lommel
skip some unneeded object syncing.
2013-06-12Fix #35665: more CUDA issues with recent kernel changes, tested on sm_20, sm_21Brecht Van Lommel
and sm_30 cards, so hopefully it should all work now. Also includes some warnings fixes related to nvcc compiler arguments, should make no difference otherwise.
2013-06-11Fix #35711: cycles border render issue after recent changes.Brecht Van Lommel
2013-06-11Fix #35251: cycles crash rendering with a particular user preferences ↵Brecht Van Lommel
configuration.
2013-06-11Fix compilation error caused by recent wavelength node commitSergey Sharybin
Apparently, it's bad idea to rely on compiler to cast NULL which is (void*)0 to int -- and in fact if i was a compiler would also generate an error. Further, couldn't see why we need to pass NULL or 0 th add_node, argument value is defautl to 0 already.
2013-06-11Cycles / Wavelength to RGB node:Thomas Dinges
* Added a node to convert wavelength (in nanometers, from 380nm to 780nm) to RGB values. This can be useful to match real world colors easier. * Code cleanup: ** Moved color functions (xyz and hsv) into dedicated utility files. ** Remove svm_lerp(), use interp() instead. Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Wavelength Example render: http://www.pasteall.org/pic/show.php?id=53202 This is part of my GSoC 2013. (revisions 57322, 57326, 57335 and 57367 from soc-2013-dingto).
2013-06-11Fix cycles OSL node sockets not preserving values when updating with new code.Brecht Van Lommel
2013-06-11Cycles: ray visibility panel is now also available for the world, works same asBrecht Van Lommel
meshes and lamps. The light path node already made this possible but it's a bit faster to render this way and convenient.
2013-06-11Fix cycles backwards compatibility for specular_toon shader this actually needsBrecht Van Lommel
to be done in cycles itself to keep compatibility for bytecode too. Also fix broken button to compile OSL from the text editors, this got broken after recent change to disable editing of library linked nodes.
2013-06-10Attempt to fix #35665: disable correlated multi jitter sampling on the GPU ↵Brecht Van Lommel
for now, seems to be giving issues with CUDA 4.2 but I can't figure out why exactly.
2013-06-10Fix #35681: cycles excluded layers still got evaluated before and afterBrecht Van Lommel
rendering even if they were not used on any render layers.
2013-06-10Fix cycles OSL backwards compatibility for specular_toon, it got renamed to ↵Brecht Van Lommel
glossy_toon but we can keep the old name working too.
2013-06-10Custom Group Node type for extending existing nodes from python scripts. ↵Lukas Toenne
This is a sort of workaround for the lack of APIs in our existing node systems (compositor, cycles, BI, textures). These systems don't have any way to deal with scripted node types yet, which could in principle by added with pynodes. The NodeCustomGroup type adds a way of scripting nodes by automating node groups which the hardcoded system can then interpret like regular groups. The new NodeCustomGroup type has the basic node_tree pointer property like the regular group node types and also uses the same socket interface system as regular groups. This means that input/output sockets can be mapped to internal nodes in the same way as regular node groups in renderers and the compositor. On top of that, however, the NodeCustomGroup type can be subclassed in python scripts to flesh out scripted node types with own draw functions, properties, updates and so on. NB: Only cycles currently supports this node type and its derivatives, other systems may follow later.
2013-06-10Cycles / Wavelength to RGB node:Thomas Dinges
* Added a node to convert wavelength (in nanometer, from 380nm to 780nm) to RGB values. This can be useful to match real world colors easier. Example render: http://www.pasteall.org/pic/show.php?id=53202 ToDo: * Move some functions into an util file, maybe a common util_color.h or so. * Test GPU, unfortunately sm_21 doesn't work for me yet.
2013-06-09Fix #35696: cycles crash with no world assigned to scene, after recent changes.Brecht Van Lommel
2013-06-09Fix #35665: cycles CUDA crash after recent changes. This works around a compilerBrecht Van Lommel
bug in CUDA 4.2 (solved in 5.5) with typedef'd function parameters.
2013-06-09Cycles:Thomas Dinges
* Use float_to_int() functions in a few more places.
2013-06-09Fix related to #35681: avoid some unnecessary cycles updated when using excludeBrecht Van Lommel
render layers.
2013-06-09Fix compilation of cycles for MinGW-w64 after recent commits. MinGW-w64 has ↵Antony Riakiotakis
conflicting redefinitions of the SSE functions in windows.h, so we will be using this header instead, since we can't always avoid including it instead of the sse headers.
2013-06-08Cycles: invert mist pass so that 0 is nearby and 1 is far away. This is theBrecht Van Lommel
opposite of Blender Internal but it makes more sense I think.
2013-06-08Fix #35672: missing update when changing light ray visibility during ↵Brecht Van Lommel
viewport render.
2013-06-08Cycles / OpenCL:Thomas Dinges
* Fix for recent commits, ceilf is not available in OpenCL.
2013-06-08Cycles: window texture coordinates now work with orthographic cameras, thisBrecht Van Lommel
was an old issue since the first version.
2013-06-07Cycles: ray visibility options now work for lamps and mesh lights, with and ↵Brecht Van Lommel
without multiple importance sampling, so you can disable them for diffuse/glossy/transmission. The Light Path node here is still weak and does not give this info. To make that work we'd need to evaluate the shader multiple times which is slow and we can't detect well enough when it is actually needed.
2013-06-07Cycles: experimental correlated multi-jittered sampling pattern that can be usedBrecht Van Lommel
instead of sobol. So far one doesn't seem to be consistently better or worse than the other for the same number of samples but more testing is needed. The random number generator itself is slower than sobol for most number of samples, except 16, 64, 256, .. because they can be computed faster. This can probably be optimized, but we can do that when/if this actually turns out to be useful. Paper this implementation is based on: http://graphics.pixar.com/library/MultiJitteredSampling/ Also includes some refactoring of RNG code, fixing a Sobol correlation issue with the first BSDF and < 16 samples, skipping some unneeded RNG calls and using a simpler unit square to unit disk function.
2013-06-07Code cleanup: avoid some warnings due to implicit uint/int/float/double ↵Brecht Van Lommel
conversion.
2013-06-07Cycles: mist pass added, with start/depth/falloff control. If the pass isBrecht Van Lommel
enabled in a render layer a Mist Pass panel will be shown in the world properties.
2013-06-06style cleanupCampbell Barton
2013-06-05Cycles: GLSL materials now can use multiple UV maps with the attribute node.Brecht Van Lommel
2013-06-04Cycles:Thomas Dinges
* Revert r57203 (len() renaming) There seems to be a problem with nVidia OpenCL after this and I haven't figured out the real cause yet. Better to selectively enable native length() later, after figuring out what's wrong. This fixes [#35612].
2013-06-04Fix #35614: cycles objects on mask layer in render layers were writing passesBrecht Van Lommel
such as motion/uv/normal but they should have been excluded from them.
2013-06-04Fix build error on non-x86 architectures as pointed out by Jochen Schmitt.Brecht Van Lommel
2013-06-03Cycles / Math functions:Thomas Dinges
* Rename some math functions: len -> length len_squared -> length_squared normalize_len -> normalize_length * This way OpenCL uses its inbuilt length() function, rather than our own. The other two functions have been renamed for consistency. * Tested CPU, CUDA and OpenCL compile, should be no functional changes.
2013-06-02tweak to recent commit, don't show keymap in menu tooltips.Campbell Barton