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-12-17Changes to partial update during renderingSergey Sharybin
Summary: Mainly addressed to solve old TODO with color managed fallback to CPU mode when displaying render result during rendering. That fallback was caused by the fact that partial image update was always acquiring image buffer for composite output and was only modifying display buffer directly. This was a big issue for Cycles rendering which renders layers one by one and wanted to display progress of each individual layer. This lead to situations when display buffer was based on what Cycles passes via RenderResult and didn't take layer/pass from image editor header into account. Now made it so image buffer which partial update is operating with always corresponds to what is set in image editor header. To make Cycles displaying progress of all the layers one by one made it so image_rect_update switches image editor user to newly rendering render layer. It happens only once when render engine starts rendering next render layer, so should not be annoying for navigation during rendering. Additional change to render engines was done to make it so they're able to merge composite output to final result without marking tile as done. This is done via do_merge_result argument to end_result() callback. This argument is optional so should not break script compatibility. Additional changes: - Partial display update for Blender Internal now happens from the same thread as tile rendering. This makes it so display conversion (which could be pretty heavy actually) is done in separate threads. Also gives better UI feedback when rendering easy scene with small tiles. - Avoid freeing/allocating byte buffer for render result if it's owned by the image buffer. Only mark it as invalid for color management. Saves loads of buffer re-allocations in cases when having several image editors opened with render result. This change in conjunction with the rest of the patch gave around 50%-100% speedup of render time when displaying non-combined pass during rendering on my laptop. - Partial display buffer update was wrong for buffers with number of channels different from 4. - Remove unused window from RenderJob. - Made image_buffer_rect_update static since it's only used in single file. Reviewers: brecht Reviewed By: brecht CC: dingto Differential Revision: http://developer.blender.org/D98
2013-12-17Cycles / OpenCL: Fix compile error on OS XThomas Dinges
After update to Mac OS X 10.9.1, OpenCL works now on my Intel CPU in the 2013 Macbook Pro (even the entire kernel). The Intel Iris Pro GPU still segfaults here though, even when all flags are disabled (building "clay like" kernel only). Maybe we need the -no-missing-prototypes for AMD hardware still, but I couldn't find a way to distuinguish here.
2013-12-16Fix T37827: cycles XML mesh export utility not longer worked.Brecht Van Lommel
2013-12-14Fix T37816: make cycles panel registration work better with addons.Peter Staples
This would give an error when an addon removed a panel.
2013-12-14Fix T37810: GLSL dither shader not working on OS X.Brecht Van Lommel
The GLSL function textureSize() is not supported here, only when we start using OpenGL core profile will this work. For now check the supported GLSL version and use a somewhat slower replacement.
2013-12-14Fix T37264: cycles CPU render had limited number of float images, bumped to ↵Thomas Dinges
1024. GPU is still limited to 5, but there's no good reason for the CPU to be limited.
2013-12-14Code cleanup / Cycles: Remove some unused hair code.Thomas Dinges
2013-12-13Cycles: CUDA runtime kernel compilation can now find CUDA 6.0.Brecht Van Lommel
2013-12-13Implement GPU-side ditherSergey Sharybin
Summary: Uses some magic pseudo-random which is actually a texture coordinate hashing function. TODOs: - Dither noise is the same for all the frames. - It's different from Floyd's dither we've been using before. - Currently CPU and GPU dithering used different implementation. Ideally we need to use the same dither in CPU. Reviewers: brecht Reviewed By: brecht Differential Revision: http://developer.blender.org/D58
2013-12-12Code Cleanup: use static for sky_model_data.hCampbell Barton
2013-12-12Attempt to fix compilation error on Debian armel kernelSergey Sharybin
2013-12-11Attempt to fix compilation against libav-0.8.9Sergey Sharybin
2013-12-11Cache limiter cleanup and small fixesSergey Sharybin
- Made code a bit less cluttered to follow - Fixed possible deadlock when enforcing limit and highest priority element is still referenced.
2013-12-10Fix T37704: cycles hair render error with hair density vertex group.Brecht Van Lommel
Zero length hairs were causing problems, now it skips rendering them as they are invisible anyway.
2013-12-10Fix T37694: cycles particles emitter object rendering when it shouldn't.Brecht Van Lommel
This was broken by a recent bugfix for T37159.
2013-12-09Fix build error when building without OSL support.Brecht Van Lommel
2013-12-08Cycles OSL: update to build with latest OSL master shader group changes.Brecht Van Lommel
2013-12-08Style: use frozen setsCampbell Barton
2013-12-08Cycles: Update stdosl.h to OSL 1.4.0. (includes new aastep functions).Thomas Dinges
2013-12-08Code cleanup: UI cleanup for cycles UI code and fix typo in system info.Thomas Dinges
2013-12-08Bummer, forgot to test with OSL disabled.Sergey Sharybin
2013-12-08Extend system-info with information about OIIO, OCIO and OSLSergey Sharybin
Summary: Version of those libraries might be useful to know. - OIIO and OCIO is exposed via bpy.app.oiio and bpy.app.ocio. There're "supported", "version" and "version_string" defined in those modules. - OSL is available as _cycles.osl_version and _cycles.osl_version_string. Reviewers: campbellbarton Reviewed By: campbellbarton CC: dingto Differential Revision: http://developer.blender.org/D79
2013-12-07Cycles: network render code updated for latest changes and improvedMartijn Berger
This actually works somewhat now, although viewport rendering is broken and any kind of network error or connection failure will kill Blender. * Experimental WITH_CYCLES_NETWORK cmake option * Networked Device is shown as an option next to CPU and GPU Compute * Various updates to work with the latest Cycles code * Locks and thread safety for RPC calls and tiles * Refactored pointer mapping code * Fix error in CPU brand string retrieval code This includes work by Doug Gale, Martijn Berger and Brecht Van Lommel. Reviewers: brecht Differential Revision: http://developer.blender.org/D36
2013-12-07Cycles: show remaining render time in render info textThomas Laroche
It's a simple estimate, not very precise but that isn't really possible always. For progressive render it will become more accurate the longer you render. Reviewed By: brecht Differential Revision: http://developer.blender.org/D67
2013-11-30Woo Hoo. First git commit.Alexandr Kuznetsov
Changes for VC2013 Now, I can build Blender with VC2013 with Cycles, Collada, OpenExr,OpenImageIO disabled. Also, you need VC2008 sp1 installed to make old libs compatible.
2013-11-29Cycles OSL: fix mistake in recent refactoring, parameters are not set before ↵Brecht Van Lommel
setup.
2013-11-29Cycles OSL: refactoring to remove all dependencies on builtin OSL closures.Brecht Van Lommel
These were removed in new OSL versions. We only used these as base classes, not using them at all simplifies the code a bit.
2013-11-29Fix iTaSC build error when building with libc++.Brecht Van Lommel
This was using TreeElement before it was fully defined, which gives undefined behavior that happened to work with other libraries but not libc++. Based on patch by Marcus von Appen, modifications for brevity and to ensure we don't dereference invalid memory. Ref T37477.
2013-11-28Cycles: experimental OpenSubdiv code.Brecht Van Lommel
This code can't actually be enabled for building and is incomplete, but it's here because we know we want to support this at some point and there's not much reason to have it in a separate branch if a simple #ifdef can disable it.
2013-11-28Cycles: experimental OSL ptex reading code.Brecht Van Lommel
This code can't actually be enabled for building and is incomplete, but it's here because we know we want to support this at some point and there's not much reason to have it in a separate branch if a simple #ifdef can disable it.
2013-11-28Cycles: add ptex face ID and UV attributes.Brecht Van Lommel
Not the most memory efficient way to store these things but it's simple and implementing it better requires some work to natively support subd grids as a primitive in some way.
2013-11-28Cycles: remove approximate subdivision surface with gregory patches code.Brecht Van Lommel
It was never fully implemented and will be replaced by OpenSubdiv. Only linear subdivision remains now. Also includes some refactoring in the split/dice code, adding a SubdParams struct to pass around parameters more easily.
2013-11-27Fix T37159: cycles rendering particle emitter mesh incorrectly when using ↵Brecht Van Lommel
non-hair particles.
2013-11-26Fix mistake in last commit with submodules.Brecht Van Lommel
2013-11-26Fix T37303, Fix T37163: cycles mask layers that are also excluded not renderingBrecht Van Lommel
correct with multiple render layers. This case is somewhat weak, we now do a few more checks on sync than I would like, but it's not too bad.
2013-11-25CMake Build: option to compile without opennl/superlu.Campbell Barton
2013-11-25Cycles: Add missing unregister for world ray visibility pointer.Thomas Dinges
2013-11-24UI List: remove separate name text fields.Brecht Van Lommel
It was never the intention to have these separate, and now that we can rename directly in the list there is no more need for them.
2013-11-23Fix scons build error compiling 32 bit OS X built on 64 bit.Brecht Van Lommel
2013-11-23Fix cycles build error with visual studio, apparently the windows ABI does notBrecht Van Lommel
like 16 bit alignment on 32 bit.
2013-11-22Cycles: test code for sse 4.1 kernel and alignment for some vector types.Martijn Berger
This is mostly work towards enabling the __KERNEL_SSE__ option to start using SIMD operations for vector math operations. This 4.1 kernel performes about 8% faster with that option but overall is still slower than without the option. WITH_CYCLES_OPTIMIZED_KERNEL_SSE41 is the cmake flag for testing this kernel. Alignment of int3, int4, float3, float4 to 16 bytes seems to give a slight 1-2% speedup on tested systems with the current kernel already, so is enabled now.
2013-11-22Code Cleanup: use NULL for pointer checks and remove joke.Campbell Barton
2013-11-22Cycles: Add a "Normal" input socket to the Layer Weight node + GLSL drawing ↵Thomas Dinges
code. Patch by lichtwerk (Philipp Oeser). Differential Revision: http://developer.blender.org/D28
2013-11-20Fix IRC reported by elubie: windows crash with audio animationJörg Müller
There was a bug in how the iterators of STL list was used when erasing during iteration of a list, which was triggered by the STL implementation of MSVC, but hid well with gcc.
2013-11-18Cycles: change __device and similar qualifiers to ccl_device in kernel code.Brecht Van Lommel
This to avoids build conflicts with libc++ on FreeBSD, these __ prefixed values are reserved for compilers. I apologize to anyone who has patches or branches and has to go through the pain of merging this change, it may be easiest to do these same replacements in your code and then apply/merge the patch. Ref T37477.
2013-11-17OSX/scons: small reorder and spellingJens Verwiebe
2013-11-17OSX/scons: fix msgfmt binary linking and locale files distributionJens Verwiebe
2013-11-16Further tweak to .mo compilation on windowsSergey Sharybin
Was wrong dependency used for msgfmt custom command.
2013-11-16Attempt to fix compilation error on windowsSergey Sharybin
Seems simply need to add .exe to msgfmt executable when adding custom command to SCons. Don't have windows by hand atm, so can not test for sure.
2013-11-15Add functional and cctype headers to msgfmt.ccSergey Sharybin
Fixes compilation with MSVC compilers. Patch by leszekswirski (Lech Swirski) with some own tweaks. Differential Revision: http://developer.blender.org/D2