Blender Git Loki

Kaikki Blender Git kommitit.

Page: 6334 / 8462

June 25, 2012, 08:24 (GMT)
Merging r48255 through r48256 from trunk into soc-2011-tomato

June 25, 2012, 08:21 (GMT)
Optimization of Keying Blur operation

Separate X and Y passes of blurring like it's done for flat
gaussian blur. This reduces computing difficulty from size^2
to 2*size without any visual changes in matte.
June 25, 2012, 07:41 (GMT)
svn merge ^/trunk/blender -r48245:48254
June 25, 2012, 07:24 (GMT)
style cleanup
June 25, 2012, 07:24 (GMT)
utility mesh function to return UV islands
June 25, 2012, 07:14 (GMT)
Use own version of ff_update_cur_dts for FFmpeg >= 0.11, seems
linking against function which isn't public in API gives error
when met some circumstances.
June 24, 2012, 22:35 (GMT)
Although it is commented out, replaced glColor/glMaterial with gpuCurrentColor/gpuMaterial
June 24, 2012, 21:37 (GMT)
Added copy_v2_flfl and copy_v3_flflfl because copy_v3_flflfl(v, 1, 2, 3) looks better than filling in an array using 3 statements.
June 24, 2012, 20:21 (GMT)
This commit includes my smoke work from previous weeks.

There are lots of changes in the code but here is a list of new things visible to users:
* A new "Adaptive Domain" setting. It makes smoke domain dynamically adapt to domain and fluid changes:
1) Domain resolution and size adapts to only cover areas where smoke is, so that as small domain as possible has to be calculated at a time. You can also add additional simulation cells around the original domain area if needed.
2) When you move the domain object during simulation you only move the smoke "boundaries". Smoke itself remains still. This way you can limit simulated area to stay around moving emitters etc.
* Domain is now rotatable. This means you are no longer need to align your simulation on x, y or z axis but you can freely rotate the domain to match the target area.
* Rotation and scaling also work during simulation with one limitation: Domain contents (smoke,fire) move with the domain.
* Smoke now uses the scene gravity setting, so you can change gravity direction if required.
* Added a new option for volume textures when "Generated" coordinates are used: "Map to Bounds". This maps texture coordinates to mesh bounding box allowing you to render adaptive domain content. It also solves issues with domains scaled in edit mode, so I'm considering to make this enabled by default.

Please note that this feature is not yet finished. I still have quite a few todos left and I'm sure there are still several bugs there.
June 24, 2012, 20:18 (GMT)
Fixes for modifier data in multi-user meshes.

When removing a skin or multires modifier, it skips deletion of the
associated CustomData layer if the object has any other modifiers of
that type. This check has been extended to all objects that use the
object's data.

Similarly, deleting higher multires levels and multires subdivision
will not update the maximum level of any other multires modifiers on
objects that link to the same mesh.

Note that modifier_apply_obdata() doesn't need any changes as it
does not allow applying to multi-user data.

Object joining has also been modified to synchronize multires levels
objects that share a mesh. This is needed because joining can
subdivide or delete levels in order to match the maximum level of the
join-from object to the join-to object.

Fixes bug [#31880] instance multiresolution modifier error.
http://projects.blender.org/tracker/index.php?func=detail&aid=31880&group_id=9&atid=498

Reviewed by Sergey:
http://codereview.appspot.com/6332047/
June 24, 2012, 18:01 (GMT)
Merging r48241 through r48245 from trunk into soc-2011-tomato

June 24, 2012, 18:00 (GMT)
Tracking dopesheet missed tagigng for update in some cases.
June 24, 2012, 17:38 (GMT)
Skip edge matte operation creation if output socket is not connected.
June 24, 2012, 16:19 (GMT)
Fix [#31807] Ngon triangulation error

Notes:
*This implements a quite simple algorithm, which simply checks angles (actually, absolute cosines) of created tri and remaining face (which may be a tri, quad, or more NGon), so that both are "best" (ie avoid as much as possible too much narrow/wide corners), and also checks the new edge is OK (i.e. does not goes "out" of original face).
*Incidently, it fixes a typo in that bm_face_goodline() func!
*It's quite performant (a bit quicker than previous code, as far as I have tested it) and prevent creation of completely flat triangles as much as possible, but it's far from being a "best" solution (as it is still a "progressive" one)!
*It also introduces a new math func (in BLI_math_vector.h), cos_v3v3v3, which computes cosine (ie dot product of normalized vectors) and is roughly a quicker replacement for angle_v3v3v3, when real angles are not needed.
June 24, 2012, 15:54 (GMT)
Mark some utility functions as static to avoid namespace conflicts
and make export symbol table smaller.
June 24, 2012, 15:31 (GMT)
Merging r48238 through r48240 from trunk into soc-2011-tomato

June 24, 2012, 15:29 (GMT)
Optimization of keying screen node

Use AABB check before calculating barycentric coordinates.

In simple tests with FullHD image and 4-9 tracks used for gradient
gave 1.5-2x speedup.
June 24, 2012, 14:50 (GMT)
Style cleanup
June 24, 2012, 14:27 (GMT)
Merging r48224 through r48237 from trunk into soc-2011-tomato

June 24, 2012, 14:16 (GMT)
Fix crash sliding disabled marker from preview widget.

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