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-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-22NDOF: fix crash on Mac with old driversMike Erwin
For best results use the latest 3Dconnexion driver. But latest is only supported on Mac OS 10.9+. We go all the way back to Mac OS 10.6 so have to deal with older driver versions. See the original dlclose line for my faulty assumption. Waiting to unload the driver later fixes the crash. Newer drivers don’t seem to have this issue. Also removed WITH_INPUT_NDOF guards as NDOFManager.h takes care of this. Follow-up to b10d005 a few days ago.
2016-08-20Fix OpenSubdiv driver crash due to recently added uninitialized field.Alexander Gavrilov
For some reason my NVidia linux driver crashes in glDeleteTextures when the ID is total garbage.
2016-08-18Cycles: Fix wrong allocator used for spatial builderSergey Sharybin
2016-08-18NDOF: compile 3D mouse code only if WITH_INPUT_NDOFMike Erwin
When WITH_INPUT_NDOF is disabled, 3D mouse handling code is removed from: - GHOST (was mostly done, finished the job) - window manager - various editors - RNA - keymaps The input tab of user prefs does not show 3D mouse settings. Key map editor does not show NDOF mappings. DNA does not change. On my Mac the compiled binary is 42KB smaller after this change. It runs fine WITH_INPUT_NDOF on or off.
2016-08-18NDOF: suppress buttons debug logMike Erwin
Accidentally left this in the 3D mouse code. Mac only.
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-15OpenGL: debug context on WindowsMike Erwin
Enable based on --debug-gpu at the command line. Linux already works this way. This commit in master (2.78 timeframe) is the smallest change that gets the desired result. I did a similar commit in blender2.8. Most ongoing GL debug work will go into 2.8, not 2.7x. In support of T49089
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
2016-08-08Cycles: Remove set but unused variableSergey Sharybin