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
2020-06-04Merge commit 'master' into gsoc-2018-many-light-samplinggsoc-2018-many-light-samplingSam Kottler
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2018-09-19Merge branch 'master' into blender2.8Campbell Barton
2018-09-19BLI_utildefines: rename pointer conversion macrosCampbell Barton
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-07-16OpenSubdiv: Re-work C-API integrationSergey Sharybin
Main goal is to make API simpler to follow (at least ion terms what is defined/declared where, as opposite of handful big headers which includes all the declarations), and also avoid a big set of long and obscure functions. Now C-API files are split into smaller ones, following OpenSubdiv behavior more closely, and also function pointers in structures used a lot more, which shortens functions names, UV integration part in GL Mesh is mainly stripped away, it needs to be done differently. On a related topic, UV coordinates API in converter needs to be removed as well, we do not need coordinates, only island connectivity information there. Additional changes: - Varying interpolation in evaluator API are temporarily disabled, need to extend API somewhere (probably, evaluator's API) to inform layout information of vertex data (whether it contains varying data, width, stride and such). - Evaluator now can interpolate face-varying data. Only works for adaptive refiner, since some issues in OpenSubdiv itself. Planned changes: - Remove uv coordinates from TopologyConverter. - Support evaluation of patches (as opposite to individual coordinates as it happens currently). - Support more flexible layout of varying and face-varying data. It is stupid to assume varying is 3 floats and face-varying 2 floats. - Support of second order derivatives. - Everything else what i'm missing in this list.
2018-07-11OpenSubdiv: Changes in C-APISergey Sharybin
- Made OpenSubdiv_GLMesh private Previously, it was still accessible via C-API from C++ code. - Don't implicitly refine evaluator when updating coarse positions, now there is an explicit call to do this. Allows to first apply all changes to the coarse mesh and then refine once. - Added coarse positions update from a continuous buffer with given starts offset and stride. Allows to update coarse positions directly from MVert array. - Refiner is no longer freed when CPU evaluator is created. Allows to re-use refiner for multiple purposes.
2018-05-13Fix compiler warnings.Brecht Van Lommel
2018-05-03Cleanup: fix warnings, removed unused code.Brecht Van Lommel
2017-10-18Merge branch 'master' into blender2.8Campbell Barton
2017-10-17Fix T53007: OpenSubdiv + transparency = artefact/crashesSergey Sharybin
2017-05-19OpenSubdiv: remove legacy support & display queriesMike Erwin
OSD display needs more work, since it uses some legacy OpenGL light and material functions.
2017-05-19remove GPU_legacy_support queryMike Erwin
In the move to OpenGL 3.3 core profile, we drop support for compatibility profile and older versions. OpenSubdiv was the only user; I'll update OSD next.
2017-04-07Replace CGSubSurf direct includes to GL/glew.hDalai Felinto
2016-07-22OpenSubdiv: Properly respect Subdivide UVs optionSergey Sharybin
2016-07-22OpenSubdiv: Lay down fundamentals to support multiple UV mapsSergey Sharybin
2016-07-20OpenSubdiv: Initial work to support UV maps in textured OSD viewportSergey Sharybin
A bit work in progress, currently the following limitations: - Texture shading only, Material shading will come later - No UVs subdivision yet - Always uses active UV and currently changing active UV will not properly update the viewport. Well, need to start somewhere :)
2015-12-18OpenSubdiv: Avoid having bad-level callSergey Sharybin
This is always asking for problems. Additionally, that call was leading to OpenGL calls happening from threads.
2015-11-04OpenSubdiv: Use pool for delayed OpenGL buffers free when freeing from ↵Sergey Sharybin
non-main thread This is really similar to what GPU module was already doing. There are number of possible improvements still: - Re-use allocated VAOs when requesting new ones instead of going to the trouble of freeing VAO and then re-creating it again. - Move VAO handling to GPU module. Fixes T46589: OpenSubdiv crash with drivers
2015-09-30Fix T46332: Can't select an object with OpenSubdiv enabledSergey Sharybin
The issue was introduced by a wrong fix for T46247. Now both reports should be properly solved.
2015-09-22OpenSubdiv: Fix crash with empty meshSergey Sharybin
Reported by newbz in IRC, thanks!
2015-08-26Fix T45912: Opensubdiv meshes don't properly center when using <numpad .>Sergey Sharybin
2015-08-25OpenSubdiv: Support for multiple materials in solid shading modeSergey Sharybin
Implementation is less optimal compared to non-opensubdiv drawing but it is now as good as we can do it without affecting on how patches are being created by OpenSubdiv.
2015-08-05OpenSubdiv: Initial OsdMesh construction missed clearing out-of-date coords flagSergey Sharybin
2015-08-05OpenSubdiv: Correction to previous commitSergey Sharybin
2015-08-05OpenSubdiv: Tweaks to AABB calculation when using opensubdiv for subsurfSergey Sharybin
Use coarse coordinates to calculate AABB which gives much better approximation of AABB than using unity AABB size.
2015-08-05OpenSubdiv: Fix crash happening when disabling Use OpenSubdiv optionSergey Sharybin
The issue was caused by the changes from this morning.
2015-08-03OpenSubdiv: Avoid crashes when GPU subsurf is tried to be used on CPUSergey Sharybin
The issue was caused by CCG code being confused by number of geometry returned by utility functions in the case of the skipped grids. Made it so that code is always only working with CCG data and handled drawing code in a bit special way now. This solves such crashes as i.e. snapping.
2015-07-29OpenSubdiv: Typo fixes in commentsSergey Sharybin
2015-07-29OpenSubdiv: Make empty meshes supported and not crashingSergey Sharybin
2015-07-20OpenSubdiv: Add OpenSubdiv files which are related on the CCGSubSurf and GPUSergey Sharybin
Those files are still not in use (SCons will tyr to compile new CCGSubSurf files but no code will be in use at all because those new files are fully wrapped by ifdef WITH_OPENSUBDIV check).