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-08-31Cycles: don't crash if OSLRenderServices::osl_ts is unsetMai Lavelle
2016-08-30Cycles: Fix calculation of normals for subdivision meshesMai Lavelle
Not sure what happened here. Will have only effected Cycles standalone with linear subdivision in use.
2016-08-30Fix T49187: inconsistent Normal Map node output for backfacing polygons.Alexander Gavrilov
There basically are two issues here: in smooth mode (and all non-tangent normal map types) it doesn't invert the normal for backfacing polys; on the other hand for flat shaded tangent type it is inverted too soon. This fix does a brute force correction by checking the backfacing flag. Reviewers: #cycles, brecht Reviewed By: #cycles, brecht Differential Revision: https://developer.blender.org/D2181
2016-08-28Fix T49163: let Cycles only hide particles with missing motion data, not ↵Brecht Van Lommel
regular objects.
2016-08-28Fix T49167: Normals in wrong coordinate space when adaptive subdivision is usedMai Lavelle
Meshes with Cycles subdivision were being transformed to world space leading to normals to sometimes be calculated in that space, while they should be in object space. Also caused dicing to happen at the wrong rate for scaled meshes.
2016-08-26Cycles: Make UI for subdivision more clearMai Lavelle
Users have been getting a bit confused by the way things are worded/arranged in the UI. This patch makes a few changes to the UI to make it more clear how to use subdivision: - make Subdivide UVs option inactive when adaptive subdivision is enabled as UV subdivision is currently unsupported - add "px" to dicing rates in the Geometry Panel - display the final dicing rate in the modifier - reworded "Dicing Rate" in the modifier to "Dicing Scale" to make more clear that this is a multiplier for the scene dicing rate and added a note the the tooltip pointing the user to that setting in the Geometry Panel Reviewed By: brecht Differential Revision: https://developer.blender.org/D2174
2016-08-25Cycles: Remove some redundant checksMai Lavelle
2016-08-25Cycles: Cleanup, indentationSergey Sharybin
2016-08-25Cycles: Fix crash after recent subd fixesSergey Sharybin
Was happening when object only had curves (doe example, object with hair particle system and emitter rendering disabled).
2016-08-25Cycles: Support proper visibility check in single volume intersection step ↵Sergey Sharybin
for QBVH
2016-08-25Cycles: Implement proper visibility check in QBVH volume all intersectionSergey Sharybin
2016-08-25Fix T49078: Cycles tries to render volume from another render layer when ↵Sergey Sharybin
camera is in volume
2016-08-24Cycles: Fix crash when empty mesh has subdivisionMai Lavelle
OpenSubdiv doesn't like empty meshes, so we need to be careful not to subdivide when the mesh is empty.
2016-08-24Cycles Standalone: Fix support for subdivision meshesMai Lavelle
Changes from microdisplacement work broke previous support for subdivision meshes, sometimes leading to crashes; this makes things work again. Files that contain "patch" nodes will need to be updated to use meshes instead, as specifying patches was both inefficient and completely unsupported by the new subdivision code.
2016-08-24Cycles: Consolidate the various split CL kernel feature defines within the ↵Edward O'Callaghan
AMD platform Reviewers: sergey Differential Revision: https://developer.blender.org/D2172
2016-08-24Cycles OpenCL: use AoS rather than SoA storage for ShaderData.Brecht Van Lommel
Fixes part of the performance regressions compared to 2.76b, see T49046, T48876.
2016-08-23Cycles: Fix/workaround for missing AA on Pascal (GTX10x0) cardsSergey Sharybin
2016-08-22Fix T49136: full constant Curves with zero Fac input crashes in assert.Alexander Gavrilov
The if branches were reordered when the original patch was committed, which broke the implicit non-NULL guarantee on link. To prevent re-occurrence, add a couple of unit tests.
2016-08-18Cycles: Fix wrong allocator used for spatial builderSergey Sharybin
2016-08-18Code cleanup to use array.data() rather than &array[0]Brecht Van Lommel
(Now without the build errors)
2016-08-18Revert "Code cleanup to use array.data() rather than &array[0]."Mai Lavelle
This reverts commit 40b367479c6fe23d6f2b6d822f2d5266485619f3. Didn't build or solve any known issue. Please don't push changes without testing them first.
2016-08-18Code cleanup to use array.data() rather than &array[0].Brecht Van Lommel
These latter can cause MSVC debug asserts if the array is empty. With C++11 we'll be able to do this for std::vector later. This hopefully fixes an assert in the Cycles subdivision code.
2016-08-18Fix T48913: cycles viewport render stuck in loop due to non-unique dupli ID.Brecht Van Lommel
2016-08-17Cycles: Fix regression where smoke wouldn't show in rendersMai Lavelle
2016-08-15Cycles microdisplacement: Allow kernels to be built without patch evaluationMai Lavelle
Kernels can now be built without patch evaluation when not needed by the scene (Catmull-Clark subdivision not in use), giving a performance boost for some devices.
2016-08-15Fix Cycles OpenCL textures after recent CUDA fix.Brecht Van Lommel
kernel_textures.h is included in device_opencl.cpp, so we can't check __KERNEL_OPENCL__ there.
2016-08-15Revert "Cycles: Use half storage for 16bit files (e.g. 16bit pngs) as well."Thomas Dinges
After discussion in IRC, 16bit int should not be converted to half, too much precision loss.
2016-08-15Fix CUDA compilation after OpenCL changes.Thomas Dinges
2016-08-14Cycles: Use half storage for 16bit files (e.g. 16bit pngs) as well.Thomas Dinges
Note: This only works for textures loaded from disk via OIIO, not packed textures. That's still a ToDo.
2016-08-14Cycles microdisplacement: Move call to tessellate() from addon to CyclesMai Lavelle
By calling `tessellate()` from the mesh manager in Cycles we can do pre/post processing or even threaded tessellation without concerning client side code with the details.
2016-08-14Cycles: Add single channel texture support for OpenCL.Thomas Dinges
This way OpenCL devices can also benefit from a smaller memory footprint, when using e.g. bumpmaps (greyscale, 1 channel). Additional target for my GSoC 2016.
2016-08-12Fix T49071: Cycles OSL build problem with oslc compilers that can't find ↵Brecht Van Lommel
their own stdosl.h.
2016-08-11Cycles: Enable half float support (4 channels and 1 channel) on CUDA.Thomas Dinges
Atm OpenEXR half files benefit from this and will use only 1/2 of the memory now. More space for HDRs! Part of my GSoC 2016.
2016-08-11Cycles: Change code order for Image Data Types.Thomas Dinges
Now we have the 4 component ones first (float4, byte4, half4) followed by the 1 component ones (float, byte, half). Makes code a bit more consistent and also reduces code a bit when enabling half support on GPU in next commit. This also exposed a typo in half CPU images for 3D textures, which wasn't used yet, but good to have that one fixed anyway.
2016-08-11Cycles: Fix change of sign warningMai Lavelle
2016-08-11Cycles: Remove odd definition from CMake fileMai Lavelle
This was causing Cycles standalone to fail to build from Blender repo. Hopefully nothing breaks from removing this.
2016-08-11Cycles: Use static assert to control structures alignmentSergey Sharybin
2016-08-11Revert "Cycles Tests: Add test for correct 16 byte alignment of KernelData ↵Sergey Sharybin
structs" Using unit tests is a wrong way to control static behavior of the application. They should only be used for checking dynamic behavior, all the rest is easily controllable at compile time. Doing tests at ocmpile time are actually more robust approach since we don't have strict policy of runnign unit tests before accepting any change. Proper alignment control is coming shortly. This reverts commit 7c3a06c34918567e6b0ab67bded60725ff63073b.
2016-08-10Cycles Tests: Add test for correct 16 byte alignment of KernelData structsLukas Stockner
2016-08-10Cycles Standalone: Fix building after microdisp changesMai Lavelle
2016-08-10Cycles: Fix KernelIntegrator padding to 16-byte boundaryLukas Stockner
2016-08-10Cycles Standalone: Add option to set the tile size from the command lineLukas Stockner
Since the optimal values depend on the device used, this option doesn't make much sense in the XML. Therefore, it's now specified via the command line, just like the device itself.
2016-08-10Cycles: Correct maximum number of textures on pre-Kepler CUDA cardsLukas Stockner
Commit c96ae81160ad added three data textures and therefore removed three image texture slots, but the value in util_textures.h wasn't updated.
2016-08-09Cycles: Use proper property getterSergey Sharybin
2016-08-09Cycles: avoid making NaNs in Vector Math node by normalizing zero vectors.Alexander Gavrilov
Since inputs are user controlled, the node can't assume they aren't zero.
2016-08-09CUDA: We don't support Toolkits < 7.5, update error message.Thomas Dinges
2016-08-09Cycles: Fix crash in empty scenesJulian Eisel
To recreate, just delete default cube and render. Simple fix, but @maiself or @sergey may want to double-check ;)
2016-08-09Fix Cycles CUDA adaptive kernel not working correctly after recent closure ↵Brecht Van Lommel
changes.
2016-08-08Fix extra ; warning for OpenCL as well.Thomas Dinges
2016-08-08Cycles: Fix compilation on Cycles unit tests after recent changesSergey Sharybin