Blender Git Commit Log

All Blender Git commits.

Page: 5835 / 8462

August 18, 2013, 12:29 (GMT)
rigidbody: Add convex decomposition collision shape

Uses HACD to break concave meshes into convex chunks and stores them in
a compound shape.

There is a lot of room for optimization. Right now performing convex
decomposition can be very slow for complex meshes.
August 18, 2013, 12:29 (GMT)
rigidbody: Fix gimpact shape

Also forgot compound wrapper here
August 18, 2013, 12:29 (GMT)
rigdibody: Don't free DerivedMesh when creating mesh shapes

It's not necessary since we don't create it ourselves now.
August 18, 2013, 12:28 (GMT)
svn merge -r58494:59227 ^/trunk/blender
August 18, 2013, 11:44 (GMT)
improved BM_face_copy_shared to copy from more possible connected loops and add filter function (not used yet).
August 18, 2013, 04:06 (GMT)
correct own error in recent linked stack edits.
August 18, 2013, 03:41 (GMT)
add hash function BLI_ghash_assign, BLI_edgehash_assign
avoids remove,insert and only hashes the key once.
August 18, 2013, 02:35 (GMT)
Code cleanup:
* Forgot to remove RNA/DNA in r59043. No need to keep this here, we never used it in Trunk.
August 18, 2013, 01:00 (GMT)
minor api cleanup for ghash/edgehash
- use single inlined lookup function.
- move comments into source.
- pack iterator vars more efficiently.
August 18, 2013, 00:36 (GMT)
add assert for hashes if an existing element is ever inserted into a ghash/edgehash.

the outliner does this intentionally, so add a flag to allow this situation optionally.
August 17, 2013, 21:24 (GMT)
Cycles / Sky Model:
* Old and new model can now be selected from a drop down menu.
* Old blend files load fine and use the old model, when we create a new Sky Texture node it defaults to the new model.

* Fixed Strength issues with new model and some code cleanup there.

ToDo:
* OSL implementation for thee new model.
* Code cleanup. Maybe outsource the whole precalc into its own cpp file?
August 17, 2013, 17:05 (GMT)
Fix for the problem where custom panels would not work as popups.
August 17, 2013, 16:08 (GMT)
Cycles / Sky Model:
* Replaced the Preetham model with the newer Hosek / Wilkie model:
"An Analytic Model for Full Spectral Sky-Dome Radiance" http://cgg.mff.cuni.cz/projects/SkylightModelling/

* We use the sample code data, which comes with the paper, but removed some unnecessary parts, we only need the xyz version.
* New "Albedo" UI paraemeter, to control the ground albedo (between 0 and 1).
* Works with SVM only atm (CPU and CUDA).

Example render:
http://www.pasteall.org/pic/show.php?id=57635

ToDo / Open Questions:
* OSL still uses the old model, will be done later. In the meantime it's useful to compare the two models this way.
* The new model needs a much weaker Strength value (0.01), otherwise it's white. Can this be fixed?
* Code cleanup.
August 17, 2013, 13:32 (GMT)
bmesh api internal changes
- optimize BM_face_exists_overlap_subset(), dont check faces smaller then the vert array, don't initialize overlap flag unless its needed.
- BM_face_exists_overlap had incorrect check (currently function is unused so no harm done)
August 17, 2013, 13:22 (GMT)
Popup panels aren't implemented as an operator anymore. Also, popup panels now KEEP_OPEN.
August 17, 2013, 13:10 (GMT)
- changed memory allocation of both VDBTextureSystem and each VDBVolumeFile stored in the VDBTextureSystem's map to use smart pointers;
- implemented naive interpolation for texture lookup (nearest neighbor);

August 17, 2013, 13:08 (GMT)
remove unused function
August 17, 2013, 12:04 (GMT)
Custom icon shelf buttons are now context sensitive (i.e. different buttons in different modes).
August 17, 2013, 11:54 (GMT)
The custom icons are now in the RGN_TYPE_MENU_BAR instead of in their own region. The menubar region now snaps to once or twice the header size.
Revision 95dc1d9 by Sv. Lockal (master)
August 17, 2013, 11:49 (GMT)
Fix [36486] Outliner doesn't allow to expand Hierarchies of armature if it's present on 2 Scenes

This is done by fixing logic for finding the first unused element in treehash.
The blend file from [36486] also exposes a memleak, but it should be addressed separately.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021