diff --git a/CMakeLists.txt b/CMakeLists.txt
index c7addc81b0c..8b64f7b8afd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -333,7 +333,7 @@ option(WITH_ALEMBIC "Enable Alembic Support" OFF)
option(WITH_ALEMBIC_HDF5 "Enable Legacy Alembic Support (not officially supported)" OFF)
if(APPLE)
- option(WITH_CODEC_QUICKTIME "Enable Quicktime Support" ON)
+ option(WITH_CODEC_QUICKTIME "Enable Quicktime Support" OFF)
endif()
# 3D format support
@@ -343,9 +343,9 @@ option(WITH_OPENCOLLADA "Enable OpenCollada Support (http://www.opencollada.or
# Sound output
option(WITH_SDL "Enable SDL for sound and joystick support" ${_init_SDL})
option(WITH_OPENAL "Enable OpenAL Support (http://www.openal.org)" ON)
-option(WITH_JACK "Enable Jack Support (http://www.jackaudio.org)" ${_init_JACK})
+option(WITH_JACK "Enable JACK Support (http://www.jackaudio.org)" ${_init_JACK})
if(UNIX AND NOT APPLE)
- option(WITH_JACK_DYNLOAD "Enable runtime dynamic Jack libraries loading" OFF)
+ option(WITH_JACK_DYNLOAD "Enable runtime dynamic JACK libraries loading" OFF)
endif()
if(UNIX AND NOT APPLE)
option(WITH_SDL_DYNLOAD "Enable runtime dynamic SDL libraries loading" OFF)
@@ -508,6 +508,12 @@ mark_as_advanced(WITH_C11)
option(WITH_CXX11 "Build with C++11 standard enabled, for development use only!" ${_cxx11_init})
mark_as_advanced(WITH_CXX11)
+# Compiler toolchain
+if(CMAKE_COMPILER_IS_GNUCC)
+ option(WITH_LINKER_GOLD "Use ld.gold linker which is usually faster than ld.bfd" ON)
+ mark_as_advanced(WITH_LINKER_GOLD)
+endif()
+
# Dependency graph
option(WITH_LEGACY_DEPSGRAPH "Build Blender with legacy dependency graph" ON)
mark_as_advanced(WITH_LEGACY_DEPSGRAPH)
@@ -622,6 +628,12 @@ if(APPLE)
# to silence sdk not found warning, just overrides CMAKE_OSX_SYSROOT
set(CMAKE_XCODE_ATTRIBUTE_SDKROOT macosx${OSX_SYSTEM})
endif()
+
+ # QuickTime framework is no longer available in SDK 10.12+
+ if(WITH_CODEC_QUICKTIME AND ${OSX_SYSTEM} VERSION_GREATER 10.11)
+ set(WITH_CODEC_QUICKTIME OFF)
+ message(STATUS "QuickTime not supported by SDK ${OSX_SYSTEM}, disabling WITH_CODEC_QUICKTIME")
+ endif()
endif()
if(OSX_SYSTEM MATCHES 10.9)
@@ -731,7 +743,7 @@ elseif(WITH_CYCLES OR WITH_OPENIMAGEIO OR WITH_AUDASPACE OR WITH_INTERNATIONAL O
# Keep enabled
else()
# New dependency graph needs either Boost or C++11 for function bindings.
- if(NOT USE_CXX11)
+ if(NOT WITH_CXX11)
# Enabled but we don't need it
set(WITH_BOOST OFF)
endif()
@@ -855,7 +867,7 @@ endif()
# linux only, not cached
set(WITH_BINRELOC OFF)
-# MAXOSX only, set to avoid uninitialized
+# MACOSX only, set to avoid uninitialized
set(EXETYPE "")
# C/C++ flags
@@ -1561,7 +1573,7 @@ if(WITH_CXX11)
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
# TODO(sergey): Do we want c++11 or gnu-c++11 here?
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
- elseif(MSVC12)
+ elseif(MSVC)
# Nothing special is needed, C++11 features are available by default.
else()
message(FATAL_ERROR "Compiler ${CMAKE_C_COMPILER_ID} is not supported for C++11 build yet")
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh
index d6ea7d99f04..ecb1cf87511 100755
--- a/build_files/build_environment/install_deps.sh
+++ b/build_files/build_environment/install_deps.sh
@@ -289,7 +289,7 @@ NO_BUILD=false
NO_CONFIRM=false
USE_CXX11=false
-PYTHON_VERSION="3.5.1"
+PYTHON_VERSION="3.5.2"
PYTHON_VERSION_MIN="3.5"
PYTHON_FORCE_BUILD=false
PYTHON_FORCE_REBUILD=false
@@ -322,7 +322,7 @@ OPENEXR_FORCE_REBUILD=false
OPENEXR_SKIP=false
_with_built_openexr=false
-OIIO_VERSION="1.6.9"
+OIIO_VERSION="1.7.8"
OIIO_VERSION_MIN="1.6.0"
OIIO_VERSION_MAX="1.9.0" # UNKNOWN currently # Not supported by current OSL...
OIIO_FORCE_BUILD=false
@@ -337,14 +337,14 @@ LLVM_FORCE_REBUILD=false
LLVM_SKIP=false
# OSL needs to be compiled for now!
-OSL_VERSION="1.7.3"
+OSL_VERSION="1.7.5"
OSL_VERSION_MIN=$OSL_VERSION
OSL_FORCE_BUILD=false
OSL_FORCE_REBUILD=false
OSL_SKIP=false
# OpenSubdiv needs to be compiled for now
-OSD_VERSION="3.0.5"
+OSD_VERSION="3.1.0"
OSD_VERSION_MIN=$OSD_VERSION
OSD_FORCE_BUILD=false
OSD_FORCE_REBUILD=false
@@ -372,7 +372,7 @@ OPENCOLLADA_FORCE_BUILD=false
OPENCOLLADA_FORCE_REBUILD=false
OPENCOLLADA_SKIP=false
-FFMPEG_VERSION="2.8.4"
+FFMPEG_VERSION="3.2.1"
FFMPEG_VERSION_MIN="2.8.4"
FFMPEG_FORCE_BUILD=false
FFMPEG_FORCE_REBUILD=false
@@ -713,6 +713,21 @@ if [ "$WITH_ALL" = true -a "$OPENCOLLADA_SKIP" = false ]; then
fi
+WARNING "****WARNING****"
+PRINT "If you are experiencing issues building Blender, _*TRY A FRESH, CLEAN BUILD FIRST*_!"
+PRINT "The same goes for install_deps itself, if you encounter issues, please first erase everything in $SRC and $INST"
+PRINT "(provided obviously you did not add anything yourself in those dirs!), and run install_deps.sh again!"
+PRINT "Often, changes in the libs built by this script, or in your distro package, cannot be handled simply, so..."
+PRINT ""
+PRINT "You may also try to use the '--build-foo' options to bypass your distribution's packages"
+PRINT "for some troublesome/buggy libraries..."
+PRINT ""
+PRINT ""
+PRINT "Ran with:"
+PRINT " install_deps.sh $COMMANDLINE"
+PRINT ""
+PRINT ""
+
# This has to be done here, because user might force some versions...
PYTHON_SOURCE=( "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tgz" )
@@ -785,6 +800,8 @@ However, if you are experiencing linking errors (also when building Blender itse
Please note that until the transition to C++11-built libraries if completed in your distribution, situation will
remain fuzzy and incompatibilities may happen..."
+ PRINT ""
+ PRINT ""
CXXFLAGS="$CXXFLAGS -std=c++11"
export CXXFLAGS
fi
@@ -1858,6 +1875,9 @@ compile_OSL() {
cmake_d="$cmake_d -D OSL_BUILD_PLUGINS=OFF"
cmake_d="$cmake_d -D OSL_BUILD_TESTS=OFF"
cmake_d="$cmake_d -D USE_SIMD=sse2"
+ if [ "$USE_CXX11" = true ]; then
+ cmake_d="$cmake_d -D OSL_BUILD_CPP11=1"
+ fi
#~ cmake_d="$cmake_d -D ILMBASE_VERSION=$ILMBASE_VERSION"
@@ -2460,7 +2480,7 @@ compile_FFmpeg() {
--enable-avfilter --disable-vdpau \
--disable-bzlib --disable-libgsm --disable-libspeex \
--enable-pthreads --enable-zlib --enable-stripping --enable-runtime-cpudetect \
- --disable-vaapi --disable-libfaac --disable-nonfree --enable-gpl \
+ --disable-vaapi --disable-nonfree --enable-gpl \
--disable-postproc --disable-librtmp --disable-libopencore-amrnb \
--disable-libopencore-amrwb --disable-libdc1394 --disable-version3 --disable-outdev=sdl \
--disable-libxcb \
@@ -4023,9 +4043,6 @@ install_OTHER() {
fi
if [ "$_do_compile_llvm" = true ]; then
- install_packages_DEB libffi-dev
- # LLVM can't find the debian ffi header dir
- _FFI_INCLUDE_DIR=`dpkg -L libffi-dev | grep -e ".*/ffi.h" | sed -r 's/(.*)\/ffi.h/\1/'`
PRINT ""
compile_LLVM
have_llvm=true
@@ -4044,7 +4061,6 @@ install_OTHER() {
if [ "$_do_compile_osl" = true ]; then
if [ "$have_llvm" = true ]; then
- install_packages_DEB flex bison libtbb-dev
PRINT ""
compile_OSL
else
@@ -4063,7 +4079,6 @@ install_OTHER() {
fi
if [ "$_do_compile_osd" = true ]; then
- install_packages_DEB flex bison libtbb-dev
PRINT ""
compile_OSD
fi
@@ -4080,10 +4095,6 @@ install_OTHER() {
fi
if [ "$_do_compile_collada" = true ]; then
- install_packages_DEB libpcre3-dev
- # Find path to libxml shared lib...
- _XML2_LIB=`dpkg -L libxml2-dev | grep -e ".*/libxml2.so"`
- # No package
PRINT ""
compile_OpenCOLLADA
fi
@@ -4168,16 +4179,6 @@ print_info_ffmpeglink() {
}
print_info() {
- PRINT ""
- PRINT ""
- WARNING "****WARNING****"
- PRINT "If you are experiencing issues building Blender, _*TRY A FRESH, CLEAN BUILD FIRST*_!"
- PRINT "The same goes for install_deps itself, if you encounter issues, please first erase everything in $SRC and $INST"
- PRINT "(provided obviously you did not add anything yourself in those dirs!), and run install_deps.sh again!"
- PRINT "Often, changes in the libs built by this script, or in your distro package, cannot be handled simply, so..."
- PRINT ""
- PRINT "You may also try to use the '--build-foo' options to bypass your distribution's packages"
- PRINT "for some troublesome/buggy libraries..."
PRINT ""
PRINT ""
PRINT "Ran with:"
diff --git a/build_files/buildbot/master.cfg b/build_files/buildbot/master.cfg
index 8bd23357fc6..387e53593b3 100644
--- a/build_files/buildbot/master.cfg
+++ b/build_files/buildbot/master.cfg
@@ -94,6 +94,7 @@ all_repositories = {
r'git://git.blender.org/blender-translations.git': 'blender-translations',
r'git://git.blender.org/blender-addons.git': 'blender-addons',
r'git://git.blender.org/blender-addons-contrib.git': 'blender-addons-contrib',
+ r'git://git.blender.org/blender-dev-tools.git': 'blender-dev-tools',
r'https://svn.blender.org/svnroot/bf-blender/': 'lib svn',
}
@@ -128,6 +129,7 @@ def schedule_force_build(name):
forcesched.CodebaseParameter(hide=True, codebase="blender-translations"),
forcesched.CodebaseParameter(hide=True, codebase="blender-addons"),
forcesched.CodebaseParameter(hide=True, codebase="blender-addons-contrib"),
+ forcesched.CodebaseParameter(hide=True, codebase="blender-dev-tools"),
forcesched.CodebaseParameter(hide=True, codebase="lib svn")],
properties=[]))
@@ -143,6 +145,7 @@ def schedule_build(name, hour, minute=0):
"blender-translations": {"repository": "", "branch": "master"},
"blender-addons": {"repository": "", "branch": "master"},
"blender-addons-contrib": {"repository": "", "branch": "master"},
+ "blender-dev-tools": {"repository": "", "branch": "master"},
"lib svn": {"repository": "", "branch": "trunk"}},
branch=current_branch,
builderNames=[name],
@@ -264,7 +267,8 @@ def generic_builder(id, libdir='', branch='', rsync=False):
for submodule in ('blender-translations',
'blender-addons',
- 'blender-addons-contrib'):
+ 'blender-addons-contrib',
+ 'blender-dev-tools'):
f.addStep(git_submodule_step(submodule))
f.addStep(git_step(branch))
@@ -293,13 +297,14 @@ def generic_builder(id, libdir='', branch='', rsync=False):
# Builders
add_builder(c, 'mac_x86_64_10_6_cmake', 'darwin-9.x.universal', generic_builder, hour=5)
-add_builder(c, 'linux_glibc211_i686_cmake', '', generic_builder, hour=1)
-add_builder(c, 'linux_glibc211_x86_64_cmake', '', generic_builder, hour=2)
+# add_builder(c, 'linux_glibc211_i686_cmake', '', generic_builder, hour=1)
+# add_builder(c, 'linux_glibc211_x86_64_cmake', '', generic_builder, hour=2)
add_builder(c, 'linux_glibc219_i686_cmake', '', generic_builder, hour=3)
add_builder(c, 'linux_glibc219_x86_64_cmake', '', generic_builder, hour=4)
add_builder(c, 'win32_cmake_vc2013', 'windows_vc12', generic_builder, hour=3)
add_builder(c, 'win64_cmake_vc2013', 'win64_vc12', generic_builder, hour=4)
-add_builder(c, 'win64_cmake_vc2015', 'win64_vc14', generic_builder, hour=5)
+add_builder(c, 'win32_cmake_vc2015', 'windows_vc14', generic_builder, hour=5)
+add_builder(c, 'win64_cmake_vc2015', 'win64_vc14', generic_builder, hour=6)
# STATUS TARGETS
#
diff --git a/build_files/buildbot/slave_compile.py b/build_files/buildbot/slave_compile.py
index c2bfd882fde..76d538ad578 100644
--- a/build_files/buildbot/slave_compile.py
+++ b/build_files/buildbot/slave_compile.py
@@ -183,10 +183,8 @@ if 'cmake' in builder:
print('Condifuration FAILED!')
sys.exit(retcode)
- if 'win32' in builder:
- command = ['msbuild', 'INSTALL.vcxproj', '/Property:PlatformToolset=v120_xp', '/p:Configuration=Release']
- elif 'win64' in builder:
- command = ['msbuild', 'INSTALL.vcxproj', '/p:Configuration=Release']
+ if 'win32' in builder or 'win64' in builder:
+ command = ['cmake', '--build', '.', '--target', target_name, '--config', 'Release']
else:
command = target_chroot_prefix + ['make', '-s', '-j2', target_name]
diff --git a/build_files/cmake/Modules/FindJack.cmake b/build_files/cmake/Modules/FindJack.cmake
index 9a847fabf70..caafa3c34a1 100644
--- a/build_files/cmake/Modules/FindJack.cmake
+++ b/build_files/cmake/Modules/FindJack.cmake
@@ -1,15 +1,15 @@
-# - Find Jack library
-# Find the native Jack includes and library
+# - Find JACK library
+# Find the native JACK includes and library
# This module defines
# JACK_INCLUDE_DIRS, where to find jack.h, Set when
# JACK_INCLUDE_DIR is found.
-# JACK_LIBRARIES, libraries to link against to use Jack.
-# JACK_ROOT_DIR, The base directory to search for Jack.
+# JACK_LIBRARIES, libraries to link against to use JACK.
+# JACK_ROOT_DIR, The base directory to search for JACK.
# This can also be an environment variable.
-# JACK_FOUND, If false, do not try to use Jack.
+# JACK_FOUND, If false, do not try to use JACK.
#
# also defined, but not for general use are
-# JACK_LIBRARY, where to find the Jack library.
+# JACK_LIBRARY, where to find the JACK library.
#=============================================================================
# Copyright 2011 Blender Foundation.
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index 5a67ac981a3..2e3a1907063 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -518,7 +518,8 @@ function(setup_liblinks
target_link_libraries(${target}
${BLENDER_GL_LIBRARIES})
- target_link_libraries(${target} ${PLATFORM_LINKLIBS} ${CMAKE_DL_LIBS})
+ #target_link_libraries(${target} ${PLATFORM_LINKLIBS} ${CMAKE_DL_LIBS})
+ target_link_libraries(${target} ${PLATFORM_LINKLIBS})
endfunction()
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake
index 129969ad16c..04485e31d98 100644
--- a/build_files/cmake/platform/platform_apple.cmake
+++ b/build_files/cmake/platform/platform_apple.cmake
@@ -158,7 +158,7 @@ if(WITH_CODEC_FFMPEG)
mp3lame swscale x264 xvidcore theora theoradec theoraenc vorbis vorbisenc vorbisfile ogg
)
if(WITH_CXX11)
- set(FFMPEG_LIBRARIES ${FFMPEG_LIBRARIES} schroedinger orc vpx)
+ set(FFMPEG_LIBRARIES ${FFMPEG_LIBRARIES} schroedinger orc vpx webp swresample)
endif()
set(FFMPEG_LIBPATH ${FFMPEG}/lib)
endif()
@@ -316,6 +316,9 @@ if(WITH_OPENIMAGEIO)
${OPENEXR_LIBRARIES}
${ZLIB_LIBRARIES}
)
+ if(WITH_CXX11)
+ set(OPENIMAGEIO_LIBRARIES ${OPENIMAGEIO_LIBRARIES} ${LIBDIR}/ffmpeg/lib/libwebp.a)
+ endif()
set(OPENIMAGEIO_LIBPATH
${OPENIMAGEIO}/lib
${JPEG_LIBPATH}
diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake
index e33141f8012..62e0caa7c43 100644
--- a/build_files/cmake/platform/platform_unix.cmake
+++ b/build_files/cmake/platform/platform_unix.cmake
@@ -384,17 +384,18 @@ add_definitions(-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
if(CMAKE_COMPILER_IS_GNUCC)
set(PLATFORM_CFLAGS "-pipe -fPIC -funsigned-char -fno-strict-aliasing")
- # use ld.gold linker if available, could make optional
- execute_process(
- COMMAND ${CMAKE_C_COMPILER} -fuse-ld=gold -Wl,--version
- ERROR_QUIET OUTPUT_VARIABLE LD_VERSION)
- if("${LD_VERSION}" MATCHES "GNU gold")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fuse-ld=gold")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold")
- else()
- message(STATUS "GNU gold linker isn't available, using the default system linker.")
+ if(WITH_LINKER_GOLD)
+ execute_process(
+ COMMAND ${CMAKE_C_COMPILER} -fuse-ld=gold -Wl,--version
+ ERROR_QUIET OUTPUT_VARIABLE LD_VERSION)
+ if("${LD_VERSION}" MATCHES "GNU gold")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fuse-ld=gold")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold")
+ else()
+ message(STATUS "GNU gold linker isn't available, using the default system linker.")
+ endif()
+ unset(LD_VERSION)
endif()
- unset(LD_VERSION)
# CLang is the same as GCC for now.
elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
diff --git a/build_files/cmake/platform/platform_win32_msvc.cmake b/build_files/cmake/platform/platform_win32_msvc.cmake
index 5efda52b2c5..3b50351a131 100644
--- a/build_files/cmake/platform/platform_win32_msvc.cmake
+++ b/build_files/cmake/platform/platform_win32_msvc.cmake
@@ -112,7 +112,7 @@ set(CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS} /ignore:4221")
# MSVC only, Mingw doesnt need
if(CMAKE_CL_64)
- set(PLATFORM_LINKFLAGS "/MACHINE:X64 /OPT:NOREF ${PLATFORM_LINKFLAGS}")
+ set(PLATFORM_LINKFLAGS "/MACHINE:X64 ${PLATFORM_LINKFLAGS}")
else()
set(PLATFORM_LINKFLAGS "/MACHINE:IX86 /LARGEADDRESSAWARE ${PLATFORM_LINKFLAGS}")
endif()
@@ -129,8 +129,10 @@ if(NOT DEFINED LIBDIR)
message(STATUS "32 bit compiler detected.")
set(LIBDIR_BASE "windows")
endif()
-
- if(MSVC_VERSION EQUAL 1900)
+ if(MSVC_VERSION EQUAL 1910)
+ message(STATUS "Visual Studio 2017 detected.")
+ set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/${LIBDIR_BASE}_vc14)
+ elseif(MSVC_VERSION EQUAL 1900)
message(STATUS "Visual Studio 2015 detected.")
set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/${LIBDIR_BASE}_vc14)
else()
@@ -236,14 +238,14 @@ if(WITH_CODEC_FFMPEG)
windows_find_package(FFMPEG)
if(NOT FFMPEG_FOUND)
warn_hardcoded_paths(ffmpeg)
- set(FFMPEG_LIBRARY_VERSION 55)
- set(FFMPEG_LIBRARY_VERSION_AVU 52)
+ set(FFMPEG_LIBRARY_VERSION 57)
+ set(FFMPEG_LIBRARY_VERSION_AVU 55)
set(FFMPEG_LIBRARIES
- ${LIBDIR}/ffmpeg/lib/avcodec-${FFMPEG_LIBRARY_VERSION}.lib
- ${LIBDIR}/ffmpeg/lib/avformat-${FFMPEG_LIBRARY_VERSION}.lib
- ${LIBDIR}/ffmpeg/lib/avdevice-${FFMPEG_LIBRARY_VERSION}.lib
- ${LIBDIR}/ffmpeg/lib/avutil-${FFMPEG_LIBRARY_VERSION_AVU}.lib
- ${LIBDIR}/ffmpeg/lib/swscale-2.lib
+ ${LIBDIR}/ffmpeg/lib/avcodec.lib
+ ${LIBDIR}/ffmpeg/lib/avformat.lib
+ ${LIBDIR}/ffmpeg/lib/avdevice.lib
+ ${LIBDIR}/ffmpeg/lib/avutil.lib
+ ${LIBDIR}/ffmpeg/lib/swscale.lib
)
endif()
endif()
@@ -378,6 +380,7 @@ if(WITH_OPENIMAGEIO)
set(OPENCOLORIO_DEFINITIONS "-DOCIO_STATIC_BUILD")
set(OPENIMAGEIO_IDIFF "${OPENIMAGEIO}/bin/idiff.exe")
add_definitions(-DOIIO_STATIC_BUILD)
+ add_definitions(-DOIIO_NO_SSE=1)
endif()
if(WITH_LLVM)
diff --git a/doc/blender_file_format/mystery_of_the_blend.html b/doc/blender_file_format/mystery_of_the_blend.html
index b34493ffa3e..599cb4a05bc 100644
--- a/doc/blender_file_format/mystery_of_the_blend.html
+++ b/doc/blender_file_format/mystery_of_the_blend.html
@@ -187,7 +187,7 @@ The next table describes the information in the file-header.
-Endianness addresses the way values are ordered in a sequence of bytes(see the example below):
+Endianness addresses the way values are ordered in a sequence of bytes(see the example below):
diff --git a/doc/doxygen/Doxyfile b/doc/doxygen/Doxyfile
index 9834cda43bc..8b3a97816ba 100644
--- a/doc/doxygen/Doxyfile
+++ b/doc/doxygen/Doxyfile
@@ -699,7 +699,7 @@ LAYOUT_FILE =
# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
# the reference definitions. This must be a list of .bib files. The .bib
# extension is automatically appended if omitted. This requires the bibtex tool
-# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
+# to be installed. See also https://en.wikipedia.org/wiki/BibTeX for more info.
# For LaTeX the style of the bibliography can be controlled using
# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
# search path. See also \cite for info how to create references.
@@ -1145,7 +1145,7 @@ HTML_EXTRA_FILES =
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
# will adjust the colors in the style sheet and background images according to
# this color. Hue is specified as an angle on a colorwheel, see
-# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
+# https://en.wikipedia.org/wiki/Hue for more information. For instance the value
# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
# purple, and 360 is red again.
# Minimum value: 0, maximum value: 359, default value: 220.
@@ -1752,7 +1752,7 @@ LATEX_SOURCE_CODE = NO
# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
# bibliography, e.g. plainnat, or ieeetr. See
-# http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
+# https://en.wikipedia.org/wiki/BibTeX and \cite for more info.
# The default value is: plain.
# This tag requires that the tag GENERATE_LATEX is set to YES.
diff --git a/doc/python_api/examples/bpy.app.translations.py b/doc/python_api/examples/bpy.app.translations.py
index 41b024a4d2b..e41623d2885 100644
--- a/doc/python_api/examples/bpy.app.translations.py
+++ b/doc/python_api/examples/bpy.app.translations.py
@@ -24,8 +24,8 @@ Then, call ``bpy.app.translations.register(__name__, your_dict)`` in your ``regi
The ``Manage UI translations`` add-on has several functions to help you collect strings to translate, and
generate the needed python code (the translation dictionary), as well as optional intermediary po files
if you want some... See
-`How to Translate Blender `_ and
-`Using i18n in Blender Code `_
+`How to Translate Blender `_ and
+`Using i18n in Blender Code `_
for more info.
Module References
diff --git a/doc/python_api/examples/mathutils.Vector.py b/doc/python_api/examples/mathutils.Vector.py
index 3f79fdebff1..a8db4aa6691 100644
--- a/doc/python_api/examples/mathutils.Vector.py
+++ b/doc/python_api/examples/mathutils.Vector.py
@@ -49,7 +49,7 @@ vec2d[:] = vec3d[:2]
# Vectors support 'swizzle' operations
-# See http://en.wikipedia.org/wiki/Swizzling_(computer_graphics)
+# See https://en.wikipedia.org/wiki/Swizzling_(computer_graphics)
vec.xyz = vec.zyx
vec.xy = vec4d.zw
vec.xyz = vec4d.wzz
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst b/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst
index d8cc5e45e83..c5729fd5b19 100644
--- a/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst
+++ b/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst
@@ -405,7 +405,7 @@ base class --- :class:`SCA_IObject`
.. note::
- This attribute is experemental and may be removed (but probably wont be).
+ This attribute is experimental and may be removed (but probably wont be).
.. note::
@@ -419,7 +419,7 @@ base class --- :class:`SCA_IObject`
.. note::
- This attribute is experemental and may be removed (but probably wont be).
+ This attribute is experimental and may be removed (but probably wont be).
.. note::
@@ -453,7 +453,7 @@ base class --- :class:`SCA_IObject`
.. attribute:: childrenRecursive
- all children of this object including childrens children, (read-only).
+ all children of this object including children's children, (read-only).
:type: :class:`CListValue` of :class:`KX_GameObject`'s
@@ -536,7 +536,7 @@ base class --- :class:`SCA_IObject`
.. method:: getAxisVect(vect)
- Returns the axis vector rotates by the objects worldspace orientation.
+ Returns the axis vector rotates by the object's worldspace orientation.
This is the equivalent of multiplying the vector by the orientation matrix.
:arg vect: a vector to align the axis.
@@ -596,7 +596,7 @@ base class --- :class:`SCA_IObject`
Gets the game object's linear velocity.
- This method returns the game object's velocity through it's centre of mass, ie no angular velocity component.
+ This method returns the game object's velocity through it's center of mass, ie no angular velocity component.
:arg local:
* False: you get the "global" velocity ie: relative to world orientation.
@@ -609,7 +609,7 @@ base class --- :class:`SCA_IObject`
Sets the game object's linear velocity.
- This method sets game object's velocity through it's centre of mass,
+ This method sets game object's velocity through it's center of mass,
ie no angular velocity component.
This requires a dynamic object.
@@ -814,7 +814,7 @@ base class --- :class:`SCA_IObject`
# do something
pass
- The face paremeter determines the orientation of the normal.
+ The face parameter determines the orientation of the normal.
* 0 => hit normal is always oriented towards the ray origin (as if you casted the ray from outside)
* 1 => hit normal is the real face normal (only for mesh object, otherwise face has no effect)
@@ -911,7 +911,7 @@ base class --- :class:`SCA_IObject`
.. note::
- The gameObject argument has an advantage that it can convert from a mesh with modifiers applied (such as subsurf).
+ The gameObject argument has an advantage that it can convert from a mesh with modifiers applied (such as the Subdivision Surface modifier).
.. warning::
@@ -919,7 +919,7 @@ base class --- :class:`SCA_IObject`
.. warning::
- If the object is a part of a combound object it will fail (parent or child)
+ If the object is a part of a compound object it will fail (parent or child)
.. warning::
diff --git a/doc/python_api/rst/bgl.rst b/doc/python_api/rst/bgl.rst
index 36e07a17cdc..0b31e62963c 100644
--- a/doc/python_api/rst/bgl.rst
+++ b/doc/python_api/rst/bgl.rst
@@ -12,10 +12,10 @@ contents: dir(bgl). A simple search on the web can point to more
than enough material to teach OpenGL programming, from books to many
collections of tutorials.
-Here is a comprehensive `list of books `__ (non free).
-The `arcsynthesis tutorials `__
+Here is a comprehensive `list of books `__ (non free).
+The `arcsynthesis tutorials `__
is one of the best resources to learn modern OpenGL and
-`g-truc `__
+`g-truc `__
offers a set of extensive examples, including advanced features.
@@ -30,7 +30,7 @@ offers a set of extensive examples, including advanced features.
Operate on the accumulation buffer.
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type op: Enumerated constant
:arg op: The accumulation buffer operation.
@@ -42,7 +42,7 @@ offers a set of extensive examples, including advanced features.
Specify the alpha test function.
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type func: Enumerated constant
:arg func: Specifies the alpha comparison function.
@@ -55,7 +55,7 @@ offers a set of extensive examples, including advanced features.
Determine if textures are loaded in texture memory
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type n: int
:arg n: Specifies the number of textures to be queried.
@@ -71,7 +71,7 @@ offers a set of extensive examples, including advanced features.
Delimit the vertices of a primitive or a group of like primatives
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mode: Enumerated constant
:arg mode: Specifies the primitive that will be create from vertices between
@@ -82,7 +82,7 @@ offers a set of extensive examples, including advanced features.
Bind a named texture to a texturing target
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies the target to which the texture is bound.
@@ -94,7 +94,7 @@ offers a set of extensive examples, including advanced features.
Draw a bitmap
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type width, height: int
:arg width, height: Specify the pixel width and height of the bitmap image.
@@ -112,7 +112,7 @@ offers a set of extensive examples, including advanced features.
Specify pixel arithmetic
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type sfactor: Enumerated constant
:arg sfactor: Specifies how the red, green, blue, and alpha source blending factors are
@@ -126,7 +126,7 @@ offers a set of extensive examples, including advanced features.
Execute a display list
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type list: unsigned int
:arg list: Specifies the integer name of the display list to be executed.
@@ -136,7 +136,7 @@ offers a set of extensive examples, including advanced features.
Execute a list of display lists
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type n: int
:arg n: Specifies the number of display lists to be executed.
@@ -152,7 +152,7 @@ offers a set of extensive examples, including advanced features.
Clear buffers to preset values
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mask: Enumerated constant(s)
:arg mask: Bitwise OR of masks that indicate the buffers to be cleared.
@@ -162,7 +162,7 @@ offers a set of extensive examples, including advanced features.
Specify clear values for the accumulation buffer
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type red, green, blue, alpha: float
:arg red, green, blue, alpha: Specify the red, green, blue, and alpha values used when the
@@ -173,7 +173,7 @@ offers a set of extensive examples, including advanced features.
Specify clear values for the color buffers
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type red, green, blue, alpha: float
:arg red, green, blue, alpha: Specify the red, green, blue, and alpha values used when the
@@ -184,7 +184,7 @@ offers a set of extensive examples, including advanced features.
Specify the clear value for the depth buffer
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type depth: int
:arg depth: Specifies the depth value used when the depth buffer is cleared.
@@ -195,7 +195,7 @@ offers a set of extensive examples, including advanced features.
Specify the clear value for the color index buffers
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type c: float
:arg c: Specifies the index used when the color index buffers are cleared.
@@ -206,7 +206,7 @@ offers a set of extensive examples, including advanced features.
Specify the clear value for the stencil buffer
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type s: int
:arg s: Specifies the index used when the stencil buffer is cleared. The initial value is 0.
@@ -216,7 +216,7 @@ offers a set of extensive examples, including advanced features.
Specify a plane against which all geometry is clipped
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type plane: Enumerated constant
:arg plane: Specifies which clipping plane is being positioned.
@@ -235,7 +235,7 @@ offers a set of extensive examples, including advanced features.
Set a new color.
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type red, green, blue, alpha: Depends on function prototype.
:arg red, green, blue: Specify new red, green, and blue values for the current color.
@@ -247,7 +247,7 @@ offers a set of extensive examples, including advanced features.
Enable and disable writing of frame buffer color components
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type red, green, blue, alpha: int (boolean)
:arg red, green, blue, alpha: Specify whether red, green, blue, and alpha can or cannot be
@@ -259,7 +259,7 @@ offers a set of extensive examples, including advanced features.
Cause a material color to track the current color
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type face: Enumerated constant
:arg face: Specifies whether front, back, or both front and back material parameters should
@@ -272,7 +272,7 @@ offers a set of extensive examples, including advanced features.
Copy pixels in the frame buffer
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type x, y: int
:arg x, y: Specify the window coordinates of the lower left corner of the rectangular
@@ -288,7 +288,7 @@ offers a set of extensive examples, including advanced features.
Copy pixels into a 2D texture image
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies the target texture.
@@ -317,7 +317,7 @@ offers a set of extensive examples, including advanced features.
Specify whether front- or back-facing facets can be culled
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mode: Enumerated constant
:arg mode: Specifies whether front- or back-facing facets are candidates for culling.
@@ -327,7 +327,7 @@ offers a set of extensive examples, including advanced features.
Delete a contiguous group of display lists
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type list: unsigned int
:arg list: Specifies the integer name of the first display list to delete
@@ -339,7 +339,7 @@ offers a set of extensive examples, including advanced features.
Delete named textures
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type n: int
:arg n: Specifies the number of textures to be deleted
@@ -351,7 +351,7 @@ offers a set of extensive examples, including advanced features.
Specify the value used for depth buffer comparisons
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type func: Enumerated constant
:arg func: Specifies the depth comparison function.
@@ -361,7 +361,7 @@ offers a set of extensive examples, including advanced features.
Enable or disable writing into the depth buffer
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type flag: int (boolean)
:arg flag: Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE,
@@ -373,7 +373,7 @@ offers a set of extensive examples, including advanced features.
Specify mapping of depth values from normalized device coordinates to window coordinates
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type zNear: int
:arg zNear: Specifies the mapping of the near clipping plane to window coordinates.
@@ -387,7 +387,7 @@ offers a set of extensive examples, including advanced features.
Disable server-side GL capabilities
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type cap: Enumerated constant
:arg cap: Specifies a symbolic constant indicating a GL capability.
@@ -397,7 +397,7 @@ offers a set of extensive examples, including advanced features.
Specify which color buffers are to be drawn into
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mode: Enumerated constant
:arg mode: Specifies up to four color buffers to be drawn into.
@@ -407,7 +407,7 @@ offers a set of extensive examples, including advanced features.
Write a block of pixels to the frame buffer
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type width, height: int
:arg width, height: Specify the dimensions of the pixel rectangle to be
@@ -426,7 +426,7 @@ offers a set of extensive examples, including advanced features.
Flag edges as either boundary or non-boundary
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type flag: Depends of function prototype
:arg flag: Specifies the current edge flag value.The initial value is GL_TRUE.
@@ -436,7 +436,7 @@ offers a set of extensive examples, including advanced features.
Enable server-side GL capabilities
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type cap: Enumerated constant
:arg cap: Specifies a symbolic constant indicating a GL capability.
@@ -446,14 +446,14 @@ offers a set of extensive examples, including advanced features.
Delimit the vertices of a primitive or group of like primitives
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
.. function:: glEndList():
Create or replace a display list
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
.. function:: glEvalCoord (u,v):
@@ -463,7 +463,7 @@ offers a set of extensive examples, including advanced features.
Evaluate enabled one- and two-dimensional maps
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type u: Depends on function prototype.
:arg u: Specifies a value that is the domain coordinate u to the basis function defined
@@ -481,7 +481,7 @@ offers a set of extensive examples, including advanced features.
Compute a one- or two-dimensional grid of points or lines
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mode: Enumerated constant
:arg mode: In glEvalMesh1, specifies whether to compute a one-dimensional
@@ -496,7 +496,7 @@ offers a set of extensive examples, including advanced features.
Generate and evaluate a single point in a mesh
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type i: int
:arg i: Specifies the integer value for grid domain variable i.
@@ -508,7 +508,7 @@ offers a set of extensive examples, including advanced features.
Controls feedback mode
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type size: int
:arg size: Specifies the maximum number of values that can be written into buffer.
@@ -523,14 +523,14 @@ offers a set of extensive examples, including advanced features.
Block until all GL execution is complete
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
.. function:: glFlush():
Force Execution of GL commands in finite time
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
.. function:: glFog (pname, param):
@@ -539,7 +539,7 @@ offers a set of extensive examples, including advanced features.
Specify fog parameters
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type pname: Enumerated constant
:arg pname: Specifies a single-valued fog parameter. If the function prototype
@@ -554,7 +554,7 @@ offers a set of extensive examples, including advanced features.
Define front- and back-facing polygons
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mode: Enumerated constant
:arg mode: Specifies the orientation of front-facing polygons.
@@ -564,7 +564,7 @@ offers a set of extensive examples, including advanced features.
Multiply the current matrix by a perspective matrix
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type left, right: double (float)
:arg left, right: Specify the coordinates for the left and right vertical
@@ -581,7 +581,7 @@ offers a set of extensive examples, including advanced features.
Generate a contiguous set of empty display lists
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type range: int
:arg range: Specifies the number of contiguous empty display lists to be generated.
@@ -591,7 +591,7 @@ offers a set of extensive examples, including advanced features.
Generate texture names
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type n: int
:arg n: Specifies the number of textures name to be generated.
@@ -605,7 +605,7 @@ offers a set of extensive examples, including advanced features.
Return the value or values of a selected parameter
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type pname: Enumerated constant
:arg pname: Specifies the parameter value to be returned.
@@ -617,7 +617,7 @@ offers a set of extensive examples, including advanced features.
Return the coefficients of the specified clipping plane
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type plane: Enumerated constant
:arg plane: Specifies a clipping plane. The number of clipping planes depends on the
@@ -632,7 +632,7 @@ offers a set of extensive examples, including advanced features.
Return error information
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
.. function:: glGetLight (light, pname, params):
@@ -641,7 +641,7 @@ offers a set of extensive examples, including advanced features.
Return light source parameter values
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type light: Enumerated constant
:arg light: Specifies a light source. The number of possible lights depends on the
@@ -659,7 +659,7 @@ offers a set of extensive examples, including advanced features.
Return evaluator parameters
- .. seealso:: `OpenGL Docs `_
+ .. seealso:: `OpenGL Docs `_
:type target: Enumerated constant
:arg target: Specifies the symbolic name of a map.
@@ -675,7 +675,7 @@ offers a set of extensive examples, including advanced features.
Return material parameters
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type face: Enumerated constant
:arg face: Specifies which of the two materials is being queried.
@@ -692,7 +692,7 @@ offers a set of extensive examples, including advanced features.
Return the specified pixel map
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type map: Enumerated constant
:arg map: Specifies the name of the pixel map to return.
@@ -704,7 +704,7 @@ offers a set of extensive examples, including advanced features.
Return the polygon stipple pattern
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mask: :class:`bgl.Buffer` object I{type GL_BYTE}
:arg mask: Returns the stipple pattern. The initial value is all 1's.
@@ -714,7 +714,7 @@ offers a set of extensive examples, including advanced features.
Return a string describing the current GL connection
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type name: Enumerated constant
:arg name: Specifies a symbolic constant.
@@ -727,7 +727,7 @@ offers a set of extensive examples, including advanced features.
Return texture environment parameters
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies a texture environment. Must be GL_TEXTURE_ENV.
@@ -743,7 +743,7 @@ offers a set of extensive examples, including advanced features.
Return texture coordinate generation parameters
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type coord: Enumerated constant
:arg coord: Specifies a texture coordinate.
@@ -757,7 +757,7 @@ offers a set of extensive examples, including advanced features.
Return a texture image
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies which texture is to be obtained.
@@ -779,7 +779,7 @@ offers a set of extensive examples, including advanced features.
return texture parameter values for a specific level of detail
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies the symbolic name of the target texture.
@@ -798,7 +798,7 @@ offers a set of extensive examples, including advanced features.
Return texture parameter values
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies the symbolic name of the target texture.
@@ -812,7 +812,7 @@ offers a set of extensive examples, including advanced features.
Specify implementation-specific hints
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies a symbolic constant indicating the behavior to be
@@ -827,7 +827,7 @@ offers a set of extensive examples, including advanced features.
Set the current color index
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type c: :class:`bgl.Buffer` object. Depends on function prototype.
:arg c: Specifies a pointer to a one element array that contains the new value for
@@ -838,7 +838,7 @@ offers a set of extensive examples, including advanced features.
Control the writing of individual bits in the color index buffers
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mask: int
:arg mask: Specifies a bit mask to enable and disable the writing of individual bits
@@ -850,14 +850,14 @@ offers a set of extensive examples, including advanced features.
Initialize the name stack
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
.. function:: glIsEnabled(cap):
Test whether a capability is enabled
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type cap: Enumerated constant
:arg cap: Specifies a constant representing a GL capability.
@@ -867,7 +867,7 @@ offers a set of extensive examples, including advanced features.
Determine if a name corresponds to a display-list
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type list: unsigned int
:arg list: Specifies a potential display-list name.
@@ -877,7 +877,7 @@ offers a set of extensive examples, including advanced features.
Determine if a name corresponds to a texture
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type texture: unsigned int
:arg texture: Specifies a value that may be the name of a texture.
@@ -889,7 +889,7 @@ offers a set of extensive examples, including advanced features.
Set the light source parameters
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type light: Enumerated constant
:arg light: Specifies a light. The number of lights depends on the implementation,
@@ -909,7 +909,7 @@ offers a set of extensive examples, including advanced features.
Set the lighting model parameters
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type pname: Enumerated constant
:arg pname: Specifies a single-value light model parameter.
@@ -922,7 +922,7 @@ offers a set of extensive examples, including advanced features.
Specify the line stipple pattern
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type factor: int
:arg factor: Specifies a multiplier for each bit in the line stipple pattern.
@@ -939,7 +939,7 @@ offers a set of extensive examples, including advanced features.
Specify the width of rasterized lines.
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type width: float
:arg width: Specifies the width of rasterized lines. The initial value is 1.
@@ -949,7 +949,7 @@ offers a set of extensive examples, including advanced features.
Set the display-list base for glCallLists
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type base: unsigned int
:arg base: Specifies an integer offset that will be added to glCallLists
@@ -960,7 +960,7 @@ offers a set of extensive examples, including advanced features.
Replace the current matrix with the identity matrix
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
.. function:: glLoadMatrix (m):
@@ -969,7 +969,7 @@ offers a set of extensive examples, including advanced features.
Replace the current matrix with the specified matrix
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type m: :class:`bgl.Buffer` object. Depends on function prototype.
:arg m: Specifies a pointer to 16 consecutive values, which are used as the elements
@@ -980,7 +980,7 @@ offers a set of extensive examples, including advanced features.
Load a name onto the name stack.
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type name: unsigned int
:arg name: Specifies a name that will replace the top value on the name stack.
@@ -990,7 +990,7 @@ offers a set of extensive examples, including advanced features.
Specify a logical pixel operation for color index rendering
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type opcode: Enumerated constant
:arg opcode: Specifies a symbolic constant that selects a logical operation.
@@ -1002,7 +1002,7 @@ offers a set of extensive examples, including advanced features.
Define a one-dimensional evaluator
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies the kind of values that are generated by the evaluator.
@@ -1027,7 +1027,7 @@ offers a set of extensive examples, including advanced features.
Define a two-dimensional evaluator
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies the kind of values that are generated by the evaluator.
@@ -1068,7 +1068,7 @@ offers a set of extensive examples, including advanced features.
Define a one- or two-dimensional mesh
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type un: int
:arg un: Specifies the number of partitions in the grid range interval
@@ -1087,7 +1087,7 @@ offers a set of extensive examples, including advanced features.
Specify material parameters for the lighting model.
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type face: Enumerated constant
:arg face: Specifies which face or faces are being updated. Must be one of:
@@ -1104,7 +1104,7 @@ offers a set of extensive examples, including advanced features.
Specify which matrix is the current matrix.
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mode: Enumerated constant
:arg mode: Specifies which matrix stack is the target for subsequent matrix operations.
@@ -1116,7 +1116,7 @@ offers a set of extensive examples, including advanced features.
Multiply the current matrix with the specified matrix
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type m: :class:`bgl.Buffer` object. Depends on function prototype.
:arg m: Points to 16 consecutive values that are used as the elements of a 4x4 column
@@ -1127,7 +1127,7 @@ offers a set of extensive examples, including advanced features.
Create or replace a display list
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type list: unsigned int
:arg list: Specifies the display list name
@@ -1142,7 +1142,7 @@ offers a set of extensive examples, including advanced features.
Set the current normal vector
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type nx, ny, nz: Depends on function prototype. (non - 'v' prototypes only)
:arg nx, ny, nz: Specify the x, y, and z coordinates of the new current normal.
@@ -1156,7 +1156,7 @@ offers a set of extensive examples, including advanced features.
Multiply the current matrix with an orthographic matrix
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type left, right: double (float)
:arg left, right: Specify the coordinates for the left and
@@ -1173,7 +1173,7 @@ offers a set of extensive examples, including advanced features.
Place a marker in the feedback buffer
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type token: float
:arg token: Specifies a marker value to be placed in the feedback
@@ -1186,7 +1186,7 @@ offers a set of extensive examples, including advanced features.
Set up pixel transfer maps
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type map: Enumerated constant
:arg map: Specifies a symbolic map name.
@@ -1202,7 +1202,7 @@ offers a set of extensive examples, including advanced features.
Set pixel storage modes
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type pname: Enumerated constant
:arg pname: Specifies the symbolic name of the parameter to be set.
@@ -1218,7 +1218,7 @@ offers a set of extensive examples, including advanced features.
Set pixel transfer modes
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type pname: Enumerated constant
:arg pname: Specifies the symbolic name of the pixel transfer parameter to be set.
@@ -1230,7 +1230,7 @@ offers a set of extensive examples, including advanced features.
Specify the pixel zoom factors
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type xfactor, yfactor: float
:arg xfactor, yfactor: Specify the x and y zoom factors for pixel write operations.
@@ -1240,7 +1240,7 @@ offers a set of extensive examples, including advanced features.
Specify the diameter of rasterized points
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type size: float
:arg size: Specifies the diameter of rasterized points. The initial value is 1.
@@ -1250,7 +1250,7 @@ offers a set of extensive examples, including advanced features.
Select a polygon rasterization mode
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type face: Enumerated constant
:arg face: Specifies the polygons that mode applies to.
@@ -1265,7 +1265,7 @@ offers a set of extensive examples, including advanced features.
Set the scale and units used to calculate depth values
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type factor: float
:arg factor: Specifies a scale factor that is used to create a variable depth
@@ -1279,7 +1279,7 @@ offers a set of extensive examples, including advanced features.
Set the polygon stippling pattern
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mask: :class:`bgl.Buffer` object I{type GL_BYTE}
:arg mask: Specifies a pointer to a 32x32 stipple pattern that will be unpacked
@@ -1290,35 +1290,35 @@ offers a set of extensive examples, including advanced features.
Pop the server attribute stack
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
.. function:: glPopClientAttrib():
Pop the client attribute stack
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
.. function:: glPopMatrix():
Pop the current matrix stack
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
.. function:: glPopName():
Pop the name stack
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
.. function:: glPrioritizeTextures(n, textures, priorities):
Set texture residence priority
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type n: int
:arg n: Specifies the number of textures to be prioritized.
@@ -1334,7 +1334,7 @@ offers a set of extensive examples, including advanced features.
Push the server attribute stack
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mask: Enumerated constant(s)
:arg mask: Specifies a mask that indicates which attributes to save.
@@ -1344,7 +1344,7 @@ offers a set of extensive examples, including advanced features.
Push the client attribute stack
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mask: Enumerated constant(s)
:arg mask: Specifies a mask that indicates which attributes to save.
@@ -1354,14 +1354,14 @@ offers a set of extensive examples, including advanced features.
Push the current matrix stack
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
.. function:: glPushName(name):
Push the name stack
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type name: unsigned int
:arg name: Specifies a name that will be pushed onto the name stack.
@@ -1377,7 +1377,7 @@ offers a set of extensive examples, including advanced features.
Specify the raster position for pixel operations
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type x, y, z, w: Depends on function prototype. (z and w for '3' and '4' prototypes only)
:arg x, y, z, w: Specify the x,y,z, and w object coordinates (if present) for the
@@ -1409,7 +1409,7 @@ offers a set of extensive examples, including advanced features.
Select a color buffer source for pixels.
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mode: Enumerated constant
:arg mode: Specifies a color buffer.
@@ -1419,7 +1419,7 @@ offers a set of extensive examples, including advanced features.
Read a block of pixels from the frame buffer
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type x, y: int
:arg x, y: Specify the window coordinates of the first pixel that is read
@@ -1442,7 +1442,7 @@ offers a set of extensive examples, including advanced features.
Draw a rectangle
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type x1, y1: Depends on function prototype. (for non 'v' prototypes only)
:arg x1, y1: Specify one vertex of a rectangle
@@ -1457,7 +1457,7 @@ offers a set of extensive examples, including advanced features.
Set rasterization mode
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mode: Enumerated constant
:arg mode: Specifies the rasterization mode.
@@ -1469,7 +1469,7 @@ offers a set of extensive examples, including advanced features.
Multiply the current matrix by a rotation matrix
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type angle: Depends on function prototype.
:arg angle: Specifies the angle of rotation in degrees.
@@ -1483,7 +1483,7 @@ offers a set of extensive examples, including advanced features.
Multiply the current matrix by a general scaling matrix
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type x, y, z: Depends on function prototype.
:arg x, y, z: Specify scale factors along the x, y, and z axes, respectively.
@@ -1493,7 +1493,7 @@ offers a set of extensive examples, including advanced features.
Define the scissor box
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type x, y: int
:arg x, y: Specify the lower left corner of the scissor box. Initially (0, 0).
@@ -1507,7 +1507,7 @@ offers a set of extensive examples, including advanced features.
Establish a buffer for selection mode values
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type size: int
:arg size: Specifies the size of buffer
@@ -1519,7 +1519,7 @@ offers a set of extensive examples, including advanced features.
Select flat or smooth shading
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mode: Enumerated constant
:arg mode: Specifies a symbolic value representing a shading technique.
@@ -1529,7 +1529,7 @@ offers a set of extensive examples, including advanced features.
Set function and reference value for stencil testing
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type func: Enumerated constant
:arg func: Specifies the test function.
@@ -1546,7 +1546,7 @@ offers a set of extensive examples, including advanced features.
Control the writing of individual bits in the stencil planes
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type mask: unsigned int
:arg mask: Specifies a bit mask to enable and disable writing of individual bits
@@ -1557,7 +1557,7 @@ offers a set of extensive examples, including advanced features.
Set stencil test actions
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type fail: Enumerated constant
:arg fail: Specifies the action to take when the stencil test fails.
@@ -1585,7 +1585,7 @@ offers a set of extensive examples, including advanced features.
Set the current texture coordinates
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type s, t, r, q: Depends on function prototype. (r and q for '3' and '4' prototypes only)
:arg s, t, r, q: Specify s, t, r, and q texture coordinates. Not all parameters are
@@ -1601,7 +1601,7 @@ offers a set of extensive examples, including advanced features.
Set texture environment parameters
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies a texture environment. Must be GL_TEXTURE_ENV.
@@ -1620,7 +1620,7 @@ offers a set of extensive examples, including advanced features.
Control the generation of texture coordinates
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type coord: Enumerated constant
:arg coord: Specifies a texture coordinate.
@@ -1638,7 +1638,7 @@ offers a set of extensive examples, including advanced features.
Specify a one-dimensional texture image
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies the target texture.
@@ -1665,7 +1665,7 @@ offers a set of extensive examples, including advanced features.
Specify a two-dimensional texture image
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies the target texture.
@@ -1698,7 +1698,7 @@ offers a set of extensive examples, including advanced features.
Set texture parameters
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type target: Enumerated constant
:arg target: Specifies the target texture.
@@ -1715,7 +1715,7 @@ offers a set of extensive examples, including advanced features.
Multiply the current matrix by a translation matrix
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs `__
:type x, y, z: Depends on function prototype.
:arg x, y, z: Specify the x, y, and z coordinates of a translation vector.
@@ -1730,7 +1730,7 @@ offers a set of extensive examples, including advanced features.
Specify a vertex
- .. seealso:: `OpenGL Docs `__
+ .. seealso:: `OpenGL Docs