Blender Git Commit Log

All Blender Git commits.

Page: 4890 / 8462

April 28, 2015, 15:22 (GMT)
"Free" function for shapes which only deconstructs the object, but does
not handle deallocation.
April 28, 2015, 15:22 (GMT)
"Init" variants of shape constructor functions for simple implicit
shapes.

These functions allow external memory allocation (using the associated
***_size values) for efficiency. An array or memory pool can then be
used to create lots of shapes and initialize them with the internal
Bullet data using the API.

Note that doing this for mesh-based shapes (triangle mesh, GImpact and
convex hull shapes) is not very useful, because they allocate data
internally and should not be created in massive numbers. The init
variants are supposed to be used for small fixed-size shapes (boxes,
spheres, etc.) which can then be combined into compound shapes.
April 28, 2015, 15:22 (GMT)
Refactoring internal btCollisionShape storage in the rbCollisionShape
wrapper class.

Now there are a matching subclasses of `rbCollisionShape` for each of
the used `btCollisionShape` equivalents. They store a bt shapes as
direct members, which means the internal memory allocation can be
largely avoided later, which is useful for efficient creation of many
shapes in mempools etc.
April 28, 2015, 15:22 (GMT)
API for compound collision shapes in the Blender RigidBody module.
April 28, 2015, 15:22 (GMT)
Support for btGhostObjects in the Bullet API.

Ghost objects are pure collision objects that have no effect on rigid
bodies, but can be used to hook into the collision detection of Bullet.

This way Blender can utilize the optimized collision detection in Bullet
as well as its contact caching, which is necessary for stable collision
response in many softbody-type algorithms that implement Coulomb
friction cones.
April 28, 2015, 15:22 (GMT)
Reorganizing Bullet world rebuilding in scene updates to allow pure
collision-only time steps and (uncached) ghost objects.

This will allow non-rigidbody sims (e.g. hair, softbody) to hook into
bullet collision detection via "ghost objects". These are Bullet objects
without rigid body dynamics (btCollisionObject). The contacts are
generated just like for rigid bodies, but their internal solvers can
then work like before without having to use Bullet stepping.
April 28, 2015, 15:18 (GMT)
Alleviate somewhat the issue of T44505

Issue is zfighting with wire of mesh when parts of the mesh are close
together. We can make this slightly better by reducing the offset,
however this offset is calculated pre-perspective division and can vary
greatly with distance. Correct approach would be using polygon offset,
however we draw mesh wireframes as lines, (not polygons with polygon
mode line) so this approach will not work.
Alternatively, we could set an offset in a shader, however we don't have
code for that either.
April 28, 2015, 14:53 (GMT)
Merge branch 'alembic' into gooseberry
April 28, 2015, 14:44 (GMT)
Merge branch 'master' into gooseberry

Conflicts:
intern/cycles/blender/blender_object.cpp
intern/cycles/blender/blender_sync.h
source/blender/editors/interface/interface_utils.c
April 28, 2015, 14:29 (GMT)
Curves: don't use 'charidx' for regular curves

Code attempted to sync them with materials,
but its not needed (and wasn't reliable).
April 28, 2015, 14:03 (GMT)
adding sample python template for ui preview icons
April 28, 2015, 14:01 (GMT)
Fix T44522: loop remapping between meshes when using 'nearest vert, best matching normal' modes
would fail on coplanar faces (or smooth verts).

Loop remapping is really a tricky topic... For now, we enhance a bit more
our Frankenfunc by using distance between dest and source polygons as
fallback in case we have too much similar normals...

Probably not a perfect solution, but should be robust enough I hope.

One core question remains open though: do we want to stick to 'use only seams
to detect UV islands'? This makes things much simpler, but will obviously fail
in case of actual islands without matching seams. :/
April 28, 2015, 14:01 (GMT)
Minor cleanup in comments.
April 28, 2015, 13:42 (GMT)
Fix T44516 grid lines obscuring selection outline.

Was changed to draw after meshes without depth mask to make grid not
contribute to compositing effects. Now only draw it like this when we do
compositing (unfortunately can't have both).
April 28, 2015, 13:34 (GMT)
Project Paint: Add symmetry support

- Access from symmetry panel (as with sculpt)
- Supports multiple axis at once.
- Supports all brush types including clone.
April 28, 2015, 13:15 (GMT)
Cleanup: const correctness
April 28, 2015, 13:15 (GMT)
BLI_utildefines: add MEMSET_STRUCT_OFS macro
April 28, 2015, 10:31 (GMT)
Hide app and BPyPreviews classes from utils namespace.

__all__ is rather useless in the end... Chose a bit of a convoluted way to do it,
maybe using hidden '_'-prefixed names would be better/simpler?
April 28, 2015, 10:10 (GMT)
Minor tweak.
April 28, 2015, 10:07 (GMT)
Merge branch 'master' into ui-preview-buttons
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021