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
2016-05-06Cycles: Comment out unused function argumentsSergey Sharybin
2016-05-05Code cleanup: simplify SVM stack assignment.Brecht Van Lommel
2016-05-05Code cleanup: remove some unused functions.Brecht Van Lommel
2016-05-05Code refactor: reduce special node types, use generic constant folding.Brecht Van Lommel
2016-05-05Fix Cycles emission node being unnecessarily tagged as spatially varying.Brecht Van Lommel
2016-05-04Cycles: Fix hair minimal size doesn't work on GPU and SSE2 only CPUsSergey Sharybin
2016-05-04Fix T48346: Transparent shadows do not work for instanced objectsSergey Sharybin
2016-05-02Fix compilation error on Armel architectureSergey Sharybin
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_n are not defined on this architecture for some reason, however those functions are available. Adding a workaround for newly used __sync_fetch_and_and() function.
2016-05-01Fix Cycles external OSL shader not working with relative file paths.Brecht Van Lommel
2016-04-29Cleanup: warnings. spellingCampbell Barton
2016-04-29Fix T48298: Cycles World environment Texture node, movie doesn't update frameSergey Sharybin
2016-04-29Fix T48301: Cycles incorrect render with CMJ and viewport samples 0.Brecht Van Lommel
Max samples 2147483647 was causing integer overflow.
2016-04-26Cycles: Improve logging about motion blur a bitSergey Sharybin
2016-04-25Cycles: Proper pack of leaves which are bigger than single float4Sergey Sharybin
2016-04-25Cycles: Fix issues with stack allocator in MSVCSergey Sharybin
Couple of issues here: - Was a bug in heap memory allocation when run out of allowed stack memory. - Debug MSVC was failing because it uses separate allocator for some sort of internal proxy thing, which seems to be unable to be using stack memory because allocator is being created in non-persistent stack location.
2016-04-25Cycles: Move vector re-allocation out of loopsSergey Sharybin
2016-04-25Cycles: Don't pass RNA pointers by vlaueSergey Sharybin
2016-04-23GHOST/X11: print description of error eventCampbell Barton
2016-04-23Fix T48216: Cycles light fallof node gives black emission in baking.Brecht Van Lommel
2016-04-22Fix T48236: OpenVDB smoke cache glitches out with smokeless flames.Kévin Dietrich
Issue was that before writing to disk grids are clipped against the density field's tree to optimize for memory/disk space, which in the case of simulations with no density field results in all grids having empty trees. For now avoid clipping against empty grids, but perhaps in the future it can be interresting to have some UI parameters to let the user choose the grid used for clipping.
2016-04-22Silence some annoying warnings when doing full build with strict flagsSergey Sharybin
This mainly touches extern libraries and few debug-only places in intern. Some summary: - External libraries are not strict at all about missing declarations, so we can rather safely remove such warning together with other strict flags. - Bullet has some static functions which are not used. Those were commented out. - Carve now has some unused debug-only functions commented out as well. While we're on the way of getting rid of Carve, it makes sense to make things a bit cleaner for the time being. - In LZMA we have some parts disabled which gives some set but unused variables which is rather correct. - Elbeem had quite some variables set and never used because their usage is inside of debug-only code which is commented out. Note about patching upstream libraries: surely one might say that we have to make local patchset against this, but own experience says it only gives extra work trying to merge such tweaks to a new upstream version and usually it's just faster to re-apply such fixes again after bundling new upstream library.
2016-04-22Cycles: Reduce verbosity of loggingSergey Sharybin
Mainly makes logging less verbose when doing progressive sampling in viewport. Such kind of verbosity is not really possible to be filtered out with `grep` so let's reshuffle few lines of code.
2016-04-22NDof device: Check for socket exists before connecting to spnavdSergey Sharybin
This allows us to get rid of annoying and misleading error printed to the console about being unable to connect to something.
2016-04-20Cycles: Multi-thread object transform updateSergey Sharybin
Simple idea, use threads when dealing with "Copying Transformations to device" scene update step. Only do it if there's enough objects in the scene. Hopefully only brings less synchronization time and doesn't break anything. From tests on my desktop this brings down transform update time from 58sec to 11sec on victor_cpu.blend scene from out benchmark.
2016-04-20Cycles: Stop rendering when bad_alloc happensSergey Sharybin
This is an attempt to gracefully handle out-of-memory events and stop rendering with an error message instead of a crash. It uses bad_alloc exception, and usually i'm not really fond of exceptions, but for such limited use for errors from which we can't recover it should be fine. Ideally we'll need to stop full Cycles Session, so viewport render and persistent images frees all the memory, but that we can support later, since it'll mainly related on telling Blender what to do. General rules are: - Use as less exception handles as possible, try to find a most geenric pace where to handle those. For example, ccl::Session. - Threads needs own handling, exception trap from one thread will not catch exceptions from other threads. That's why BVH build needs own thing. Reviewers: brecht, juicyfruit, dingto, lukasstockner97 Differential Revision: https://developer.blender.org/D1898
2016-04-20Cycles: Throw bad_alloc exception when custom allocators failed to allocate ↵Sergey Sharybin
memory This mimics behavior of default allocators in STL and allows all the routines to catch out-of-memory exceptions and hopefully recover from that situation/
2016-04-20Cycles: Use threads to sort reference arrays when searching for splitSergey Sharybin
This commits implements threaded sorting of references when looking for object spatial split. It mainly useful when doing initial binning, which happens from main thread. Gives nice speedup of BVH build for Bunny.blend: 36sec vs. 55sec for the Rabbit mesh BVH build. On more complex scenes the speedup is probably minimal, but still nice to have more instant rendering for simplier scenes. Some further tests with production scenes would be interesting. Reviewers: juicyfruit, dingto, lukasstockner97, brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D1928
2016-04-20Cycles: Avoid reference copySergey Sharybin
2016-04-20Fix T47794: Point density sometime seems stretched when rendered on GPUSergey Sharybin
2016-04-20Fix T48162: GPU render gives wrong results in certain volume setupsSergey Sharybin
ideally this part of code should be de-duplicated across __VOLUME_INTERSECT_ALL and regular code.
2016-04-20Fix T47812: GPU renders have warmer colors than CPU rendersSergey Sharybin
Seems was a mistake in f2c54df, volume attributes are not supposed to have repeated texture type.
2016-04-19Cycles: Improvements and fixes for the resumable renderSergey Sharybin
- Fix wrong current sample reported in the log - Also includes fix for progressive refine log - Explicitly print to the stdout that resumable render is enabled - Print error message and abort when passing wrong values for the resumable render. Never waste someone's compute power for wrong render! Fixes T48185: Cycles resumable num chunks breaks sample counter
2016-04-18Cycles microdisplacement: add max subdivision settingMai Lavelle
This is to prevent situations such as when the camera gets very close to a mesh and causes it to be tessellated into an excessive amount of micropolygons. In REYES this is known as the eye-splits problem. Reviewed By: brecht Differential Revision: https://developer.blender.org/D1922
2016-04-18Cycles microdisplacement: fix handling of triangles in DiagSplitMai Lavelle
Theres still more room for improvement but this makes things useable. Reviewed By: brecht Differential Revision: https://developer.blender.org/D1921
2016-04-17Cycles microdisplacement: scene level render and preview dicing ratesMai Lavelle
This makes it easier to control overall dicing rate without having to tweak every object. The preview rate makes viewport editing more interactive. The default preview rate of 8 is roughly 64 times faster for some operations. Reviewed By: brecht Differential Revision: https://developer.blender.org/D1919
2016-04-17Fix a few compiler warnings with OS X / clang.Brecht Van Lommel
2016-04-16Cycles: Refactor Image Texture limits.Thomas Dinges
Instead of treating Fermi GPU limits as default, and overriding them for other devices, we now nicely set them for each platform. * Due to setting values for all platforms, we don't have to offset the slot id for OpenCL anymore, as the image manager wont add float images for OpenCL now. * Bugfix: TEX_NUM_FLOAT_IMAGES was always 5, even for CPU, so the code in svm_image.h clamped float textures with alpha on CPU after the 5th slot. Reviewers: #cycles, brecht Reviewed By: #cycles, brecht Subscribers: brecht Differential Revision: https://developer.blender.org/D1925
2016-04-16Cycles: Insert util_texture.h in CMakeLists to make Cycles compile again ↵Thomas Beck
after recent refactory.
2016-04-16Cleanup: Move texture definitions to util, to avoid bad level include.Thomas Dinges
2016-04-15Fix T48139: Checker texture strange behavior in cyclesSergey Sharybin
Seems particular CUDA implementations has some precision issues, which made integer coordinate (which was expected to always be positive) to go negative.
2016-04-15Cycles: Optimization to spatial BVH buildSergey Sharybin
Simple fix: release lock earlier. Reduces spatial split build time from 96 to 53sec on the Bunny.blend (using studio Intel for benchmark). NOTE: Timing difference is not that spectacular when comparing numbers with builds before memory optimization, but even then it's about 20% faster build.
2016-04-15Cycles: Support heat volume attributeSergey Sharybin
Similar to velocity, it was kind of supported by the mesh manager but was missing a code in BlenderSession to get actual values. In Cycles Heat is an attribute which goes from -1 to 1, where -1 is the coldest ever temperature, 1 is the hottest ever one.
2016-04-15Cycles: Improve error print a bitSergey Sharybin
2016-04-14Cycles: Yet another fix for camera in volumeSergey Sharybin
Was an embarrassing glitch in original optimization policy, the for-loops can't be de-duplicated here.
2016-04-13Cycles: Resolve ridiculous amount of memory used by spatial split builderSergey Sharybin
This was only visible on systems with lots of threads and root of the issue was that we've been pre-allocating too much memory for all the threads. Now we only pre-allocate data for the main thread and rest of the threads does allocation on-demand. This brings down memory usage from 36Gig to 6.9Gig when building spatial split for the Bunny.blend file on our Intel beast. Originally regression was happened by the threaded spacial split builder commit.
2016-04-13Fix T47813: Cycles Standalone not respecting integrator sample_clamp_directSergey Sharybin
2016-04-13Cleanup string includes after versioning commitsThomas Dinges
2016-04-13Show version number in UI as wellThomas Dinges
2016-04-13Tweaks to the version string formationSergey Sharybin
Couple of things: - No need to use string streams to format the version string, we can do it at compile time and don't bother with anything at runtime. - Function declaration was wring and would have caused linking conflicts in cases when util_version.h was included from multiple places. We should have an utility function to get Cycles version so applications which are linked to Cycles dynamically can query the version, but that can't be done as an inlined function in header and would need to be a function properly exported to a global symbol table (aka, be implemented in a .cpp file).
2016-04-13Add a version number to Cycles standaloneThomas Dinges
Now Cycles has its own versioning, that is mainly interesting for external projects, which integrate the engine. We start with version 1.7.0. Reasons for that: * The engine is too mature for a 1.0 release. * We assume that Cycles inside of Blender 2.61 was version 0.1. We count upwards in 0.1 steps, therefore Cycles inside of Blender 2.77 would be 1.7. We use a common versioning scheme here, with 3 decimals for the major, minor and patch level. At the moment cycles --version can be used to display the version, easy to parse for external projects. The info will be added to the UI later aswell.