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
2013-02-05Fix #34040: Moving Normal Node with enabled Cycles Material Preview crashesSergey Sharybin
Issue was caused by couple of circumstances: - Normal Map node requires tesselated faces to compute tangent space - All temporary meshes needed for Cycles export were adding to G.main - Undo pushes would temporary set meshes tessfaces to NULL - Moving node will cause undo push and tree re-evaluate fr preview All this leads to threading conflict between preview render and undo system. Solved it in way that all temporary meshes are adding to that exact Main which was passed to Cycles via BlendData. This required couple of mechanic changes like adding extra parameter to *_add() functions and adding some *_ex() functions to make it possible RNA adds objects to Main passed to new() RNA function. This was tricky to pass Main to RNA function and IMO that's not so nice to pass main to function, so ended up with such decision: - Object.to_mesh() will add temp mesh to G.main - Added Main.meshes.new_from_object() which does the same as to_mesh, but adds temporary mesh to specified Main. So now all temporary meshes needed for preview render would be added to preview_main which does not conflict with undo pushes. Viewport render shall not be an issue because object sync happens from main thread in this case. It could be some issues with final render, but that's not so much likely to happen, so shall be fine. Thanks to Brecht for review!
2012-09-15fix incorrect macro for mask handle selection checking.Campbell Barton
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-14fix for 2 crashes freeing masksCampbell Barton
- freeing a mask from RNA BKE_libblock_free() twice on the mask. - loading a new blend file would only free the mask and not unlink it from nodes - it would access freed memory.
2012-09-13fix [#31946] Masking doesn't respect pixel ratioCampbell Barton
2012-09-06code cleanup: remove deprecated defines and some struct membersCampbell Barton
2012-08-26code cleanup: remove dead assignments, gave mask vars clearer names & moved ↵Campbell Barton
some mask evaluation funcs into mask_evaluate.c
2012-08-26code cleanup: split out mask spline evaluation into its own file.Campbell Barton
2012-08-21mask: skip self intersection on drawing when fill is disabled, since it was ↵Campbell Barton
only drawing on one side of an unfilled spline.
2012-08-20fix for mask feather intersection checks not working right for non-filled, ↵Campbell Barton
feathered masks. now do intersection checks for both sides of the feather.
2012-08-06Mask feather self-intersection checkSergey Sharybin
Enable self-intersection check for preview. In own tests average time for this operation on mango files was ~0.0015sec, and it was like 20 splines max which still gives pretty smooth performance on my core quad machine. Would think let's check how it works for now, if it'll give some issues here, would just avoid tessellation on every redraw by storing tessellation in some cache (probably in mask user). Another change is related on a way which loop to collapse. Changed length check with AABB size check. A bit slower but should be a bit more predictable.
2012-08-05resolve some issues with curve resolution calculactionCampbell Barton
- resolution could become so high that it would wrap around to a negative number, now check for small numbers before doing float division. - resolution was being calculated in some cases when it already met the clamp value - now this is skipped.
2012-07-31remove references to raskter from compositor and BKE mask.Campbell Barton
2012-07-31use the same rasterizer as the compositor for the sequencer.Campbell Barton
2012-07-27clamp mask resolution, the occasional crash would happen failing to alloc ↵Campbell Barton
when adding feather points very close together.
2012-07-27copy support for mask datablocksCampbell Barton
2012-07-26mask/image viewer now works with non 1:1 image aspect, editing masks in the ↵Campbell Barton
image viewer should be generally usable now though still some TODO's left.
2012-07-17disable feather collapse during drawing, its very slow.Campbell Barton
2012-07-16use calculated spline resoltion rather then fixed at 32.Campbell Barton
2012-07-16correct own naming error BLI -> BKECampbell Barton
2012-07-14replace masking rasterizer with a more simple geometry based rasterizer (for ↵Campbell Barton
the compositor). notes: - uncomment #define USE_RASKTER in BKE_mask.h to use the previous mask rasterizer. - slightly slower for regular masks but significantly faster for feather. - main benefit is that it threads well so works nice for tile compositor. - feather is lower quality, can use some improvements here. - feather can also use some interpolation enhancements, will do later.
2012-07-13new mask rasterizer written to take advantage of the compositors threading, ↵Campbell Barton
mostly functional but disabled by default (still a little wip).
2012-07-12ability to calculate mask curve and feather with predefined resolution (*_ex ↵Campbell Barton
functions)
2012-07-10some code refactors in raskter.c to sync it with build where mask tiling is ↵Peter Larabell
being developed. Also adds a bit more mask tiling code.
2012-07-04Mask node: create a copy of layers to be rasterized in initExecutionSergey Sharybin
This creates a list of splines to be rasterized in nitExecution which is being called from main thread. This should resolve possible threading issues discovered in tomato branch.
2012-06-22mask re-key feature - mango request. ability to reset selected points shape ↵Campbell Barton
key data. useful if you add many keys to one part of a curve, then later want to key another part - but dont want to continuously make the same corrections.
2012-06-21option to disable feather, since its so slow - for interactively editing ↵Campbell Barton
masks its useful to be able to disable. also rename RNA to 'use_antialiasing'
2012-06-13add Anti-Aliasing (very rough draft algorithm, NOT FINAL version) to raskter ↵Peter Larabell
lib. Code is still quite messy but will be replaced when final algo comes in anyway.
2012-06-13mango requestCampbell Barton
- highlight active mask layers. - remove keyframes when all layer data is removed.
2012-06-12remove input socket of mask node, this wasnt used.Campbell Barton
2012-06-08mask animation keys now editable in the dope sheet (duplicate, transform, ↵Campbell Barton
delete, select- etc).
2012-06-08support for subframe animation evaluation for masks.Campbell Barton
2012-06-07new sequence strip type for masks.Campbell Barton
2012-06-07Quite some warnings...Bastien Montagne
2012-06-07fix for bug where auto-handles were not calculated correctly for animated ↵Campbell Barton
curves.
2012-06-07code cleanup: remove unused mask argsCampbell Barton
2012-06-05operator to reset feather weights on all shape keysCampbell Barton
2012-06-05mask point slide now accounts for scaled bezier weights,Campbell Barton
2012-06-05mask editingCampbell Barton
- clear feather weights (alt+s) - fix for glitch where placing the feather would jitter.
2012-06-04mask header from tomato/Campbell Barton