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-03-09style cleanup: comment blocksCampbell Barton
2012-03-09code cleanup: replace macros VECCOPY, VECADD, VECSUB, INPR - with BLI_math ↵Campbell Barton
funcs. added copy float/double funcs: copy_v3fl_v3db(), copy_v3db_v3fl(). 2d & 4d too.
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-08Fix ##30455: Orthographic grid alignment jumps/shifts when zoomingSergey Sharybin
Issue was caused by precision errors with floats. Made internal grid drawing stuff using doubles and also added some functions to multiply double vector by float matrix which also makes all intermediate calculation in doubles.
2012-03-08style cleanup: pep8 + picky editsCampbell Barton
2012-03-08style cleanup - spelling.Campbell Barton
2012-03-07edit to cursor adjustment, use int rather then short to store the cursor ↵Campbell Barton
position.
2012-03-07Unify string stepping delimiter code for text buttons, text editor and ↵Campbell Barton
console (all had duplicate code). this is also a step toward the console working with utf8 though many todo's remain.
2012-03-07style cleanup - braces & else / if'sCampbell Barton
2012-03-07Code cleanup: use typedefs for DerivedMesh drawing callbacks.Nicholas Bishop
There are still fairly bewildering set of callbacks being tossed around, but it's at least a little less verbose now.
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-03-06Fix incorrect null parameter in PBVH drawingNicholas Bishop
2012-03-06Draw individual face's material and shading correctly in the PBVH.Nicholas Bishop
Previously, the shading and material was set once per PBVHNode when drawing. This is still the case, but PBVHNodes are now built to contain only one material and shading mode. This is done with an extra partitioning step; once the number of primitives in the node falls below the PBVH leaf limit, it's primitives are checked for matching materials. If more than one material or shading mode is present in the node, it is split and partitioned (partitioned by material rather than 3D location.) Given a sufficiently 'annoying' input, like a dense mesh with thousands of materials randomly scattered across it, this could greatly increase PBVH build time (since nodes might end up containing a single primitive), but in general this shouldn't come up. In order to support materials for grids, the CCGDM is building another grid array (of DMFaceMat structs). This could be used to replace CCGDM.faceFlag for some small memory savings (TODO).
2012-03-06Code cleanup: factor out some common code from PBVH build_sub/build_leaf.Nicholas Bishop
2012-03-06Code cleanup: add comments for build_sub() and remove debug function.Nicholas Bishop
Remove the function (and call to) check_partitioning(), this was just a debug function.
2012-03-06Code cleanup: split PBVH build_sub() into two functions.Nicholas Bishop
Removes also a confusing else{} block that didn't make much sense.
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
2012-03-04bmesh py apiCampbell Barton
* add BLI_rfindlink for reverse index lookup (used so bm.select_history[-1] doesn't have to loop the entire list twice). * add bm.select_history.active so you can get the last selected item or None without having to check seq length.
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-02style cleanup for mempoolCampbell Barton
2012-03-02Code Cleanup: update to mempool, use flag rather then bool args.Campbell Barton
2012-03-01Spelling CleanupCampbell Barton
2012-02-29add an assert for inserting an egde with the same vertices and a BMESH_TODO ↵Campbell Barton
for bevel.
2012-02-29Code Cleanup: remove non existing function declarations.Campbell Barton
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
2012-02-29Add blenlib function to initialize vectors from a single float.Nicholas Bishop
The new functions are copy_v2_fl, copy_v3_fl, and copy_v4_fl.
2012-02-28code cleanup: use float vector size in function definitions, and const's ↵Campbell Barton
where the values are unchanged.
2012-02-28move bmesh wiki docs into bmesh header and update doxygen.Campbell Barton
also have doxygen ignore *.py files and fix some warnings.
2012-02-27Few files had got +x mode which seems to be totally unnecessary.Sergey Sharybin
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-02-26fix for build error with non debug builds from last commit.Campbell Barton
2012-02-25code cleanupCampbell Barton
* correct cmake/clang warning. * use same include guard names as everywhere else for BLI math inline. * correct define for madd_sh_shfl
2012-02-23code style cleanup, no functional changes.Campbell Barton
2012-02-23Move PBVH bitmap to separate header in blenlib.Nicholas Bishop
The implementation was also changed in a couple ways: use unsigned integers as its base type rather than unsigned chars, and uses macros rather than functions. (These could be changed to inline functions.) Currently it is still only used during PBVH building, but now it's accessible elsewhere.
2012-02-23Code cleanup: de-duplicate code in GPU_build_grid_buffers() with a macro.Nicholas Bishop
2012-02-23Code cleanup: don't use GHash for GPU_build_mesh_buffers().Nicholas Bishop
At the point where GPU_build_mesh_buffers is called, the face_vert_indices map has already been built; it contains the same data in an easier-to-access format.
2012-02-23Code cleanup: remove unused 'skip' field from PBVH iterator.Nicholas Bishop
2012-02-23Code cleanup: move the PBVH iterator's initialization into a function.Nicholas Bishop
Should be no functional changes, just shortens the amount of code living in the macro.
2012-02-23fix scons compilation, hopefully for all platforms that have a problem. Antony Riakiotakis
2012-02-22Attempt to fix scons compilation of blenderplayer.Antony Riakiotakis
Added bmesh to player libraries and changed the priority of blenlib so as to avoid duplicate definitions (looks like there are actually functions defined twice that cause conflicts if one changes the order of linking...figures). Only tested this on mingw-windows, I hope it works elsewhere too.
2012-02-21Another fix for non-VBO flat-shading in sculpt mode, this time for ↵Nicholas Bishop
non-multires meshes. As with multires, this change calculates face normals rather than using vertex normals when the node is flat-shaded. Flat-shading with VBO on non-multires meshes is still wrong, but fixing that would require larger changes to our vertex buffers.
2012-02-21Remove call to GPU_update_mesh_buffers from GPU_build_mesh_buffers.Nicholas Bishop
Building the mesh buffers already gets the PBVH_UpdateDrawBuffers flag set, so this was double-updating the vertex buffer.
2012-02-21Fix broken predivide option for reading in images, patch by Troy Sobotka.Brecht Van Lommel
2012-02-20fix harmless but annoying memory leak prints, "newmem", now free all ↵Campbell Barton
scanfill memory on exit.
2012-02-20- remove some unused editmesh functions.Campbell Barton
- copy & rename EditMesh stricts for use with scanfill (remove unused members)
2012-02-18more syncing smaller changes with trunkCampbell Barton
2012-02-18svn merge ^/trunk/blender -r44189:44204Campbell Barton
2012-02-17patch [#30227] Various MSVC (32-bit) Warning and Typo FixesCampbell Barton
made some small edits - removed changes to AVI reading since the data types are apart of the format spec. - absf -> abs for a double value in render code.
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-17add note to avoid confusion with angle_v3v3v3, also minor change with angle ↵Campbell Barton
comparison, convert constant values to radians (not resulting angle to deg).