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
2012-05-13code cleanup: header cleanup and remove some duplicate defines.Campbell Barton
2012-05-12style cleanup: remaining BLI files.Campbell Barton
2012-05-12style cleanup: whitespace, bli & makesdnaCampbell Barton
2012-05-11style cleanup: mainly sculpt/whitespaceCampbell Barton
2012-05-11Add mask-drawing support to GPU_Buffers.Nicholas Bishop
This is the last commit of the sculpt masking merge. Documentation: http://wiki.blender.org/index.php/User:Nicholasbishop/PaintMasks Thanks to Brecht for reviewing! * For VBO, add color to the VertexBufferFormat structure as three unsigned bytes. Since mask elements are scalar the three color components are identical to eachother, but the fixed-function OpenGL pipeline requires colors to be either three or four components. * For the same reason, multires VBO drawing now copies into the VertexBufferFormat format as well. * Regression: material colors will not show up correctly now, masks colors are overriding. Not sure how to fix this nicely (would be much easier to fix if drawing with vertex shaders.) * Also, masks will only draw PBVH drawing, so only 'solid' drawing will work correctly with masks.
2012-05-11Add paint mask access to the PBVH vertex iterator.Nicholas Bishop
2012-05-11Add access to mesh vertex customdata to the PBVH.Nicholas Bishop
2012-05-11Replace hardcoded DMGridData structure with CCGElem/CCGKey.Nicholas Bishop
* Changes to DerivedMesh interface: DMGridData has been removed, getGridData() now returns an array of CCGElem pointers. Also added getGridKey() to initialize a CCGKey (implemented only by CCGDerivedMesh.) * PBVH: added BLI_pbvh_get_grid_key(). * A lot of code is affected, but mainly is just replacing DMGridData.co, DMGridData.no, and sizeof(DMGridData) with the CCG_*_elem functions, removing the reliance on grid elements of exactly six floats.
2012-05-09style cleanup: whitespace/operatorsCampbell Barton
2012-05-06code cleanup: naming - BKE_mesh_*Campbell Barton
2012-05-05code cleanup: BKE_ naming, also make bpy.data.images.load() always load a ↵Campbell Barton
new image. (not use existing one)
2012-05-05code cleanup: brush/camera namingCampbell Barton
2012-05-05code cleanup: function naming for BLI functions.Campbell Barton
2012-05-04Fisheye Camera for CyclesDalai Felinto
For sample images see: http://www.dalaifelinto.com/?p=399 (equisolid) http://www.dalaifelinto.com/?p=389 (equidistant) The 'use_panorama' option is now part of a new Camera type: 'Panorama'. Created two other panorama cameras: - Equisolid: most of lens in the market simulate this lens - e.g. Nikon, Canon, ...) this works as a real lens up to an extent. The final result takes the sensor dimensions into account also. .:. to simulate a Nikon DX2S with a 10.5mm lens do: sensor: 23.7 x 15.7 fisheye lens: 10.5 fisheye fov: 180 render dimensions: 4288 x 2848 - Equidistant: this is not a real lens model. Although the old equidistant lens simulate this lens. The result is always as a circular fisheye that takes the whole sensor (in other words, it doesn't take the sensor into consideration). This is perfect for fulldomes ;) For the UI we have 10 to 360 as soft values and 10 to 3600 as hard values (because we can). Reference material: http://www.hdrlabs.com/tutorials/downloads_files/HDRI%20for%20CGI.pdf http://www.bobatkins.com/photography/technical/field_of_view.html Note, this is not a real simulation of the light path through the lens. The ideal solution would be this: https://graphics.stanford.edu/wikis/cs348b-11/Assignment3 http://www.graphics.stanford.edu/papers/camera/ Thanks Brecht for the fix, suggestions and code review. Kudos for the dome community for keeping me stimulated on the topic since 2009 ;) Patch partly implemented during lab time at VisGraf, IMPA - Rio de Janeiro.
2012-05-04Fix: forgot to commit these files as part of strand bugfix.Brecht Van Lommel
2012-05-02Fixes opening video files on Windows. [#30752]Alexander Kuznetsov
Thanks Lockal for finding faulty stat function which helped a lot. Now there BLI_stat. I will replace all other stat later. *** Please use BLI_xxxx() functions *** for file operations Reported by Leon Cheung, Lockal, Believil
2012-05-02style cleanup: whitespace, bracesCampbell Barton
2012-05-01style cleanup: guys - set your editors to tabs!Campbell Barton
2012-05-01Fix #31193: Normals don't have any Z componentSergey Sharybin
Issue was caused by heavily non-uniform scale applied on object. Run scale correction on face and vertex normals draw if there's non-uniform scale.
2012-04-30style cleanup: re - ↵Campbell Barton
http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Braces_with_Macros
2012-04-30code cleanup: header cleanupCampbell Barton
2012-04-30Word selection in the Text Editor:Sv. Lockal
* Fix word selection for words with multibyte characters. No need to call txt_move_left() or txt_move_right(), because these functions work with symbols, not bytes * Word selection now treats tabs the same way as spaces. Also useful for words with multibyte characters
2012-04-30style cleanup: edits to convex hull.Campbell Barton
2012-04-29style cleanup: missed these from previous cleanupCampbell Barton
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-29Add GHASH_ITER macroNicholas Bishop
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-29bmesh: new wireframe toolCampbell Barton
- makes wireframe from faces. - options similar to inset (even offset, relative scale) - copies face settings and loops (uvs, vcolors) - optionally replaces the existing geometry.
2012-04-28style cleanup: format 'for' loop macros the same as for loops, some renaming ↵Campbell Barton
to BLI_array macros.
2012-04-28code cleanup: remove editmesh code left hanging around thats already been ↵Campbell Barton
ported to bmesh, also remove main editmesh header.
2012-04-28patch [#31104] Correct comment for mul_qt_v3Campbell Barton
from Bill Currie (taniwha)
2012-04-28code cleanup: Campbell Barton
- replace inline face UV center calc. - use const float[3] for mesh and uv functions. - remove unused define
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-27code cleanup:Campbell Barton
- move lasso functions into BLI (were in 3D view but UV editor needs access) - remove unused UV functions (ones that assumed 3-4 sized UVs only)
2012-04-27code cleanup: quiet msvc warningsCampbell Barton
2012-04-26code cleanup: bmesh comments/todos, no functional changes.Campbell Barton
2012-04-24Add libMV and Scons support for MinGW-w64, patches by Caleb Joseph with ↵Antony Riakiotakis
slight modifications. Thanks!
2012-04-24fix for invalid use of memset when loading tiff imagesCampbell Barton
- memset(..., 1.0); // isnt valid - memset(pointer, sizeof(pointer)) // was using the sizeof the pointer, not the size of the array, since this was to fill in alpha values it was obviously wrong.
2012-04-24First MinGW-w64 support for cmake has been added. To test I recommend this ↵Antony Riakiotakis
build: http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/ray_linn/GCC-4.7.0-with-ada/mingw-w64-gcc-4.7.0-runtime-2.0.1-static-ada-20120330.7z/download Other builds may also work but due to the constantly changing nature of the compiler this cannot be guaranteed. I often had to change compilers while building the libraries and this one is the one that did the job for most of them. This first support is experimental and considered "advanced". To enable pass -DWITH_MINGW64 during cmake configuration. Also make sure to extract the compiler on C:/MinGW and that MinGW/bin is in your path. To build check out lib/mingw64. Initially the support is lacking until I get every library compiled correctly. For now you should disable WITH_CYCLES(sorry, I know some people are dying to do benchmarks, but still a few libs to go), WITH_IMAGE_OPENEXR, WITH_OPENCOLLADA, WITH_LIBMV and WITH_CODEC_FFMPEG(links but hangs on startup). Still the tools are working, the memory limit is increased and due to the experimental nature of the setup, full optimization with SSE2 is available, which makes the build quite fast. Also the compiler and especially, the linker are way faster than regular MinGW. The wiki docs have also updated. Happy testing!
2012-04-23code cleanup: better use of BLI_array_* (grow in larger steps where ↵Campbell Barton
possible), include BMO_iter_new in for loops.
2012-04-22style cleanup: commentsCampbell Barton
2012-04-21style cleanup: multi-line if statements.Campbell Barton
2012-04-21style cleanup: correct typosCampbell Barton
2012-04-21style cleanupCampbell Barton
2012-04-19BMESH_TODO: randomize vertices working again.Bastien Montagne
That whole "element re-arrange" area could use some love, though (e.g. make a single vert operator with more options, as faces; and make faces work in edit mode, probably no more reasons to switch to object mode?). Post-release TODO, anyway. Also spotted a glitch in BLI_rand code, imho, which makes first element of an array not guarantied to be shuffled by BLI_array_randomize()... No correction though, as this might/would affect other parts of the code!
2012-04-18code cleanup: more minor changes to scanfillCampbell Barton
2012-04-18code cleanup: replace magic numbers in scanfill with defines, also use some ↵Campbell Barton
vector functions where possible
2012-04-18fix for eternal loop in scanfill,Campbell Barton
The cause for this is bmesh faces which have zero area have their normals set to a fake value (Z-Up), this would break scanfill, possible fixes are to calculate the faces normal each time or tag as invalid but its easiest to avoid the eternal loop with an extra test.
2012-04-18fix for own error in recent scanfill updates, scanfill can hang if run on a ↵Campbell Barton
polygon with no area.
2012-04-16minor speedup for scanfill, dont calculate the normal if its already known - ↵Campbell Barton
use for editmode ngon filling.