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
AgeCommit message (Collapse)Author
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.
2016-04-13Cycles: Minor cleanup, whitespace around keyword and preprocessor indentSergey Sharybin
2016-04-13Cycles microdisplacement: preserve smooth normals for linear subdivisonMai Lavelle
This way we prevent cracks in the model due to discontinuous normals, by using smooth normals for displacement instead of always getting flat normals after linear subdivision. Reviewed By: brecht Differential Revision: https://developer.blender.org/D1916
2016-04-12Cycles: Add missing velocity attribute to builtin image loaderSergey Sharybin
For some reason other parts of blender importer were assuming velocity is supported, but actual loader was not aware of that. Fixes T48064: Adding velocity attribute crashes render
2016-04-12Cycles: Avoid crash when accessing non-existing volume attributeSergey Sharybin
2016-04-12Cycles microdisplacement: UI tweak to use split columnMai Lavelle
Reviewed By: brecht, dingto Differential Revision: https://developer.blender.org/D1917
2016-04-12Cycles microdisplacement: refactor to move some tesselation code from ↵Mai Lavelle
SubdMesh to Mesh Reviewed By: brecht Differential Revision: https://developer.blender.org/D1915
2016-04-12Cycles microdisplacement: change use subdivision bool to subdivision type enumMai Lavelle
This is only the UI change, there is no underlying code change in this commit. Reviewed By: brecht Differential Revision: https://developer.blender.org/D1910
2016-04-12Cycles microdisplacement: perform subdivision dicing in raster spaceMai Lavelle
NOTE: this is only the first of many patches towards completing the subdivison and displacement system in Cycles. These patches will be reviewed and committed one by one over the coming weeks. Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D1909
2016-04-11Cycles: Cleanup, make some comments easier to read on split editorsSergey Sharybin
2016-04-11Cycles: Remove hair support from volume BVH traversalSergey Sharybin
There are couple of reasons: - Volume shader on hair does behave really weird anyway and it's not something considered a bug really. - Volume BVH traversal were only used by camera-in-volume check, which doesn't really make sense to take hair into account since it'll be rendered wrong anyway. Such a removal makes both code easier to extend further (as in, no need to worry about those traversal for hair bvh) and also reduces stress on GPU compilers.
2016-04-11Cycles: Remove unused SAH from BVH packSergey Sharybin
2016-04-11Cycles: Rename tri_woop to tri_storageSergey Sharybin
It's no longer a pre-computed data and just a storage of triangle coordinates which are faster to access to.
2016-04-11Fix T48103: Wrong renders on AMD OpenCL when Light Falloff node is usedSergey Sharybin
2016-04-10Cycles: Fix rare dead-locks on TaskScheduler::exit()Sergey Sharybin
When the Moon is full it was possible to have a dead-lock in task scheduler's exit() method. Similar problem was fixed in Blender's task scheduler 3 years ago in bae2a2c.
2016-04-06Cycles: Fix misleading remaining time report when using infinite number of ↵Sergey Sharybin
samples in viewport
2016-04-06Cycles: Avoid possibly uninitialized variableSergey Sharybin
2016-04-05Revert "Cycles: Remove the Preetham Sky model."Thomas Dinges
This reverts commit d91316dc672dc1ee69fbd24d2f00124a24b75c6b.
2016-04-05Cleanup: Typo fixes after BVH commits.Thomas Dinges
2016-04-04Cycles: Fix wrong camera in volume check when domain is only visible to ↵Sergey Sharybin
camera rays
2016-04-04Cycles: Fix regression caused by recent camera-in-volume commitSergey Sharybin
Stupid me forgot that we don't have stop-element in the stack yet.
2016-04-04Cycles: Fix regular BVH not having proper visibility flagsSergey Sharybin
This was caused by recent threading commit. Now because of all children are set when they're ready need to explicitly update all parent's visibility.
2016-04-04Cycles: Make spatial split BVH multi-threadedSergey Sharybin
The title actually covers it all, This commit exploits all the work being done in previous changes to make it possible to build spatial splits in threads. Works quite nicely, but has a downside of some extra memory usage. In practice it doesn't seem to be a huge problem and that we can always look into later if it becomes a real showstopper. In practice it shows some nice speedup: - BMW27 scene takes 3 now (used to be 4) - Agent shot takes 5 sec (used to be 80) Such non-linear speedup is most likely coming from much less amount of heap re-allocations. A a downside, there's a bit of extra memory used by BVH arrays. From the tests amount of extra memory is below 0.001% so far, so it's not that bad at all. Reviewers: brecht, juicyfruit, dingto, lukasstockner97 Differential Revision: https://developer.blender.org/D1820
2016-04-04Cycles: Solve possible issues with running out of stack memory allocatorSergey Sharybin
Policy here is a bit more complicated, if tree becomes too deep we're forced to create a leaf node and size of that leaf wouldn't be so well predicted, which means it's quite tricky to use single stack array for that. Made it more official feature that StackAllocator will fall-back to heap when running out of stack memory. It's still much better than always using heap allocator.
2016-04-04Cycles: Log overall time spent on building object's BVHSergey Sharybin
We had per-tree statistics already, but it's a bit tricky to see overall time because trees could be building in parallel. In fact, we can now print statistics for any TaskPool.
2016-04-04Cycles: Log allocation slop factor for BVH arraysSergey Sharybin
Currently they're staying at 1 (actual size over capacity), but we will be changing it quite soon in order to avoid having too much memory re-allocation happening at a BVH build time and will be playing with different policies for that.
2016-04-04Cycles: Tweak to stack allocator used by BVH builderSergey Sharybin
In some files stack memory was overruning the pre-allocated stack. Perhaps we should fall-back to a hep-allocated stack so release builds don't crash in works case but just becoming slower.
2016-04-03Cycles: Remove the Preetham Sky model.Thomas Dinges
The improved Hosek / Wilkie model was added during my GSoC 2013 and the default since then. The older model was kinda kept for compatibility, but after more than 2 years it's time to remove it. The Hosek / Wilkie model is more realistic anyway, and people who really want a day / night transition can mix the Sky Shader with another one (e.g. color) and fade between the two.
2016-04-01Fix T47505: Cycles OpenCL rendering crash on Windows.Brecht Van Lommel
Restore the boost bug workaround, but without changing the locale.
2016-04-01Cycles: Fix wrong camera-in-volume stack when camera ray hits volume domain ↵Sergey Sharybin
twice
2016-04-01Cycles: Temporarily revert index sort commit for spatial splitSergey Sharybin
There are in fact some missing parts to it (Split BVH builder should be creating bins from result of Object Split constructor). Doable, but need to quickly fix issue for the studio here, easier to revert for now.
2016-04-01Cycles: Report thread ID from worker thread to callbacksSergey Sharybin
Main use case of this ID will be to emulate TLS which otherwise would require having some platform-specific implementations which is not always really optimal. See notes about the argument in util_task.h.
2016-04-01Cycles: Fix for missing pthread's spin on OSXSergey Sharybin
2016-03-31Cycles: Fix wrong initialization order of mesh flags and object transformSergey Sharybin
2016-03-31Cycles: Fix too many objects being considered an instanceSergey Sharybin