March 12, 2011, 13:15 (GMT) |
Fix uvedit unwrap tool not taking selection into account. |
March 12, 2011, 12:38 (GMT) |
Completely refactored sph fluid particles. Only the very core of the algorithm remains the same, but big changes have happened both on the outside and on the inside. New UI: * The old parameters were quite true to the underlying algorithm, but were quite obscure from a users point of view. Now there are only a few intuitive basic parameters that define the basic fluid behavior. ** By default particle size is now used to determine the interaction radius, rest density and spring rest lengths so that it's easy to get stable simulations by simply emitting particles for a few frames and adjusting the particle size (easy when the particle size is drawn) so that the fluid appears continuous (particles are touching eachother). ** Stiffness - in reality most fluids are very incompressible, but this is a very hard problem to solve with particle based fluid simulation so some compromises have to be made. So the bigger the stiffness parameter is the less the fluid will compress under stress, but the more substeps are needed for stable simulation. ** Viscosity - how much internal friction there is in the fluid. Large viscosities also smooth out instabilities, so less viscous fluids again need more substeps to remain stable. ** Buoancy - with high buoancy low pressure areas inside the fluid start to rise against gravity, and high pressure areas start to come down. * In addition to these basic parameters there are separate advanced parameters that can either be tweaked relative to the basic parameters (or particle size) or defined independently. ** Repulsion - the stiffness parameter tries to keep the fluid density constant, but this can lead to small clumps of particles, so the repulsion keeps the particles better separated. ** Stiff viscosity - the normal viscosity only applies when particles are moving closer to eachother to allow free flowing fluids. Stiff viscosity also applies smoothing to particles that are moving away from eachother. ** Interaction radius - by default this is 4 * particle size. ** Rest density - by default this is a density that the particles have when they're packed densely next to eachother. ** Spring rest length - by default this is 2 * particle size. * There are also new options for 3d view particle coloring in the display panel to show particle velocity and acceleration. These make it easier to see what's happening in the fluid simulations, but can of course be used with other particles as well. * Viscoelastic springs have some new options too. The plasticity can now be set to much higher values for instant deletion of springs as the elastic limit is exeeded. In addition to that there is an option to only create springs for a certain number of frames when a particle is born. These options give new possibilities for breaking viscoelastic fluids. New in the code: * Most of the fluids code is now thread safe, so when particle dynamics go threaded there will be a nice speed boost to fluids as well. * Fluids now use a bvh-tree instead of a kd-tree for the neighbor lookups. The bvh-tree implementation makes the code quite a bit cleaner and should also give a slight speed boost to the simulation too. * Previously only force fields were calculated with the different integration methods, but now the fluid calculations are also done using the selected integration method, so there are again more choices in effecting simulation accuracy and stability. This change also included a nice cleanup of the whole particle integration code. As the internals are pretty stirred up old particle fluid simulations will probably not work correctly straight away, but with some tweaking the same level of control is still available by not using the "relative versions" of the advanced parameters (by default these are not used when loading old files). |
March 12, 2011, 04:39 (GMT) |
cmake, search $HOME/py32 for python now too. |
March 12, 2011, 04:31 (GMT) |
builder reports MSVC was setting stack size to 2gig. |
March 12, 2011, 02:12 (GMT) |
== Sculpt == * Removed some fields from struct SculptSession: - Fields drawobject, projverts, and previous_r were completely unused - Field `ob' was really unnecessary, changed sculpt functions to pass the object rather than the SculptSession This removal of `ob' from SculptSession should should make it a little easier to continue generalizing paint/sculpt functionality. There should be no visible changes from cleanup. |
March 12, 2011, 01:09 (GMT) |
Bugfix [#26222] Alt-O (smooth) in Graph editor destroys fcurve handle type and data Recoded Keyframe Smoothing operator to work better for continuous curves (i.e. ones with monotonically increasing slopes in sections) as opposed to hypothetically jagged ones. The old method assumed that handles should be flat as otherwise, you'd often get unsmooth curves just because you went and tilted some of the handles for local extrema, causing some unkeyframed overshoots, which also leads to changes in timing, which in turn often means unsmooth motion. Hence, the code took advantage of this to do things with less extra data. However, now we have a proper "flatten handles" tool (under snap -> horizontal) so this functionality is not needed in the general case where it will lead to stair-stepping artifacts. |
March 12, 2011, 01:03 (GMT) |
edit scons to use py3.2 on all os's and use 'm' abiflag on linux since this is the most common. |
March 12, 2011, 00:50 (GMT) |
set 2mb stack for mingw too. |
March 12, 2011, 00:16 (GMT) |
Fix #25931: strand render + ray traced AO give tile image. The random numbers for sampling were not consistent, now the RNG is seeded per strand, and some tweaks were done to make the jittered sampler cache return consistent sample numbers for strands. |
March 11, 2011, 23:27 (GMT) |
Fix [#25659] crash when unwrapping specific mesh Reported by Jan Hohoho Running the unwrap causes stack to overflow. Double the size from default 1MB. |
March 11, 2011, 23:12 (GMT) |
Fix #26035: fix crash building raytree with inf/nan values in raytree. There's many different checks here, but I couldn't handle all cases in fewer lines. |
March 11, 2011, 22:27 (GMT) |
Fix #26203: crash with empty raytree, all types should survive this now. Also added a check for -inf/inf bounding boxes, just to be sure. |
March 11, 2011, 22:06 (GMT) |
Some explicit casts to silence warnings (unsafe to mix int and bool in comparisons). |
March 11, 2011, 21:37 (GMT) |
Fix #25654: strand render with instanced objects was not working right, some coordinates didn't have the instance matrix applied, while others had it applied twice. |
March 11, 2011, 17:59 (GMT) |
Bugfix, irc report: Pressing ESC on material icon preview changes made it stop updating the icons. Was caused by default 'break' callback testing ESC and not resetting it. Now it uses same break callback as other previews. |
March 11, 2011, 17:01 (GMT) |
Bugfix #26444 Double click in File Window also loaded a file on double-click at a directory. The operator for it was using a Macro mistakingly here. On any double click, it selected the item first and then executed load. By default, any double click action has to rely on the first click being properly handled before. Simply removing this macro, and assign the "exec operator" to the double-click event works as expected. A double click on a directory then just shows the dir (because the exec requires an 'active' file item). |
March 11, 2011, 11:15 (GMT) |
Fix for [#26457] Physics Size attribute affects hair particle DupliObjects while hidden * Forgotten settings for the "simple hair" ui. |
March 11, 2011, 09:35 (GMT) |
move do_version code under latest subversion bump. |
March 11, 2011, 07:59 (GMT) |
March 11, 2011, 05:23 (GMT) |
fix [#26448] Solidify Modifier makes mesh texture missing in OpenGL render |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021