Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5933 / 8462

May 21, 2013, 19:20 (GMT)
Fix: Smoke simulations of very high resolutions often produced weird results, as if smoke was colliding in an invisible wall.

This was caused by a "hack" Daniel Genrich introduced in his moving obstacles commit in r46050. I suppose it was originally added to prevent issues with too fast moving obstacles, but now it ended up limiting maximum velocity of higher resolution simulations.

Here is an comparision of 184 resolution simulation (simulation area limited by adaptive domain):
https://www.miikah.org/blender/smoke_with_pressure_limit_hack.png
https://www.miikah.org/blender/smoke_without_pressure_limit_hack.png


I now reverted that hack until a better solution is found. Daniel, can you check this out? Pressure was limited to maximum of dt * dx (= dt / res) which doesn't make sense to limit pressure based on grid resolution. Maybe better to limit with a constant factor instead?
May 21, 2013, 18:59 (GMT)
Fix: Smoke adaptive domain applied velocity in wrong unit space causing high velocities never apply additional margin ahead the fluid.

Also skip new flow velocity because thats not accurate enough to be of any use in there.
May 21, 2013, 18:57 (GMT)
Fix: Smoke simulator produced slightly different results on every run if openmp was enabled.

This was a typical threading issue. Move that particular function out of the parallel block.
May 21, 2013, 17:25 (GMT)
Fixes for wrong memory usage in mask tracking operator
May 21, 2013, 16:44 (GMT)
OSX/scons: use ditto --arch <arch> instead of cp, to thin out unused architecture on the fly
May 21, 2013, 16:27 (GMT)
Merging r56933 through r56946 from trunk into soc-2011-tomato

May 21, 2013, 14:44 (GMT)
Fix #35232: Marker right-click misbehavior on adding

Made it so Add Marker button from toolbox will place
marker in the middle of the frame.
May 21, 2013, 13:22 (GMT)
Code cleanup / Cycles:
* Use M_2PI_F in more places and do multiplication instead of division in gradient texture.
May 21, 2013, 13:15 (GMT)
Code cleanup / Cycles:
* Re-use already defined Westin closure class.
May 21, 2013, 12:18 (GMT)
Fix #35443: Animation player doesn't play some movie formats

Need to initialize FFmpeg for animation player.

This is a bit confusing, but the only way to do this
properly and clear is to call IMB_ffmpeg_init from
playback_mode command line callback.

This is because this callback is blocking and
"usual" FFmpeg initializetion (which happens after
command line parsing) was never called.

Could be switched to separate FFmpeg initializtion
and debug level set but let's keep simple for now.
May 21, 2013, 11:37 (GMT)
Fluid simulation manual number of threads option now doesn't set the number
of threads to the number of cores when the fluid is created. Rather it is now
set to 0 which means "use the number of threads specified for the scene".
May 21, 2013, 10:13 (GMT)
Fix compiler warnings with westin OSL code.
May 21, 2013, 10:13 (GMT)
Fix to show numpad . instead of NDOF fit as first shortcut key in menus.
May 21, 2013, 10:13 (GMT)
Related to #35452: show warning when unwrapping object with negative scale, same
as we already do for non-uniform scale.
May 21, 2013, 10:13 (GMT)
Fix build error after removing return value from MEM_freeN.
May 21, 2013, 08:45 (GMT)
code cleanup: remove callbacks only added to wrap MEM_freeN
May 21, 2013, 07:37 (GMT)
remove return value from MEM_freeN, it wasn't used anywhere and was cast to a different function signature. (which evidently works but error prone).
May 21, 2013, 05:01 (GMT)
fix own bug [#35451] Extrude -> Grab -> Cancel -> Crash
May 20, 2013, 21:55 (GMT)
Masks tracking operators

Added an operators which tracks the whole masks
in clip editor. Namely, this operators are tracking
selected splines of active spline layer.

This uses the same exact region tracker as motion
tracker used for ages, just marker is created from
mask spline. Pattern area will match the size of
spline's bounding box (without feather taken into
account!). Search area is currently hardcoded to
1.5x times bigger than marker's pattern area.

Settings for the tracked are used from default
tracker settings (which are in T-panel). So for
this added special panel to mask mode which
contains default tracker settings.

Matching will be ignored and Previous Frame
matching will be used.

Speed is also currently hardcoded to realtime.

This new tracker operators are using the same
shortcuts as regular tracker.

TODO:
- Feather support.
- Better deal with search area size.
- Think of tracking speed control.

This is an experimental feature, might crash or
do not behave as you expect it to behave.
May 20, 2013, 21:39 (GMT)
Merging r56770 through r56932 from trunk into soc-2011-tomato

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021