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-01-20Fix T42212: Singular reflection pass is incorrect in regular path tracerSergey Sharybin
Issue seems to be caused by not totally proper pdf and eval values for this closure. Changed it so they reflect to ggx/beckmann reflection with roughness set to 0, which is effectively the same as the sharp reflection.
2015-01-19Make use/computation of lnors consistant.Bastien Montagne
Issue was, when requesting (building) lnors for a mesh that has autosmooth disabled, one would expect to simply get vnors as lnors. Until now, it wasn't the case, which was bad e.g. for normal projections of loops in recent remap code (projecting along split loop normals when you would expect projection along vertex normals...). Also, removed the 'angle' parameter from RNA's `mesh.calc_normals_split`. This should *always* use mesh settings (both autosmooth and smoothresh), otherwise once again we'd get inconsistencies in some cases. Will update fbx and obj addons too.
2015-01-19Cycles: Correction to camera in volume detection after clipping commitSergey Sharybin
The check should also become aware of the fact were using clipping plane instead of clipping sphere now.
2015-01-19Fix T43311: using displacement shader crashes blenderSergey Sharybin
Issue was caused by wrong order of scene device update, which could lead to missing object flags in shader kernel. This patch solves a bit more than that making sure objects flags are always properly updated, so adding/removing volume BSDF will properly reflect on viewport where camera might become being in volume and so.
2015-01-19Cycles: Avoid crash in statistics when canceling BVH buildSergey Sharybin
Also add missing render_time initialization in progress.
2015-01-19Viewport: Add adjustable safe areas, 3d-view & VSECampbell Barton
Also adds safe-area presets. D325 by Diego Gangl with own edits.
2015-01-16Cycles: Fix compilation error with latest OSLSergey Sharybin
They went back from string_view to string for compiler options. Still having linking errors here, but maybe others will be more lucky to fully compiler blender with new OSL.
2015-01-16Cycles: Cleanup and optimization comment updateSergey Sharybin
2015-01-16Cycles: Minot cleanup, save some cpu tics per curve segment exportSergey Sharybin
2015-01-16Cycles: Minor typo fix in debug printSergey Sharybin
2015-01-16Cycles; Correction to previous debug print to survive prints from multiple ↵Sergey Sharybin
threads This commit basically makes it so statistics print from different BVH trees are not being interleaved with each other. Glog ensures this when debug print is done as a single put to stream operator.
2015-01-16Cycles: Report BVH statistics after buildSergey Sharybin
2015-01-16Cycles: Fix stupid typo in the previous commitSergey Sharybin
2015-01-15Cycles: Tweak to leaf creation criteria in all BVH typesSergey Sharybin
Since leaf node gets split further into per-primitive type leaves old check for number of curves became a bit ridiculous -- it might lead to two leaf nodes each of which would contain only one curve primitive (one motion curve and one regular curve). This lead to quite dramatic slowdown for Victor model -- around 40%, which is totally unacceptable. This commit is aimed to prevent such situation and from quick render test it seems victor is now back to normal render time. Further testing is needed tho. There are also other ideas about splitting the node, will need to look into them next.
2015-01-15Cycles: Fix compilation error happened after recent render time commitSergey Sharybin
2015-01-15Cycles: Fix equiangular textures after recent commitSergey Sharybin
Just wrong constant used, names are indeed too close to each other.
2015-01-15Make grumpy gcc happy (double to float conversion...).Bastien Montagne
2015-01-15Small change for the new Lat/Long properties.Thomas Dinges
We use upper case for properties.
2015-01-14Cycles: Adding field-of-view options to the equirectangular panorama cameraLukas Stockner
This patch adds the option to set minimum/maximum latitude/longitude values for the equirectangular panorama camera in Cycles, as discussed in T34400. The separate functions in kernel_projection.h are needed because the regular ones are also used as helper functions for environment map sampling. Reviewers: #cycles, sergey Reviewed By: #cycles, sergey Subscribers: dingto, sergey, brecht Differential Revision: https://developer.blender.org/D960
2015-01-14Cycles: Ignore preprocessing time in ETA calculationLukas Stockner
This patch makes Cycles ignore the time spent in BVH construction etc. when estimating the remaining time. Considering that the remaining time is calculated based on the average time per tile so far, as far as I understand it makes no sense to include the preprocessing time. Reviewers: sergey, #cycles Reviewed By: sergey, #cycles Subscribers: sergey Projects: #cycles Differential Revision: https://developer.blender.org/D895
2015-01-14Fix T42621: Glossy world ray visibility affects on transmission raysSergey Sharybin
There seems to be inconsistency in flags checks in Cycles kernel. In the interface glossy means "Glossy Reflection" and it is properly taken into account when doing visibility check in BVH traversal. The check in indirect background/light emission was treating this flags as "any of glossy reflection or transmission" which is kind of weird. Made it so emission code follows ray visibility assumptions in other parts of the kernel now.
2015-01-14Fix T43195: Cycles uses clipping sphere instead of clipping planeSergey Sharybin
Basically the title tells it all, now Cycles uses proper clipping plane, matching other render engines.
2015-01-14Cycles: Fix QBVH refit nodes not setting primitive type properlySergey Sharybin
2015-01-13Fix T43156: Cycles incorrect final render, proper viewport with moblur disabledSergey Sharybin
Really stupid issue caused by typo in bitfield bit lead to bit conflict, Not sure how it was done, could be some bad merge conflict resolve in the original commit or just pure man stupidnes. This is a nice example when having set of small test render scenes hooked to the ctest would really help. It's probably not that stopper issue (even tho still quite bad) since it was made 2 months ago. But if we ever do 'a' this time it's a nice change to include.
2015-01-12Fix OpenGL Context freeingCampbell Barton
2015-01-12Cycles: Fix crash after recent BVH changes on empty BVH treesSergey Sharybin
It's apparently not nice to access 0th element of zero-size vector in C++.
2015-01-12Cycles: Fix compilation error on platforms without SSE supportSergey Sharybin
Overview this in one of the previous BVH commits.
2015-01-12Cycles: Add leaf primitives sanity check asserts to the kernelSergey Sharybin
This way we'll notice that leaf splitting didn't happen correct pretty easily in debug builds. There'll be absolutely no impact on release builds.
2015-01-12Cycles: Enable leaf split by primitive type and adopt BVH traversal for thisSergey Sharybin
This commit enables BVH leaf nodes split by the primitive type and makes it so BVH traversal code is now aware and benefits from this. As was mentioned in original commit, this change is crucial to be able to do single ray to multiple triangle intersection. But it also appears to give barely visible speedup in some scene. In any case there should be no noticeable slowdown, and this change is what we need to have anyway.
2015-01-12Cycles: Optimize leaf splitting code by avoid vector allocationSergey Sharybin
Use variables allocated in the stack and avoid heap allocation which should make leaf splitting code a bit faster.
2015-01-12Cycles: BVH params option to split leaf node by primitive typesSergey Sharybin
The idea of this change is make it possible to split leaf nodes by primitive type, making leaf containing primitives of the same type. This would become handy when working on a single ray to multiple triangles intersection code, plus with careful implementation it might give some extra benefits on BVH traversal code by avoiding primitive type fetch and check for each primitive in the node. But that's a bit tricky to have benefits on this change only because depth of BVH increases. This option is not exposed to the interface at all and not used even secretly, the commit is only needed to help working further in this direction without messing around with local patches and worrying of them running out of date.
2015-01-12Cleanup: styleCampbell Barton
2015-01-06Cycles: Repot CPU and CUDA capabilities to system info operatorSergey Sharybin
For CPU it gives available instructions set (SSE, AVX and so). For GPU CUDA it reports most of the attribute values returned by cuDeviceGetAttribute(). Ideally we need to only use set of those which are driver-specific (so we don't clutter system info with values which we can get from GPU specifications and be sure they stay the same because driver can't affect on them).
2015-01-04Cleanup: OSX: remove obsolete ppc/ppc64 sw-renderer kCGL attributesJens Verwiebe
2015-01-02Cycles: Fix compilation error on AVX platforms with -arch-nativeSergey Sharybin
Was a conflict in headers between clew and util_optimization.h.
2015-01-02Cycles: Fix unneeded int/float conversion happened in previous commitSergey Sharybin
2015-01-02Fix T43027: OpenCL kernel compilation broken after QBVHSergey Sharybin
OpenCL apparently does not support templates, so the idea of generic function for swapping is a bit of a failure. Now it is either inlined into the code (in triangle intersection) or has specific implementation for QBVH. This is probably even better, because we can't create QBVH-specific function in util_math anyway.
2015-01-02cleanup: styleCampbell Barton
2014-12-31Cycles: Post-reintegration tweaks to ensure things do compileSergey Sharybin
This commit contains all the tweaks which were missing in initial patch re-integration from the standalone Cycles repository. This commit also contains an utility cmake macro to help linking targets with different libraries for release/debug builds, the name currently is target_link_libraries_decoupled it gets a target and list of libraries and makes sure debug builds are using libraries with "_d" suffix. After all this changes it'll hopefully be easier to interchange patches between blender and standalone repositories, because they're now quite identical.
2014-12-31Cycles: Correction to previous SSE/AVX flags detectionSergey Sharybin
Ensure AVX/AVX2 is not used when Cycles is configured with WITH_CPU_SSE set to OFF.
2014-12-31Cycles: Be ready for gflags namespace auto-detectSergey Sharybin
This way it is now possible to use gflags >= 2.1, where all the functions were moved from google to gflags namespace. This isn't currently used in blender, but for standalone repository this change is essential.
2014-12-31CMake: Rework linking strategy a bitSergey Sharybin
Made it a dedicated macro to link release/debug targets against lib/lib_d libraries which helps keeping code a bit more clean. Also made it so MSVC is now happy about building debug Cycles with OSL support. Reshuffled code a bit and put some comments about what's going on, which should make it a bit more clear.
2014-12-31Cycles: Fix compilation error with compilers which doesn't support AVXSergey Sharybin
For SSE checks still could be decoupled to be able to compile SSE2 kernel and not SSE4 depending on the CPU or so.
2014-12-31Cycles FTBFS: Send Boost after OIIO to the linker since the order mattersSergey Sharybin
2014-12-31Cycles Standalone: Add initial support for compilation on WindowsSergey Sharybin
This applies to an application comiling from the standalone Cycles repository only. There's still lack of proper install target, so currently pthreads library is to be copied next to cycles.exe manually.
2014-12-31Cycles: Add logging to OSL and CUDA initialization/compilationSergey Sharybin
This is what was handy troubleshooting issues in the studio, plus this is exactly the same thing which would be helpful when solving issues with paths to compiled shaders and cubins for standalone repository.
2014-12-31Cycles: Fully support WITH_CYCLES_LOGGING optionSergey Sharybin
This commit generalizes logging module a little bit in making it possible to use Glog logging in standalone Cycles repository.
2014-12-31CMake: Minor cleanupSergey Sharybin
2014-12-31Cycles: Fix compilation error when OIIO is compiled with external PugiXML parserSergey Sharybin
Basic idea is to check whether OIIO is compiled with embedded PugiXML parser and if so use PugiXML from OIIO, otherwise find a standalone PugiXML library.
2014-12-31CMake: use pthreads on all os'sCampbell Barton