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
2017-09-22Remove quicktime supportAaron Carlisle
It has been deprecated since at least macOS 10.9 and fully removed in 10.12. I am unsure if we should remove it only in 2.8. But you cannot build blender with it supported when using a modern xcode version anyway so I would tend towards just removing it also for 2.79 if that ever happens. Reviewers: mont29, dfelinto, juicyfruit, brecht Reviewed By: mont29, brecht Subscribers: Blendify, brecht Maniphest Tasks: T52807 Differential Revision: https://developer.blender.org/D2333
2017-09-03CMake: use Blender's glew by defaultCampbell Barton
Use since it's always bundled to avoid any issues caused by version mis-match.
2017-06-27CMake: Only set CMAKE_BUILD_TYPE_INIT when not setCampbell Barton
Convenience makefile now uses CMAKE_BUILD_TYPE_INIT, this means you can change the build type of an existing build and it won't be overwritten when running `make`. Useful if you want to add debug info to a release build for profiling.
2017-06-16CMake: print absolute CMakeCache.txtCampbell Barton
Message didn't show the path of the file to remove which could be confusing.
2017-05-24CMake: document that WITH_FFTW3 is also used for the ocean sim.Sybren A. Stüvel
2017-05-22Fix/workaround GCC bug about -Wno-implicit-fallthroughSergey Sharybin
For some reason GCC-6 successfully compiles test program with -Wno-implicit-fallthrough passed via command line. It just silently ignores the unknown arguments which are starting with -Wno-. The issue is, if some other waning happens in the code, then GCC will complain about unknown -Wno- argument which is not supported by current GCC version. This makes some misleading warning prints about unknown command line argument when any other warning happens in code from extern/.
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-04-30fix typo in WITH_SYSTEM_GFLOG in CMakeLists.txtlazydodo
2017-04-27Cleanup: spellingCampbell Barton
2017-04-23CMake: Fix CMake for non Apple systemsThomas Beck
Follow up to https://developer.blender.org/rB14a4ce6d7fb4dcf3d1aa5b58f9a543549df6d5dc apple_check_quicktime() macro is only defined for apple, so ignore it otherwise.
2017-04-23CMake: move some Apple specific code into platform_apple_xcode.cmake.Brecht Van Lommel
2017-04-21CMake: Add option to build against system-wide GlogSergey Sharybin
Similar to previous commit for Gflags.
2017-04-21CMake: Add option to link against system-wide Gflags librarySergey Sharybin
It is disabled by default, so should not affect existing configurations. Main benefits of this goes as: - Linux distros can use that to avoid libraries duplication and link blender package against gflags package from the system. - It it easier to test whether Blender works with updated version of Gflags prior to re-bundling the library.
2017-03-11Cleanup: code style & cmakeCampbell Barton
2017-03-05CMake: confine WIN32 optionsCampbell Barton
2017-02-10CTests: Initial work to cover Cycles nodes with OpenGL testsSergey Sharybin
Works similar to regular Cycles tests, just does OpenGL render to get output image. Seems to work fine with the only funny effect: Blender window will pop up for each of the tests. This is current limitation of our OpenGL context. Might be changed in the future.
2017-01-27CMake: Fix typoSergej Reich
2016-12-29Edits to user prefs NDOF UIAaron Carlisle
Small changes: - Remove "NDOF" from each setting - Change tooltip for deadzone - Unrelated typo in cmake comment Reviewers: merwin, Severin Reviewed By: merwin, Severin Tags: #bf_blender, #user_interface Differential Revision: https://developer.blender.org/D2319
2016-12-24[MSVC] Fix test for C++11 support for vc2015/2017 based on D2432 by Ulysse ↵Ulysse Martin
Martin (youle)
2016-12-04CMake: disable QuickTime with macOS SDK 10.12+, no longer supported by Apple.Brecht Van Lommel
2016-11-05change default for quicktime suport for macOS to offMartijn Berger
2016-11-02CMake: Make ld.gold linker optionalSergey Sharybin
Some platforms are having hard time using this linker so added an option to not use it. The options is an advanced one and enabled by default so should not cause any changes for current users.
2016-11-02CMake: Fix use of some option which was never definedSergey Sharybin
This way it seems more logical to me.
2016-10-22Fix T49657: Audio backend "Jack" should be named "JACK".Jörg Müller
2016-10-19Fix T49793 : Fix enabling SSE2 globally for msvc.lazydodo
When feeding msvc both /arch:sse2 and /arch:sse it's not smart enough to pick the best option, just goes with the last option
2016-10-09CMake changes for new macOS target 10.9 / libc++ libraries.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2283
2016-10-03Cycles CUDA: make CUDA 8.0 the officially supported version for all platforms.Brecht Van Lommel
2016-09-14CMake: decouple WITH_CYCLES_OPENSUBDIV from WITH_OPENSUBDIV, and enable on OS X.Brecht Van Lommel
Reviewed By: sergey Differential Revision: https://developer.blender.org/D2227
2016-09-06[cmake/cpack] allow override of package namelazydodo
Cpack generates a standard filename with git information in it, which might not always be wanted for release builds, this patch adds an option to override that default filename. Reviewers: sergey, juicyfruit Reviewed By: juicyfruit Differential Revision: https://developer.blender.org/D2199 ammended to fix: wrong variable name in main CMakeLists.txt
2016-09-06[cmake/cpack] allow override of package namelazydodo
Cpack generates a standard filename with git information in it, which might not always be wanted for release builds, this patch adds an option to override that default filename. Reviewers: sergey, juicyfruit Reviewed By: juicyfruit Differential Revision: https://developer.blender.org/D2199
2016-08-31[Windows] Add support for code signing the final binaries.lazydodo
The option is controlled with the WITH_WINDOWS_CODESIGN option and needs: - Signtool must be found on the system, the standard windows sdk folders will be searched for it. - The path to the pfx file (WINDOWS_CODESIGN_PFX) - The password for the pfx , this can either be set by the WINDOWS_CODESIGN_PFX_PASSWORD variable but given that ends up in CMakeCache.txt (which might be undesirable) there is a backup option of setting the PFXPASSWORD environment variable on the system. Reviewers: sergey, juicyfruit Reviewed By: juicyfruit Tags: #bf_blender, #platform:_windows Differential Revision: https://developer.blender.org/D2182
2016-08-23D2078 Windows : add option to prevent find_package from picking up the wrong ↵lazydodo
libraries and use hardcoded paths instead.
2016-08-17CMake: Move main platform checks to separate filesSergey Sharybin
Basically title says it all. The goal is to make platform maintenance easier, so you don't have to constantly scroll back and forth looking for if() branches to check which exact platform you're currently working on. Ideally we also would move option defaults to a platform files, but that i'm not sure how to implement in a nice way yet. Reviewers: mont29 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2148
2016-08-09CMake: Once again, don't use find_package to get hardcoded librariesSergey Sharybin
2016-08-09CMake: Remove hardcoded DIR_ROOT for alembic and MinGWSergey Sharybin
Do it for until precompiled libraries are there so we can allow MinGW users to compile their own library and pass it via ROOT_DIR.
2016-08-09CMake: Use proper way to define debug/release libraries for alembicSergey Sharybin
Please do not spread platform+library specific code all over the CMake file, we already have sections dedicated to that.
2016-08-09CMake: Do not force set root folder for AlembicSergey Sharybin
it is incorrect to set ROOT_DIR and then call find_package. If something is expected to be in a given location use hardcoded locations (for the precompiled libraries). Otherwise just use find_package() and let users to set ROOT_DIT when it is required.
2016-08-08Make previous alembic fix only apply to MSVClazydodo
2016-08-08Alembic/ msvc : Link alembic_d.lib instead of alembic.lib when doing debug ↵lazydodo
builds.
2016-08-07Set WIN32_WINNT for all windows platforms, not just x64lazydodo
2016-08-07Cycles microdisplacement: Support for Catmull-Clark subdivision via OpenSubdivMai Lavelle
Enables Catmull-Clark subdivision meshes with support for creases and attribute subdivision. Still waiting on OpenSubdiv to fully support face varying interpolation for subdividing uv coordinates tho. Also there may be some inconsistencies with Blender's subdivision which will be resolved at a later time. Code for reading patch tables and creating patch maps is borrowed from OpenSubdiv. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2111
2016-08-06Basic Alembic supportKévin Dietrich
All in all, this patch adds an Alembic importer, an Alembic exporter, and a new CacheFile data block which, for now, wraps around an Alembic archive. This data block is made available through a new modifier ("Mesh Sequence Cache") as well as a new constraint ("Transform Cache") to somewhat properly support respectively geometric and transformation data streaming from alembic caches. A more in-depth documentation is to be found on the wiki, as well as a guide to compile alembic: https://wiki.blender.org/index.php/ User:Kevindietrich/AlembicBasicIo. Many thanks to everyone involved in this little project, and huge shout out to "cgstrive" for the thorough testings with Maya, 3ds Max, Houdini and Realflow as well as @fjuhec, @jensverwiebe and @jasperge for the custom builds and compile fixes. Reviewers: sergey, campbellbarton, mont29 Reviewed By: sergey, campbellbarton, mont29 Differential Revision: https://developer.blender.org/D2060
2016-07-18[MSVC2015/Cycles] MSVC2015 before update 3 produce invalid buildsRay Molenkamp
I'm not quite sure where the codegen bug gets triggered but it's easily noticeable in the barcelona scene. (extra saturated leafs and illumination on the right ledge of the pool) 2013 buildbot reference image: {F320792} 2015 With no updates (compiler version 19.00.23026) {F320793} 2015 With Update 2 (Compiler version 19.00.23918) {F320794} 2015 With Update 3 (Compiler version 19.00.24210) {F320795} This patch blocks all compiler builds before update 3 in a similar way we did for msvc 2013 update 4 Reviewers: campbellbarton, brecht, juicyfruit Reviewed By: juicyfruit Tags: #bf_blender Differential Revision: https://developer.blender.org/D2100
2016-07-18[MSVC/LNK4199/Cleanup] Delay loading is causing linker warnings.Ray Molenkamp
We recently added delay-loading of the openmp dll's so we no longer had to use the stub loader, we however put these linker flags on the global linker flags causing any sub projects not using openmp to spit linker warning 4199 while building, ``` Warning LNK4199 /DELAYLOAD:vcomp140.dll ignored; no imports found from vcomp140.dll datatoc k:\BlenderGit\build_windows_2015a\source\blender\datatoc\LINK 1 ``` This patch makes the delay-load only apply to the blender project. Reviewers: sergey Subscribers: sergey Tags: #bf_blender Differential Revision: https://developer.blender.org/D2092
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.