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
2015-12-10Eigen: move C API into intern/eigen.Brecht Van Lommel
2015-12-09install_deps.sh: fix (hopefully) broken OSL building on modern RPM-like distro.Bastien Montagne
Those stupid ones only have one version of llvm (obviously not 3.4 one ;) ), so we have to build again LLVM3.4 in those cases. Thing is, * I did not update LLVM magic number when fixed a stupid typo breaking OSL building (the terminfo thing), so many people were still using previously-built LLVM. * Even worse, options passed to OSL to specify own LLVM from /opt/lib were wrong (not sure when this got out of sync...). Thanks to mib2berlin and slikdigit for the report & testings!
2015-12-09install_deps.sh: fix utmost stupid typo breaking 'skip-osl' option on ↵Bastien Montagne
RPM-based distro...
2015-12-09install_deps.sh: print correct set of sources tested when a wget fails...Bastien Montagne
2015-12-09Cycles: Comment out unused argumentsSergey Sharybin
2015-12-09install_deps.sh: raise default py version to 3.5.1 (due to some obscure bugs ↵Bastien Montagne
with OPM and 3.5.0).
2015-12-09install_deps.sh: add '-U' update commands to onle-liner CMake-based build ↵Bastien Montagne
command line. Avoid user to have to edit themselves their CMake config. Thanks a bunch @campbellbarton for the tip! :D
2015-12-09CMake: include eigen as a system headerCampbell Barton
2015-12-09BMesh: move BM_face_split_edgenet to its own fileCampbell Barton
Isolate edge-net splitting in preparation for other functions to be added here.
2015-12-09Math Lib: add axis_dominant_v3_ortho_singleCampbell Barton
2015-12-09remove a debug printfMike Erwin
2015-12-08OpenGL: split off framebuffer, shader and texture code into separate files.Brecht Van Lommel
2015-12-08OpenGL: remove non-power-of-two texture check, where even ES 2.0 does not ↵Brecht Van Lommel
need it.
2015-12-08Correct recent OpenGL cleanupCampbell Barton
2015-12-08OpenGL: use extension form of FBOsMike Erwin
FBOs are a GL 3.0 feature but enjoy nearly universal support via extensions. The newer ARB extension brings these features to GL 2.1 without needing an ARB suffix. The older EXT extensions *do* use a suffix. Since we don’t know which is used until runtime, I added the suffix to all functions & enums. Also updated the check to look for the FBO feature set instead of the specific EXT extension.
2015-12-08OpenGL: use sized texture internal formatsMike Erwin
Maybe this is pedantic but I read it’s best to explicitly set the desired component size. Also append “_ARB” to float texture formats since those need an extension in GL 2.1.
2015-12-08disable old Mac OpenGL workaroundMike Erwin
Comment says this is from the MacOS 10.5 era. Surely it’s been fixed by now. If nobody complains in the next few months let’s delete this.
2015-12-08OpenGL: simple cleanupMike Erwin
It’s still immediate mode, but at least it’s shorter & clearer.
2015-12-08BGE code cleanup: Removing RAS_GLExtensionManager.Mitchell Stokes
This class did nothing but print out extensions if they were found. Instead, the code from bge.logic.PrintGLInfo() is now printed as the Rasterizer is initialized. This gives better information, and it removes some GL code from KX_PythonInit.cpp (the PrintGLInfo method now calls the Rasterizer to print the information). Differential Revision: https://developer.blender.org/D438
2015-12-08OpenGL/BGE: Remove RAS_StorageIM (glBegin/glEnd rendering of mesh data)Mitchell Stokes
The only use we had for RAS_StorageIM was to render derived meshes using Blender's mesh drawing. This is now handled as a special case in RAS_OpenGLRasterizer instead of in RAS_StorageIM. We are now left with RAS_StorageVA and RAS_StorageVBO. At the moment vertex arrays are still the default since our vertex array with display lists implementation is still much faster than our VBO code in a lot of cases. As we improve our VBO code, we can drop vertex arrays since Blender's minimum OpenGL version is being bumped up to 2.1, which supports VBOs.
2015-12-08BGE: Remove RAS_IRasterizer::IndexPrimitivesMulti()Mitchell Stokes
The work that was being done in IndexPrimitiveMulti() is now done by IndexPrimitive() and we always assume multitexture support.
2015-12-08Python: remove support for Python 3.4Campbell Barton
2015-12-07Usual UI messages fixes.Bastien Montagne
2015-12-07Add support for compiling the cuda kernel on the Nvidia Jetson TX1Martijn Berger
2015-12-07Added a comment to our use of the term 'adjoint' in BLI_math.Lukas Tönne
In modern usage this means the conjugate transpose, but we stick to the classical usage (i.e. adjugate matrix), like Eigen does.
2015-12-07BLI_linklist: add alloca append macroCampbell Barton
2015-12-07Minor changes needed for standalone mathutilsCampbell Barton
2015-12-07OpenSubdiv: refine OpenGL version & extension checksMike Erwin
Use new GPU_legacy_support() function. Determine GLSL version once instead of per shader. For Texture Buffers, allow ARB or EXT version of the extension. Either one will do.
2015-12-07OpenGL: remove old version checkMike Erwin
+ minor cleanup
2015-12-07OpenGL: new GPU_legacy_support() functionMike Erwin
Is current context compatible with legacy GL (version 2.1)? My earlier approach -- checking for GLEW_ARB_compatibility -- was not enough. This should always return true if we set our GL context up properly. It will return false when we switch to core profile.
2015-12-07OpenGL: request version 2.1 when creating context on WindowsMike Erwin
In practice this gives us a context that is *compatible* with GL 2.1. On my machine it gives a GL 3.3 or 4.3 compatibility profile context, depending on graphics card installed. Also fixed enum for core profile (not used yet). Also added option for GL 3.2 compatibility profile. This will be useful during Blender 2.8 development, until we are able to use the core profile. On my machine this gives exactly a GL 3.2 compatibility profile context, not 3.3 or 4.
2015-12-07OpenSubdiv: disable TF on lower GL versions. Fixes T46794Mike Erwin
My previous edit to this check was too lax. OSD's shader for the Transform Feedback evaluator declares itself #version 410 so disable the feature if user's GL < 4.1.
2015-12-07Cycles: Fold Value and RGB node as well.Thomas Dinges
This way, connecting Value or RGB node to e.g. a Math node will still allow folding. Note: The same should be done for the ConvertNode, but I leave that for another day.
2015-12-07Fix Scons after GLSL changes.Thomas Dinges
2015-12-06Fix (unreported) Ocean modifier assuming all its faces are quads.Bastien Montagne
Would be true in most cases (and in particular with own generated geometry), but in case one would be using original geometry this could have crashed badly.
2015-12-06Cleanup in main Ocean modifier code.Bastien Montagne
Note that I tried to parallelize the loops porting result of the simulation to the DM data itself, but that ended up being 20% slower than non-threaded code!
2015-12-06OpenGL: rename simple shader to basic shader.Brecht Van Lommel
2015-12-06OpenGL: use simple shader for texture drawing in a few places.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1645
2015-12-06OpenGL: isolate fixed function lighting in simple shader code.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1645
2015-12-06OpenGL: use simple shader for armatures.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1645
2015-12-06OpenGL: move two sided lighting check into GPU material code.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1645
2015-12-06OpenGL: pass flag to indicate of drawMappedFaces needs to use normals.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1645
2015-12-06Switch Ocean modifier's geometry generation from OMP to BLI_task.Bastien Montagne
Compared to previous revision, this gives 20% speedup on the whole modifier evaluation! Wondering a bit how improvement can be so impressive here, would have expected very small increases given how simple is the code here... Maybe it's the fact we get rid of many additional OMP threads (tests are done with ten Ocean mod evaluated in parallel)?
2015-12-06Fix T46929: error exporting Key configuration.Bastien Montagne
2015-12-06Switch from OMP to BLI_task in BKE's part of Ocean simulation.Bastien Montagne
Not much to say, gives about 8% to 9% speedup in ocean simulation.
2015-12-06install_deps.sh: Fix typos in scons instructions.Bastien Montagne
Luckily we'll soon get rid of that insane dual build system maintenance... Anyway, thanks to Leo Koppel (lack) for the report and patch.
2015-12-06PyAPI: add optional filter argument to KDTree.findCampbell Barton
2015-12-06BKI_kdtree: add a find that takes filter callbackCampbell Barton
Useful when we need to selectively ignore nodes.
2015-12-06Cleanup: formatting (PyArg_ParseTuple)Campbell Barton
2015-12-06Cleanup: kdtree, redundant root node handlingCampbell Barton
For range checks we can put the root not in the stack.