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
2015-03-13Pass proper bmain to the updateDepgraph() of modifiersSergey Sharybin
This is mainly to make physics modifiers being able to work with it. For other cases this main is not needed.
2015-01-20Cleanup: warningsCampbell Barton
2015-01-20Another fix for particle instance child lookups, was not subtractingLukas Tönne
parent amount.
2015-01-20Fix for invalid particle pointer access in mixed particle/child loop.Lukas Tönne
2015-01-20Fix for particle instance initial frames.Lukas Tönne
These were not orthonormal and tended to flip with changing hair direction, now use the particle hair matrix which is stable wrt. the mesh surface.
2015-01-20Fix for particle instance modifier: use a stable parallel-transportLukas Tönne
framing method instead of the Frenet frame. The Frenet frame is very succeptible to sudden twists along straight sections of a curve where the second derivative (curvature) becomes 0.
2014-11-29Cleanup: unused headersCampbell Barton
2014-03-20Code cleanup: use boolsCampbell Barton
2014-03-15Code cleanup: use r_ prefix for return argsCampbell Barton
2014-01-12Style Cleanup: whitespaceCampbell Barton
2013-12-21Mesh Modifiers: refactor copying using a generic functionCampbell Barton
2013-08-19Make lattice deform safe for threadingSergey Sharybin
Lattice deformation used to store some runtime data inside of lattice datablock itself. It's something which is REALLY bad. Ideally DNA shouldn't contain and runtime data. For now solved it in a way that initialization of lattice deform will create a structure which contains lattice object for which deformation is calculating and that runtime data which used to be stored in lattice datablock itself. It works really fine for mesh deform modifier, but there's still runtime data stored in particle system DNA, It didn't look something easy to be solved, so leaving this as-is for now. -- svn merge -r58277:58278 -r58795:58796 ^/branches/soc-2013-depsgraph_mt
2013-06-02use booleans for modifiers and api callbacks.Campbell Barton
2013-05-30modifier stack: lazy initialize normalsCampbell Barton
many modifiers were calculating normals, when those normals were ignored by the next modifier. now flag normals as dirty and recalculate for modifiers that set use `dependsOnNormals()` callback. Quick test on mesh with 12 modifiers (mostly build type), calculated normals 6 times, now it only runs once - so this will give some speedup too.
2013-05-02Fix #35174: dynamic paint displacement missing in render.Brecht Van Lommel
A previous bugfix disabled the dynamic paint modifier for orco texture coordinate evaluation of the modifier stack. However the MOD_APPLY_USECACHE flag is not a good way to check if the modifier is evaluated for orcos. Instead I've added a MOD_APPLY_ORCO flag. Also removed a bunch of applyModifierEM callbacks, none of them served a purpose except for the subsurf modifier.
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-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2012-10-24style cleanup: modifier structsCampbell Barton
2012-10-17Fix #32887, ParticleInstance: crash with hidden particle system + children.Lukas Toenne
The issue here is that the particle instance modifier (pimd) accesses data from the linked particle system modifier (psmd). This data is only correctly generated when the psmd is enabled; here the design violates the modifier principle of providing valid object data (or rather DM) even when disabled. The solution in this case is to make a custom isDisabled check for the pimd to see if the psmd is enabled. This means the pimd won't work for disabled psmd, but doesn't crash.
2012-09-13fix for missing NULL check in own recent commit, thanks Gaia for pointing ↵Campbell Barton
this out.
2012-09-12Fix #32338: particle instance modifier did not work well when the mesh had onlyBrecht Van Lommel
vertices. Previously it would hide particles by creating invalid faces, but this didn't make the vertices actually disappear. Also found that it could generated corrupt geometry for cases with faces, which gave wrong subsurf and could crash in edit mode.
2012-07-17use math vector init functionsCampbell Barton
2012-07-06Fix [#31923] Particle instanced objects don't show textures in renderBastien Montagne
Actually, particle instance modifier was still using tessfaces, but copying poly cdata! Simply made it using poly/loop.
2012-05-09Refactor of modifiers' apply function: now use a single bit-flag parameter ↵Bastien Montagne
to pass options, instead of having one parameter per boolean flag (i.e. replaces current useRenderParams and isFinalCalc by a single ModifierApplyFlag flag. ModifierApplyFlag is an enum defined in BKE_modifier.h). This way we won't anymore have to edit all modifier files when e.g. adding a new control flag! Should have no effect over modifier behavior.
2012-05-06style cleanup: modifiersCampbell Barton
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-01-20replace CDDM_calc_normals_mapping with CDDM_calc_normals when used within ↵Campbell Barton
modifiers. this way modifiers wont be calculating tessface's which CDDM_calc_normals_mapping will do if not already calculated.
2012-01-06renameCampbell Barton
* CDDM_calc_edges --> CDDM_calc_edges_tessface * CDDM_calc_edges_poly --> CDDM_calc_edges
2012-01-06rename CDDM_calc_normals() --> CDDM_calc_normals_mappingCampbell Barton
2012-01-05added a function to ensure derived mesh has tessface's, in preparation for ↵Campbell Barton
removal of tessface recalculation after each modifier runs.
2012-01-03for modifiers that are stull creating MFaces - call CDDM_tessfaces_to_faces ↵Campbell Barton
rather then making an entire copy with CDDM_copy(result, 1)
2011-11-29Rename DM *_face_* funcs to be either *_tessface_* or *_poly_* to avoid ↵Andrew Wiggin
confusion This is the first step in a few changes to cleanup confusing/missing DM funcs
2011-11-07svn merge -r41575:41602 ^/trunk/blenderCampbell Barton
2011-11-06more macro --> BLI math lib, mainly replace VECCOPY in render and blenkernel.Campbell Barton
2011-10-24svn merge ^/trunk/blender -r41226:41227 .Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-08-16svn merge -r39286:39385 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-08-12Modifiers: add callback to loop over each texture assigned to a modifier.Brecht Van Lommel
2011-05-09quiet more compiler warnings, also found a bug using printf rather then fprintf.Campbell Barton
2011-04-15=bmesh= merge from trunk at r36153Joseph Eagar
2011-03-27modifiers: floats were being implicitly promoted to doubles, adjust to use ↵Campbell Barton
floats.
2011-03-05use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf ↵Campbell Barton
& editors.
2011-02-27merge with/from trunk at r35190Joseph Eagar
2011-02-25doxygendoxygen: blender/modifiers tagged.Nathan Letwory
2011-02-13many functions in blender are not marked static but should be.Campbell Barton
most local modifier,GPU,ImBuf and Interface functions are now static. also fixed an error were the fluid modifier definition and the header didnt have the same number of args.
2011-01-31Todo issue: sculpting on deformed meshSergey Sharybin
Used a crazyspace approach (like in edit mode), but only modifiers with deformMatricies are allowed atm (currently shapekeys and armature modifiers only). All the rest modifiers had an warning message that they aren't applied because of sculpt mode. Deformation of multires is also unsupported. With all this restictions users will always see the actual "layer" (or maybe mesh state would be more correct word) they are sculpting on. Internal changes: - All modifiers could have deformMatricies callback (the same as deformMatriciesEM but for non-edit mode usage) - Added function to build crazyspace for sculpting (sculpt_get_deform_matrices), but it could be generalized for usage in other painting modes (particle edit mode, i.e) Todo: - Implement crazyspace correction to support all kinds of deformation modifiers - Maybe deformation of multires isn't so difficult? - And maybe we could avoid extra bad-level-stub for ED_sculpt_modifiers_changed without code duplicating?
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-10-14add UNUSED() to modifiers, also removed some unused args.Campbell Barton