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-11-23Cleanup: shadowing (rna, modifiers, *misc*)Campbell Barton
2015-11-23Cleanup: shadowing (bmesh)Campbell Barton
2015-11-23Cleanup: shadowing (render)Campbell Barton
2015-11-23Cleanup: shadowing (blenkernel)Campbell Barton
2015-11-23Cleanup: shadowing (blenlib, gpu, imbuf)Campbell Barton
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-11-23Cleanup: use single struct for freestyle globalsCampbell Barton
Was shadowing local vars.
2015-11-23Cleanup: redundant string escapeCampbell Barton
2015-11-23Cleanup: warningCampbell Barton
2015-11-23OpenGL: fix hq viewport dof on Mac / GL 2.1Mike Erwin
My earlier fix for GL >= 3 on Windows broke it. Should work for both platforms now.
2015-11-23OpenGL: codegen formattingMike Erwin
Formatting of generated GLSL code: - attribute/varying for version 120 - in/out for version 130+ - minor cosmetic stuff Tested working on Windows 10, GL 4.3.
2015-11-23OpenGL: update geometry shaders, fixes T46838Mike Erwin
2015-11-23OpenGL: choose compatible GLSL versionMike Erwin
Fix GLSL version & geometry shader support query to consider core vs compatibility. All shaders need to be compatible with each other, and for now that means GLSL 120. For drivers that support compatibility profiles, choose the highest available (up to 150). If only core profile is supported, max out at GLSL 130.
2015-11-23revert file mode to 644Mike Erwin
2015-11-23OpenGL: bump gpu_extensions to GL 2.1, prepare for 3.xMike Erwin
Several changes. Tested working on Windows 10 GL 4.3 and MacOS 10.11 GL 2.1. - document extensions used in this file - some simple ARB/EXT suffix deletion - stop checking for pre-2.1 features — they’re available! - convert old ARB shader API to the one adopted in GL 2.0 - remove checks for old (pre-R600) ATI cards - choose GLSL version at runtime, between 1.2 and 1.5 - prefer GLSL 1.5 for geometry shaders, fall back to EXT_geometry_shader4 if needed Differential Revision: https://developer.blender.org/D1632
2015-11-23OpenNL: make the API thread safe by always passing context.Brecht Van Lommel
Previously two laplacian smooth or deform modifiers executing simultaneously could crash.
2015-11-23OpenNL: significantly simplify code using Eigen / STL.Brecht Van Lommel
2015-11-23OpenNL: replace SuperLU by Eigen SparseLU solver.Brecht Van Lommel
Performance is roughly the same because it's using the same COLAMD ordering and supernodal LU factorization algorithms. Solve results also appear to be identical.
2015-11-23OpenNL: convert source file to C++, remove some unused functions.Brecht Van Lommel
2015-11-23OpenNL: removed unused softbody code.Brecht Van Lommel
2015-11-23CMake: check GNU compiler before using extensionCampbell Barton
Minor edit, don't assume non-msvc compilers are gcc/gnu compatible.
2015-11-23C99 is now the C standard for all our C code.Brecht Van Lommel
The main new feature is mixed variable declarations and code, which can help reduce uninitialized variables or accidental variable reuse. Due to incomplete C99 support in VS 2013, variable length arrays are not supported, BLI_array_alloca must still be used. The header <tgmath.h> is also not supported. Differential Revision: https://developer.blender.org/D1631
2015-11-22Error out on Windows if driver does not support OpenGL 2.1 with an errorAntony Riakiotakis
messagebox.
2015-11-22Remove vertex array support from GPUBuffers. Remove USER_DISABLE_VBO. AllAntony Riakiotakis
GPUBuffer rendering is now done using vertex buffers. Vertex arrays are completely removed from GL 3.2 core profile, so we'll have to do this change at some point anyway. This commit, though big, is not modifying blender in any way. Use should be exactly as if the vetex buffer option is constantly on.
2015-11-22Smoke drawing code cleanups (and little refactor)Kévin Dietrich
This patch contains the following changes: - the vertices and edges arrays would be assigned default values, and then reassigned new ones right away. It appears that those arrays were once global and then made local (rB06a2ee4afed4237398b69ddf253e29a730b2f9f0), so it makes sense now to initialize them with the right values. - the flame spectrum texture was created whether it was needed or not, so now it's only created if there's flame to be drawn, also split the code in a separate function. - reduce the number of parameters to the main draw function, as most of them are member of SmokeDomainSettings. - some other minor cleanups: fold multiple operations into one to get rid of one local variable, mark variables as `const` when necessary, unecessary gl draw calls, reorder the code a bit... Reviewers: campbellbarton, psy-fi Differential Revision: https://developer.blender.org/D1368
2015-11-22Add check for OpenGL version 2.1 on linux.Antony Riakiotakis
Unfortunately there's no easy way to show a messagebox here, so just print a warning on fstderr and exit. If we don't call exit() here we get crashes on other blender systems (python, opensubdiv) and it can get tricky to track the initialization state here, so just using exit() should do the trick for now.
2015-11-22OpenGL: bump gpu_buffers to GL 2.1Mike Erwin
simple stuff! - remove ARB suffix from core functions & enums - remove checks for core features (VBOs, generic attribs) - keep checks for non-core features (draw elements base vertex)
2015-11-22Fix T46678: Extending left handle of a VSE multicam effect strip with snap ↵Bastien Montagne
creates frame stills. Also fixes cache handling for those strips, they need more radical flushing...
2015-11-22Cycles: Make branched path tracer covered with requested featuresSergey Sharybin
This gives few percent extra memory saving for the CUDA kernel when using regular path tracing. Still more like an experiment, but will be handy in the future.
2015-11-22Cycles: Save one transform inversion in the camera syncLukas Stockner
Summary: By calculating the Camera-to-Screen-Matrix first, one inversion can be saved in the Camera sync. It won't really improve speed and/or precision, it's mainly a small cleanup. Reviewers: sergey, dingto Subscribers:
2015-11-21Cycles: Make requested features struct aware of subsurface BSDFSergey Sharybin
This way we'll be able to disable SSS for the scene-adaptive kernel.
2015-11-21Cycles: Quick experiment with using feature-adaptive kernels for CUDASergey Sharybin
Gives few percent of memory improvement for regular feature set kernel and could give significant memory improvement for Experimental kernel. It could also give some degree of performance improvement, but this I didn't really measure reliably yet. Code is ifdef-ed for now, since it's only working on Linux and requires CUDA toolkit to be installed (other platform only use precompiled kernels). This is just an experiment for now and a base for the proper feature support in the future (with runtime compilation using CUDA 7?).
2015-11-21Cycles: add utility function to calculate MD5 hash of a given stringSergey Sharybin
2015-11-21Cycles: Make CUDA device internally operate with requested featuresSergey Sharybin
This just replaces internal argument `experimental` with `requested_features` making it possible to access particular requested settings when building kernels.
2015-11-21Cycles: Move build options constructions to DeviceRequestedFeaturesSergey Sharybin
This way it's easier to re-use requested features logic across multiple device implementations.
2015-11-21Cycles: Avoid multiple spaces in OpenCL build optionsSergey Sharybin
This should solve some compilation errors with compilation on OSX.
2015-11-21Fix/Request T46798: Alt+I removes keyframes from all bones, not only ↵Joshua Leung
selected in Pose Mode Technically this was more of a feature request, but now the Alt-I operator will only remove keyframes related to selected bones in Pose Mode. In Object Mode, it will continue to operate on all keyframes of the object. This change makes this operator more meaningful when animating in the 3D view.
2015-11-21BMesh: improve face-path-picking w/ tri-fansCampbell Barton
Face paths including triangle-fans would often be avoided because the face center and edge would 'zig-zag'. Resolve using wighted face center and picking an edge-point between face centers.
2015-11-20Fix T46826: EXR Compression method set in UI does not always get passed ↵Bastien Montagne
correctly to the actual OpenEXR writing code.
2015-11-20Cycles: Fix filter glossy being broken after recent changesSergey Sharybin
Basically we can not use sharp closure as a substitude when filter glossy is used. This is because we can not blur sharp reflection/refraction. This is quite quick and not really clean implementation. Not really happy with manual handling of original settings, but this is as good as we can do in the quick patch. It's a good acknowledgment and we now can re-consider some aspects of graph simplification to make such cases more natively supported. P.S. This failure would have been shown by our regression tests, so please, bother a bit to run Cycles's test sweep before doing such optimizations.
2015-11-20Correct error in background job templateCampbell Barton
Remove check for the path being writable, the operator raises error in this case.
2015-11-20Fix switching scenes w/ background renderCampbell Barton
Caused by own de-duplication, b3492978 Scene switching relies on the window context being cleared.
2015-11-20Cleanup: variable names, ascii diagramCampbell Barton
2015-11-20Recent change to bmesh_jekv caused assertCampbell Barton
Note that the mesh was valid, this just stops the radial check from failing.
2015-11-20Fix T46804: Crash using triangulate modifier on a specific mesh.Bastien Montagne
Issues was again the ugly hack of swapping last generated tri with original face we use in BMesh triangulate code - here it could lead in some rare case to have invalid face pointer in doubles list.
2015-11-19Recent edits to grid-fill removed edgeloop flipCampbell Barton
2015-11-19Fix related to T46804 - BMesh validate code would use invalid pointers after ↵Bastien Montagne
checking them! Note that this does not fix the issue reported in T46804, juts makes it crash later down in code...
2015-11-19Fix T48806: mesh.materials.clear() does not decrement users counts.Bastien Montagne
2015-11-19Fix new UI align code behavior with very small buttons.Bastien Montagne
In case two neighbor buttons are very small, their total width (or height) can remain below max authorized delta, and hence wrong side could be detected as 'common side' for the pair. This is now fixed by checking both opposite sides at once. Also, we expect buttons to have some width and height to be considered alignable now! Took me two days to sort that out, grrrr!
2015-11-19BMesh: support for grid-fill non uniform gridsCampbell Barton