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
path: root/source
AgeCommit message (Collapse)Author
2013-04-17display options to help with 3d printing.Campbell Barton
editmesh debug info, - overhang (with axis angle options) - wall thickness (with min/max distance) - self-intersections. access below 'Mesh Display' panel.
2013-04-17add function BKE_bmbvh_find_face_segment()Campbell Barton
given a segment, finds finds an intersecting faces from the first point to the second, needed for checking self intersections (not used yet).
2013-04-17code cleanup: bmesh bvhCampbell Barton
- remove unused members from BMBVHTree - move per-raycast vars from BMBVHTree into per-callback structs (weren't threadsafe). - simplify BKE_bmbvh_find_vert_closest().
2013-04-17add interp_v3_v3v3v3_uv() to use for use with uv value from ↵Campbell Barton
isect_ray_tri_v3(), rename tree -> bmtree for BMBVHTree.
2013-04-17text editor reload no-longer resets scroll & cursor - annoying when making ↵Campbell Barton
tweaks to UI scripts. also restrict freestyle hack to WITH_FREESTYLE define.
2013-04-17style cleanupCampbell Barton
2013-04-16Blender Internal Render in viewportTon Roosendaal
Because of our release soon, feature has been added behind the Debug Menu. CTRL+ALT+D and set it to -1. Or commandline --debug-value -1. When debug set to -1, you can put the viewport to 'render' mode, just like for Cycles. Notes for testers: (and please no bugs in tracker for this :) - It renders without AA, MBlur, Panorama, Sequence, Composite - Only active render layer gets rendered. Select another layer will re-render. - But yes: it works for FreeStyle renders! - Also does great for local view. - BI is not well suited for incremental renders on view changes. This only works for non-raytrace scenes, or zoom in ortho or camera mode, or for Material changes. In most cases a full re-render is being done. - ESC works to stop the preview render. - Borders render as well. (CTRL+B) - Force a refresh with arrow key left/right. A lot of settings don't trigger re-render yet. Tech notes: - FreeStyle is adding a lot of temp objects/meshes in the Main database. This caused DepsGraph to trigger changes (and redraws). I've prepended the names for these temp objects with char number 27 (ESC), and made these names be ignored for tag update checking. - Fixed some bugs that were noticable with such excessive re-renders, like for opening file window, quit during renders.
2013-04-16Set min value for sampling value of freestyle line geometry modifier to 0.Sv. Lockal
Negative sampling does not make any sense and leads to crash.
2013-04-16Fix: texture scaling for sculpting is different between overlay andAntony Riakiotakis
stroke. The reason is that we use a different sampling function. Reported by Michalis Zissiou, thanks!
2013-04-16Fix some names, and move overlay flag to overlay_flags.Antony Riakiotakis
2013-04-16add missing call to flush selection on selecting manifold geometry.Campbell Barton
2013-04-16fix for BKE_bmbvh_ray_cast() returning one of the vertices normals rather ↵Campbell Barton
then the face normal. also remove redundant NULL checks.
2013-04-16add distance arg to BKE_bmbvh_ray_cast(). currently unused.Campbell Barton
2013-04-16Option to hide overlay during a stroke. To enable, press the brush iconAntony Riakiotakis
next to the overlay alpha.
2013-04-16bmesh speedup for bvh building, replace SmallHash with BLI_bitmap, using a ↵Campbell Barton
hash doesn't make much sense since in most cases all vertices are accessed and the hash isn't guaranteed to be small. gives ~9x speedup to filling 'cagecos' in my own tests on a high poly mesh.
2013-04-16Fix crash when no brush is active. Reported by Francesco Siddi, on ircAntony Riakiotakis
thanks!
2013-04-16skip calling BKE_editmesh_tessface_calc() from BKE_bmbvh_new(), also quiet ↵Campbell Barton
float/double warnings.
2013-04-16Fixed compilation error with gcc 4.4 and 4.5Sergey Sharybin
Was giving structure re-declaration error, made it one typedef and struct declaration only.
2013-04-16use psys->seed for smoke random number generator, increase size of ↵Campbell Barton
MATHUTILS_TOT_CB and reduce float->double conversions.
2013-04-16Fix for line instability with the Polygonization geometry modifier.Tamito Kajiyama
Extra long straight lines showed up randomly due to the use of an uninitialized variable as a line length parameter.
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-16move editmesh functions out editderivedmesh.c into editmesh.cCampbell Barton
2013-04-16move editmesh_bvh.c into blenkernel.Campbell Barton
2013-04-16Compile fixes for recent commitsAntony Riakiotakis
2013-04-16Fix crash rendering environment maps. I think this freestyle code was notBrecht Van Lommel
intended to be here and probably was left over from some earlier code, as resetting the configuration on render would lead to data loss.
2013-04-16Fix crash rendering environment maps.Brecht Van Lommel
2013-04-16Fix a few warnings. One was an actual bug in freestyle where stroke attributesBrecht Van Lommel
were not properly interpolated.
2013-04-16Random number generator: replace a bunch of usage of the global random numberBrecht Van Lommel
generator with a local one. It's not thread safe and will not give repeatable results, so in most cases it should not be used. Also fixes #34992 where the noise texture of a displacement modifier was not properly random in opengl animation render, because the seed got reset to a fixed value by an unrelated function while for final render it changed each frame.
2013-04-16Cycles Hair: Strand Minimum Pixel SizeStuart Broadfoot
Code is added to restrict the pixel size of strands in cycles. It works best with ribbon primitives and a preset for these is included. It uses distance dependent expansion of the strands and then stochastic strand removal to give a fading. To prevent a slowdown for triangle mesh objects in the BVH an extra visibility flag has been added. It is also only applied for camera rays. The strand width settings are also changed, so that the particle size is not included in the width calculation. Instead there is a separate particle system parameter for width scaling.
2013-04-15Fix #34978: for cycles, images displayed in the UV editor where coupled to theBrecht Van Lommel
active image texture node in the material, now this is removed and the image in the image editor is decoupled and not changed upon entering edit mode. This system caused more confusion then it's worth, changing or removing textures would modify the material but users would often not be aware of this.
2013-04-15Fix #34975: crash rendering curve/text with modifiers that alter topology,Brecht Van Lommel
was issue in new freestyle code.
2013-04-15Touch properties when clearing/adding to a collection.Sergey Sharybin
Fixes an issue when adding several movie strips fails second time in sequencer.
2013-04-15Fix for cycles border render optimization commit, render status bar was off ↵Brecht Van Lommel
by 1 pixel.
2013-04-15Fix #34967: Display transform makes byte image with alpha=0 blackSergey Sharybin
Skip premultiplication/de-premultiplication when acquiring display buffer for a byte image. Will make conversion a bit faster also :)
2013-04-15rename axis_angle_to_mat3_no_norm() --> axis_angle_normalized_to_mat3().Campbell Barton
this matches closer to convention from existing functions - angle_v3v3() angle_normalized_v3v3(). also added assert to ensure argument given to axis_angle_normalized_to_mat3() is in fact normalized.
2013-04-15Fix: when using a search menu with an operator's enum prop, the operator was ↵Bastien Montagne
previously always executed with default options (appart from the search-set enum, of course). Now we store the op's properties in search button, so that you can specify non-default options (as it was already possible with e.g. pop-up menu from an operator's enum prop). To achieve this, some code (callbacks and search button creation) was moved from wm_operators.c to interface/interface.c, and a new UI function was added, uiDefSearchButO_ptr. Note: This new code uses the fact that uiButHandleFunc callbacks get executed before operator when one of its arg is the button itself! Many thanks to Campbell who helped me a lot with this patch! Cleanup: also removed two unused pointers from uiBut struct.
2013-04-15New implementation for twist brushes.Antony Riakiotakis
It has much better rotation and avoids the compression effect that old twist brushes have. Also twisting is now non periodic, meaning you can twist beyond 180 degrees. The amount of twist is also calculated relative to the angle formed after first translating the mouse away from the brush center.
2013-04-15WIP, jason's patchAntony Riakiotakis
2013-04-15Fix #34972: Blender crashes when Force Field-> Curve Guide is createdSergey Sharybin
Made it so where_on_path works correct when Curve does have editNurbs but no Curve->nurbs.
2013-04-15minor edits to DM_update_weight_mcol(), skip getting vars when in editmode, ↵Campbell Barton
also remove old/invalid comment.
2013-04-15Removed the extra ntree->update flag check in lib_verify_nodetree in ↵Lukas Toenne
readfile.c. This is unnecessary as the update flag will be checked internally in ntreeUpdateTree anyway, except for the generic bNodeTreeType->update callback (it could even be harmful by preventing necessary updates that don't use the ntree->update flag). Executing this once after loading a node tree is a useful feature for pynodes, so they can do initial verification.
2013-04-15code cleanup: minor BMESH_TODO's, some were left in even though they were ↵Campbell Barton
done/invalid.
2013-04-15Cycles: optimization for 3D viewport border render with heavy scenes, the OpenGLBrecht Van Lommel
render of objects could slow things down when redrawing the view each time a new sample is displayed. Now it does a partial redraw of the viewport with only the render border area, skipping OpenGL object drawing while the render is refining.
2013-04-14BGE: Cleaning up BL_ShapeDeformer's use of Blender's Key. This also fixes a ↵Mitchell Stokes
bug with replicas (added objects) crashing when using shape keys.
2013-04-14Freestyle stroke rendering is now done before lens flare. Suggested by Ton ↵Tamito Kajiyama
on IRC.
2013-04-14Fix for r55961 which revered texture icons fix at r55499Sergey Sharybin
Reported by Antony Riakiotakis, thanks!
2013-04-14== FFMPEG / Canon DSLR footage workaround ==Peter Schlaile
The latest ffmpeg versions include a workaround to deal with a certain pecularity in Canon DSLR footage: instead of decoding pictures with the proper resolution of 1920x1080 they decode it with 1920x1088 and add a black bar at the bottom. Needless to say, that this screws up things in a lot of areas within blender (proxy indices, mask animations etc.) Since all blender versions besides Linux x86 32bit seem still to include older ffmpeg versions which still contain this bug, this patch adds a workaround for older versions until we have all versions on all platforms up to date. See also: http://git.libav.org/?p=libav.git;a=commit;h=30f515091c323da59c0f1b533703dedca2f4b95d
2013-04-14code cleanup: minor changes, clang checker option for exact size matches and ↵Campbell Barton
use vector functions.
2013-04-14correct pyapi function intersect_line_sphere_2d() using 3d vecs when only 2d ↵Campbell Barton
are needed.
2013-04-14fix for tangent curve flipping only doing 2d angle tests.Campbell Barton