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
2015-03-26Simple mesh import from Alembic files in Cycles standalone.Lukas Tönne
Note that Cycles currently only supports tessellated triangle/quad meshes. Alembic PolyMesh generally has ngons, so external tessellation is required until cycles gets a proper tessellation implementation of its own.
2015-03-26More control over verbosity with Alembic archive info printing.Lukas Tönne
2015-03-26Simple inclusion of alembic files from inside xml files for cyclesLukas Tönne
standalone. The cycles XML files now can refer to Alembic (.abc) files. This will call the default alembic reader to read in scene data. Currently it simply prints the Alembic file structure. Eventually a proper schema needs to be defined for both xml and abc. Also care has to be taken to handle potential conflicts between settings both within xml/abc and between them.
2015-03-26Basic Alembic integration in the Cycles standalone.Lukas Tönne
This adds Alembic to the standalone application version of cycles. Files can be specified as XML or Alembic, or use automatic detection based on the filename extension. Currently the Alembic reader just dumps the file structure to stdout as a test.
2015-03-26Fix for cycles cmake missing GLEW library variable when building withoutLukas Tönne
the GUI.
2015-03-26Avoid conflicting unordered_map definition in cycles by using a generalLukas Tönne
include path instead of the boost one. For explanation see http://stackoverflow.com/questions/3973659/c-unordered-map-compiling-issue-with-g
2015-03-26Working implementation of cache reading for dupli data during renders.Lukas Tönne
2015-03-26UI cleanup and a bit nicer workflow by treating read/write mode likeLukas Tönne
an enum toggle.
2015-03-26Cycles support for dupli caches.Lukas Tönne
If a cache is read-enabled cycles will now use the cached mesh data instead of dupli results.
2015-03-26sound module: Append functions with BKE (makes it easier to make themAntony Riakiotakis
out from local functions)
2015-03-26Fix: AUD_OpenALDevice::getPosition returns negative valuesJörg Müller
Reported by Antony Riakiotakis. The problem was the seeking code.
2015-03-25Fix 2 typos ( shakin' hands )Jens Verwiebe
2015-03-25Fix T44128: Ray visibility only enables diffuse if glossy is also enabledSergey Sharybin
Issue was caused by accident in c8a9a56 which not only disabled glossy reflection if Glossy visibility is disabled, but also Diffuse reflection. Quite safe and should go to final release branch.
2015-03-25Fix T44064: Reroute two-node loop crashSergey Sharybin
Issue was caused by cycles in shader graph confusing it's simplification stage. Now we're ignoring links which are marked as invalid from blender side so we don't run into such cycles and keep graph code simple.
2015-03-25Fix T44123: Cycles SSS renders black in recent buildsSergey Sharybin
Issue was introduced in 01ee21f where i didn't notice *_setup() function only doing partial initialization, and some of parameters are expected to be initialized by callee function. This was hitting only some setups, so tests with benchmark scenes didn't unleash issues. Now it should all be fine. This is to go to the 2.74 branch and we actually might re-AHOY.
2015-03-23Tidy up the user interface for depth of field based on feedback byAntony Riakiotakis
NudelZ on irc, thanks!
2015-03-23Change coefficients to 4 digit precision only.Antony Riakiotakis
Need to match convention and sum up to 1.0 (previous set had a minor 10^(-10) overflow) Thanks to Campbell for taking notice.
2015-03-23Fix T43926: Volume scatter: intersecting objects GPU rendering artifactsSergey Sharybin
Fix T44007: Cycles Volumetrics: block artifacts with overlapping volumes The issue was caused by uninitialized parameters of some closures, which lead to unpredictable behavior of shader_merge_closures().
2015-03-22OSX: fix 1 leak ( found and fixed by marcclintdion ) and 1 possible leak in ↵Jens Verwiebe
dragndrop, backport to 2.74
2015-03-21OSX/GHOST: need one more release in error caseJens Verwiebe
2015-03-20Partly fix T44025, pixelFormat retain was left, for 2.74 backportJens Verwiebe
2015-03-20Cycles: Avoid memcpy of intersecting memorySergey Sharybin
Could happen when assignment happens to self during sorting.
2015-03-20Fix for building win32 headlessCampbell Barton
2015-03-19Missed this last commit.Antony Riakiotakis
2015-03-19Fix cycles dof settingsAntony Riakiotakis
2015-03-19Depth of field high quality:Antony Riakiotakis
A new checkbox "High quality" is provided in camera settings to enable this. This creates a depth of field that is much closer to the rendered result and even supports aperture blades in the effect, but it's more expensive too. There are optimizations to do here since the technique is very fill rate heavy. People, be careful, this -can- lock up your screen if depth of field blurring is too extreme. Technical details: This uses geometry shaders + instancing and is an adaptation of techniques gathered from http://bartwronski.com/2014/04/07/bokeh-depth-of-field-going-insane- http://advances.realtimerendering.com/s2011/SousaSchulzKazyan%20- %20in%20Real-Time%20Rendering%20Course).ppt TODOs: * Support dithering to minimize banding. * Optimize fill rate in geometry shader.
2015-03-19CMake: unbundle eigen3Campbell Barton
Optionally use systems eigen3 library. T41989 by @hasufell with edits
2015-03-17Cycles: Improve readability of dumped graphsSergey Sharybin
2015-03-17Cycles: Fix displacement code creating cyclic dependencies in graphSergey Sharybin
Bump result was passed to set_normal node and then set_node was connected to all unconnected Normal inputs, including the one from original Bump node, causing cycles.
2015-03-17Part 1 of D1082 by Troy Sobotka, add API in OCIO for luminanceAntony Riakiotakis
calculation.
2015-03-17cleanup: Mac #includeMike Erwin
Don’t need all of Cocoa, or any of Carbon here.
2015-03-16Fix T43853: Audio animation bug (fcurves)Jörg Müller
For a detailed bug explanation see the comments in the report.
2015-03-16Code cleanup: CommentSergey Sharybin
2015-03-16Fix T43999: MIS for environment broken after multi-threading commitSergey Sharybin
Typo in task start row calculation.
2015-03-13Add an option to mesh.calc_tessface() to get rid of polygons and loopsSergey Sharybin
The purpose of this change is to add extra possibility to render engines and export scripts to reduce peak memory footprint during their operation. This new argument should be used with care since it'll leave mesh in not really compatible with blender format, but it's ok to be used on temp meshes. Unfortunately, it's hard to get scene where it'll show huge benefit because in my tests with cycles peak memory is reached in MEM_printmemlist_stats(). However, in the file with sintel dragon it gives around 1gig of memory benefit after removing the polys which would allow other heavy to compute stuff such as hair (or even pointiness calculation) to not be a peak memory usage. In any case, this change is nice to have IMO, and only means more parts of scene export code should be optimized memory-wise. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1125
2015-03-13Cycles: Free caches used by the synchronized objectsSergey Sharybin
Issue this commit is addressed to is that particle system and particle modifier will contain caches once derived mesh was requested and this cached data will never be freed. This could easily lead to unwanted memory peaks during synchronization stage of rendering. The idea is to have RNA function in object which would free caches which can't be freed otherwise. This function is not intended to deal with derived final since it might be used by other objects (for example by object with boolean modifier). This cache freeing is only happening in the background rendering and locked interface rendering. From quick tests with victor file this change reduces peak memory usage by command line rendering by around 6% (1780MB vs. 1883MB). For rendering from the interface it's about 12% (1763MB vs. 1998MB). Reviewers: campbellbarton, lukastoenne Differential Revision: https://developer.blender.org/D1121
2015-03-13Initial compilation support with C++11 featureset enabledSergey Sharybin
This commit makes some preliminary fixes and tweaks aimed to make blender compilable with C++11 feature set. This includes: - Build system attribute to enable C++11 featureset. It's for sure default OFF, but easy to enable to have a play around with it and make sure all the stuff is compilable before we go C++11 for real. - Changes in Compositor to use non-named cl_int structure fields. This is because __STRICT_ANSI__ is defined by default by GCC and OpenCL does not use named fields in this case. - Changes to TYPE_CHECK() related on lack of typeof() in C++11 This uses decltype() instead with some trickery to make sure returned type is not a reference. - Changes for auto_ptr in Freestyle This actually conditionally switches between auto_ptr and unique_ptr since auto_ptr is deprecated in C++11. Seems to be not strictly needed but still nice to be ready for such an update anyway/ This all based on changes form depsgraph_refactor branch apart from the weird changes which were made in order to support MinGW compilation. Those parts of change would need to be carefully reviewed again after official move to gcc49 in MinGW. Tested on Linux with GCC-4.7 and Clang-3.5, other platforms are not tested and likely needs some more tweaks. Reviewers: campbellbarton, juicyfruit, mont29, lukastoenne, psy-fi, kjym3 Differential Revision: https://developer.blender.org/D1089
2015-03-13Cycles: Optimization for CMJ in CUDA kernelsSergey Sharybin
Two things: - Use intrinsics for clz/ctz (ctz is implemented via ffs()). - Use faster sqrt() function which precision is enough for integer values.
2015-03-13Cycles: Simplify volume light connect code.Thomas Dinges
2015-03-13Cleanup: Use differential helper class.Thomas Dinges
2015-03-12Revert "Fix T43865: Cycles: Watertight rendering produces artifacts on a ↵Sergey Sharybin
huge plane" The fix was really flacky, in terms during speed benchmarks i had abort() in the fallback block to be sure it never runs in production scenes, but that affected on the optimization as well. Without this abort there's quite bad slowdown of 5-7% on the renders even tho the Pleucker fallback was never run. This is all weird and for now reverting the change which affects on all the production scenes and will look into alternative fixes for the original issue with precision loss on huge planes. This reverts commit 9489205c5c0b9b432d02be4a3d0d15fc62ee6cb9.
2015-03-12Partial fix for T43967: Background is wrong in 2.74Sergey Sharybin
Was missing do-versions code after rotation order change in Cycles. This is a regression and to be ported to the final release branch.
2015-03-12Cycles / Decoupled Ray Marching: Skip consecutive empty steps.Thomas Dinges
This merges consecutive empty steps in the decoupled record function, which can lead to fewer iterations in the scatter functions. Only helps slightly though (1%), but doesn't hurt to have this. Differential Revision: https://developer.blender.org/D873
2015-03-12Cycles: Make Background MIS building threadedThomas Dinges
Use multiple threads for building the MIS table, if the resolution is higher than 512. Also replace division by cdf_total, with a inverse multiplication by cdf_total_inv. This gives further speedup. On my Macbook (8 CPU threads) this improves the time to build the table: Resolution 4096: From 0.16s to 0.03s Resolution 8096: From 0.61s to 0.11s This especially helps to reduce the scene update time, when tweaking world shader while viewport rendering is running. Patch by Sergey and myself. Differential Revision: https://developer.blender.org/D1159
2015-03-12GuardedAlloc: safer MEM_SAFE_FREECampbell Barton
only instantiate the argument once, so MEM_SAFE_FREE(array[i++]), won't cause incorrect behavior.
2015-03-09Fix T43484: Motion blur fails in certain circumstancesSergey Sharybin
The issue was caused by mismatch in how aligned triangles storage was filled in during BVH construction and how it was used during rendering. Basically, i was leaving uninitialized storage for triangles when there was deformation motion blur detected for the mesh. Was likely some sort of optimization, but in fact it's still possible that regular triangles would be needed for rendering. So now we're storing aligned storage for all triangle primitives and only skipping motion triangles (the deformation motion blur flag from mesh is now ignored).
2015-03-09Cycles: Improve logging in object motion detectionSergey Sharybin
Reporting mesh name is not really useful, since it's name does not any relation with the original object/mesh names.
2015-03-07Cycles: add better specializations for SSE shuffle function and few more ↵Sv. Lockal
wrappers.
2015-03-07Fix T41066: An actual fix for curve intersection on FMA-enabled CPUsSv. Lockal
2015-03-05Fix T43865: Cycles: Watertight rendering produces artifacts on a huge planeSergey Sharybin
The issue was caused by numerical instability whrn having ray origin close to a huge triangle, which could have aused bad ray distance check. Watertight Woop intersection isn't really addressing such cases, it's dealing with small triangles far away from the ray origin instead, so it's a bit tricky yo make it working reliably. While we're quite close to the release it's safer to do check in Pleaucker coordinates if ray close to a huge triangle. Likely this additional check combined with some other tweaks to the code doesn't cause measurable slowdown in the scenes tested here. After the release we can play a bit more with this code in order to make it more stable without Pleucker fallback.