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-06-12Fix OS X build after Decklink changes, it is not supported yet so don't ↵Brecht Van Lommel
enable it.
2016-06-11BGE: DeckLink card support for video capture and streaming.Benoit Bolsee
You can capture and stream video in the BGE using the DeckLink video cards from Black Magic Design. You need a card and Desktop Video software version 10.4 or above to use these features in the BGE. Many thanks to Nuno Estanquiero who tested the patch extensively on a variety of Decklink products, it wouldn't have been possible without his help. You can find a brief summary of the decklink features here: https://wiki.blender.org/index.php/Dev:Source/GameEngine/Decklink The full API details and samples are in the Python API documentation. bge.texture.VideoDeckLink(format, capture=0): Use this object to capture a video stream. the format argument describes the video and pixel formats and the capture argument the card number. This object can be used as a source for bge.texture.Texture so that the frame is sent to the GPU, or by itself using the new refresh method to get the video frame in a buffer. The frames are usually not in RGB but in YUV format (8bit or 10bit); they require a shader to extract the RGB components in the GPU. Details and sample shaders in the documentation. 3D video capture is supported: the frames are double height with left and right eyes in top-bottom order. The 'eye' uniform (see setUniformEyef) can be used to sample the 3D frame when the BGE is also in stereo mode. This allows to composite a 3D video stream with a 3D scene and render it in stereo. In Windows, and if you have a nVidia Quadro GPU, you can benefit of an additional performance boost by using 'GPUDirect': a method to send a video frame to the GPU without going through the OGL driver. The 'pinned memory' OGL extension is also supported (only on high-end AMD GPU) with the same effect. bge.texture.DeckLink(cardIdx=0, format=""): Use this object to send video frame to a DeckLink card. Only the immediate mode is supported, the scheduled mode is not implemented. This object is similar to bge.texture.Texture: you need to attach a image source and call refresh() to compute and send the frame to the card. This object is best suited for video keying: a video stream (not captured) flows through the card and the frame you send to the card are displayed above it (the card does the compositing automatically based on the alpha channel). At the time of this commit, 3D video keying is supported in the BGE but not in the DeckLink card due to a color space issue.
2016-06-09BGE: alpha on frame buffer and precedence of MSAA over swap.Benoit Bolsee
A new option '-a' can be passed to the blenderplayer. It forces the framebuffer to have an alpha channel. This can be used in VideoTexture to return a image with alpha channel with ImageViewport (provided alpha is set to True on the ImageViewport object and that the background color alpha channel is 0, which is the default). Without the -a option, the frame buffer has no alpha channel and ImageViewport always returns an opaque image, no matter what. In Linux, the player window will be rendered transparently over the desktop. In Windows, the player window is still rendered opaque because transparency of the window is only possible using the 'compositing' functions of Windows. The code is there but not enabled (look for WIN32_COMPOSITING) because 1) it doesn't work so well 2) it requires a DLL that is only available on Vista and up. give precedence to AA over Swap copy: Certain GPU (intel) will not allow MSAA together with swap copy. Previously, swap copy had priority over MSAA: fewer AA samples would be chosen if it was the condition to get swap copy. This patch reverse the logic: swap copy will be abandonned if another swap method (undefined or exchange) will provide the number of AA samples requested. If no AA samples is requested, swap copy still has the priority of course.
2016-05-31CMake/ Visual Studio 14 2015, Use one library name for openal for both 2013 ↵Martijn Berger
and 2015
2016-05-24ndof: enable Linux support by default, unless libs missingMike Erwin
2016-05-22CMake: Solve compilation error with pre-compiled libraries and new GCC-6Sergey Sharybin
Since version 6 G++ switched to C++11 by default, which breaks some logic around WITH_CXX11 checks in out CMake files, leading to compilation errors. This is easy to solve by explicitly enabling older C++ standard when C++11 was not explicitly enabled by CMake options. However, G++-6 will also use new ABI by default even if older standard was specified in the compiler options. This is being addressed by a special define flag. This tricks made it possible to use new G++-6 without need to recompile any of pre-compiled libraries. However, this might break compilation with existing system libraries, which might already be using new ABI. We can't address this automatically, so now we simply default WITH_C11 and WITH_CXX11 options to whatever defaults of the current compiler are. This means, for G++-6 we'll set WITH_CXX11 to truth. This should make linking with system libraries working just fine, but to make pre-compiled libraries we still might need to disable CXX11. This should work fine work for a new environments with G++-6 and install_deps script run from scratch there, because C++ standard will be the same for both Blender dependencies and Blender itself.
2016-05-22ndof: simplify Mac buildMike Erwin
We don’t require the 3Dconnexion driver framework at build time. No special link flags or include paths needed.
2016-05-19Cleanup: CMake indentationCampbell Barton
Also remove outdated comment
2016-05-18Revert string splittingCampbell Barton
Caused error on OSX
2016-05-18Revert part of 4adffde02c98f3bb058ffba5ea010a6b1045a7b1 to get Windows ↵Joshua Leung
(MSVC2013) compiling again
2016-05-18Cleanup: cmake, indentation, line lengthCampbell Barton
2016-05-17Fix C++11 build issues on OS X, remove references to outdated libs.Brecht Van Lommel
2016-05-10CMake: optional date/time overrides for reproducible buildsCampbell Barton
2016-05-05Optimize linear<->sRGB conversion for SSE2 processorsSergey Sharybin
Using SSE2 intrinsics when available for this kind of conversions. It's not totally accurate, but accurate enough for the purposes where we're using direct colorspace conversion by-passing OCIO. Partially based on code from Cycles, partially based on other online articles: https://stackoverflow.com/questions/6475373/optimizations-for-pow-with-const-non-integer-exponent Makes projection painting on hi-res float textures smoother. This commit also enables global SSE2 in Blender. It shouldn't bring any regressions in supported hardware (we require SSE2 since 2.64 now), but should keep an eye on because compilers might have some bugs with that (unlikely, but possible).
2016-04-23Cleanup: cmakeCampbell Barton
2016-04-23Fix T48250: suppress CMake ranlib warnings to avoid issue with Qt CreatorTianwei Shen
Reviewed By: campbellbarton, brecht Differential Revision: https://developer.blender.org/D1942
2016-03-31CMAKE disable building the windows launcher, fix type in delayloading of ↵Martijn Berger
debug dll
2016-03-31CMAKE / msvc openmp, delay loading of openmp dll so we can set environmentMartijn Berger
variable before it is loaded
2016-03-31cmake fix full debug builds on msvcMartijn Berger
2016-03-30CMake cleanup target_link_libraries_decoupledMartijn Berger
2016-03-30Fix T46623: OSX bpy.app.binary_path_python incorrectCampbell Barton
CMake's PYTHON_EXECUTABLE wasn't set.
2016-03-25Cycles: Add an option to build single kernel only which fits current CPUSergey Sharybin
This seems quite useful for the development, so you don't need to wait all the kernels to be re-compiled when working on a new feature, which speeds up re-iteration. Marked as an advanced option, so if it doesn't work so well in practice it's safe to revert anyway.
2016-03-15CMake: only show py module install options when usedCampbell Barton
2016-03-13CMake: use CXX for C++ in var nameCampbell Barton
Follow convention cmake uses.
2016-03-11CMake: Warn when buildinfo is disabled due to missing GitSergey Sharybin
2016-03-11CMake: Avoid call of find_package(Git) for every compile with buildinfo enabledSergey Sharybin
This is a bit tricky, find_package(Git) was only used to check if git is installed and actual git command was assumed to be in the PATH (while ideally it should have been GIT_COMMAND variable). This commit makes re-compile output cleaner, especially when using Ninja. Adding proper GIT_COMMAND to buildinfo.cmake is also possible via argument. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1847
2016-03-10CMake: remove OSX version lookup tableCampbell Barton
This assumed the OSX SDK version matched the OSX version, which isn't always true. Also problematic for maintenance and would make building older Blender versions on OSX fail. Passing in pre-defined OSX_SYSTEM is also supported, if you have multiple and want to select one.
2016-03-03Experimental option to build Blender with C11 supportSergey Sharybin
It'll be nice to eventually go C11/C++11 by default, but for until then it's kinda handy to be able to build locally with C11 support, Reviewers: mont29, campbellbarton Reviewed By: mont29, campbellbarton Differential Revision: https://developer.blender.org/D1752
2016-02-26CMake: show error on missing LIBDIR early onCampbell Barton
Previously CMake would show many messages about missing libs before checking for a missing LIBDIR. Now show the error immediately and exit. Also allow for custom LIBDIR on OSX.
2016-02-24CMake: check for minimum MSVC versionCampbell Barton
Needed since older versions are unsupported (giving cryptic errors).
2016-02-24Link windows builds against Blosc when OpenVDB is enabledSergey Sharybin
OpenVDB is compiled with Blosc support, meaning we should pass Blosc to a linker now. Unfortunately, the Blosc has compiled-in crt and pthread library, which still screws up linking.
2016-02-20CMake: Ignore paranoid MSVC linker warningsSergey Sharybin
2016-02-19Mac OS X Openvdb, add blosc support.Martijn Berger
even if WITH_OPENVDB_BLOSC is off openvdb still contains 1 reference to snappy so we link with it always
2016-02-19CMake: New dependency graph requires either Boost or C++11Sergey Sharybin
2016-02-10Windows MSVC allow building with openvdb / tbbMartijn Berger
2016-02-06CMake OpenVDB support on OS XMartijn Berger
Reviewers: kevindietrich, sergey Differential Revision: https://developer.blender.org/D1773
2016-02-03Imbuf: remove libredcodeCampbell Barton
D1751, remove this library since its quite a specific - only supports an older version of this codec. Also ffmpeg has added support for recent versions of the codec.
2016-02-01CMake: Silent Numpy warning on OSXSergey Sharybin
It is in the archive actually and being installed nicely by the looks of it.
2016-01-30CMake: Remove per-module Werror settingsSergey Sharybin
Seems i was the only one who was really up to using it and i do have gcc-5 finally backported and installed here so such a fine-tune flags are no longer needed.
2016-01-28Cycles: Enable compilation of sm_37 kernels by defaultSergey Sharybin
Makes sense to keep support of top-range cards "out of the box".
2016-01-27OpenVDB: Get rid of hardcoded TBB variables and enabled for Linux buildbotSergey Sharybin
2016-01-27NDOF: enable 3D mouse support on Mac by defaultMike Erwin
We used to require the 3Dconnexion driver installed at build-time so this was turned off. I reworked the code last year to remove the driver dependency so there’s no reason not to enable this.
2016-01-26CMake: Correction in comment in previous commitSergey Sharybin
2016-01-26CMake: Corrections around disabling BoostSergey Sharybin
Were some missing dependencies in the checks.
2016-01-26CMake: Keep Schur specializations OFF by default configSergey Sharybin
Now when doing full build is real easy on all platforms, we can only keep it enabled for the blender_full configuration.
2016-01-23Implementation of OpenVDB as a possible cache format for smokeKévin Dietrich
simulations. This commits implements OpenVDB as an extra cache format in the Point Cache system for smoke simulations. Compilation with the library is turned off by default for now, and shall be enabled when the library is present. A documentation of its doings is available here: http:// wiki.blender.org/index.php/User:Kevindietrich/OpenVDBSmokeExport. A guide to compile OpenVDB can be found here (Linux): http:// wiki.blender.org/index.php?title=Dev:Doc/Building_Blender/Linux/ Dependencies_From_Source#OpenVDB Reviewers: sergey, lukastoenne, brecht, campbellbarton Reviewed By: brecht, campbellbarton Subscribers: galenb, Blendify, robocyte, Lapineige, bliblubli, jtheninja, lukasstockner97, dingto, brecht Differential Revision: https://developer.blender.org/D1721
2016-01-18rather then → rather thanSybren A. Stüvel
2016-01-17Bump boost to 1.60Martijn Berger
2016-01-17Revert "Make 'incompatible pointer type' gcc warning an error by default."Campbell Barton
This reverts commit b5bd39b5182590fd4d5ddb24d7b7bdbe714d57bf. This is problematic because it means minor differences in system headers can cause errors (glew in this case errored for me both with system and Blender's bundled version). Developers can enable -Werror=* locally for warnings that aren't reliable across different systems.
2016-01-17Make 'incompatible pointer type' gcc warning an error by default.Bastien Montagne
This is the second time at least that kind of stuff slips in during one of my refactor, a mere warning here is really not enough (too easy to miss it)!