Blender Git Commits

Blender Git "hair_system" branch commits.

Page: 13 / 35

October 10, 2014, 12:55 (GMT)
Fix for invalid ID access during versioning.

For now is fixed by doing a versioning hack in the lib_link function,
but would be nicer to avoid this altogether for forward compatibility.
October 10, 2014, 08:37 (GMT)
Merge branch 'hair_immediate_fixes' into gooseberry
October 10, 2014, 08:33 (GMT)
Merge branch 'master' into hair_immediate_fixes
October 10, 2014, 08:29 (GMT)
Interpolation for non-simulated hairs in preview.

This generates a somewhat believable overall look for the hair system
by blending simulated hairs. For small number of hairs and small
preview ratios this can get quite inaccurate, but that's the tradeoff
for getting preview functionality ...
October 9, 2014, 10:52 (GMT)
Calculate blending weights for preview hairs by constructing a kd-tree
of simulated hairs and using nearest neighbors.
October 9, 2014, 10:18 (GMT)
Removed debug prints.
October 9, 2014, 10:14 (GMT)
Solved various update issues with the hair preview factor.

This is still terribly messy, especially because every change of the
particle system has to be piped through the dummy cloth modifier somehow.
The automatic caching system also tends to get in the way a lot; after
changing the preview factor one basically always has to start at frame 1
currently because the cloth modifier has to be reconstructed and forgets
about all caching.
October 8, 2014, 20:51 (GMT)
Widgets:

* Add option for shaded/non shaded widgets
* Normalize arrow widget size to 1.0 so size is predictable. Probably
will use the same scheme for other widgets as well
October 8, 2014, 18:11 (GMT)
All translation axis now drawn and operated through the widget system.
October 8, 2014, 17:34 (GMT)
* Manipulator Y 3D arrow moved and rotated correctly.
* Light manipulator doing undo now
* Scons should be fixed.
October 8, 2014, 16:32 (GMT)
Green widget handles y translation properly.
October 8, 2014, 16:13 (GMT)
ManipulatorGroup customdata.

Make WidgetGroup data private.
October 8, 2014, 14:56 (GMT)
WidgetGroup now handles updating the manipulator properties.

Still not hooked new arrow widget to the system
October 8, 2014, 13:50 (GMT)
Add python exporter that exports a mesh in a C file in a renderer-ready
format (vertices + normals + triangle vertex indices)

This will allow us to create widgets in blender instead of defining them
programmatically.

May also support facegroups for different colors in the future though
they must be somehow tied to the UI colors.
October 8, 2014, 10:45 (GMT)
Enable depth testing for widgets.

Especially if we have many widgets on screen, sorting them will be
difficult and for mesh-armature widgets it will be unavoidable if we
want to avoid tweaking "back" surfaces.
October 8, 2014, 10:31 (GMT)
Merge branch 'master' into wiggly-widgets
October 7, 2014, 18:29 (GMT)
Complete shaded arrow widget code. It will need sorting if keep the
shading.
October 7, 2014, 17:09 (GMT)
WIP redesign of the system. Nothing functional (not even manipulator).

There is first code for display of an arrow widget. The manipulator will
use those when they are ready.

Basically the manipulator is now a WidgetGroup. WidgetGroups are a new entity and
they manage a group of related widgets. They should be responsible for state update,
drawing and polling of their widgets and can be bound to specific rules.

There is a big design plan on a whiteboard beside me, it will take a few
big commits still to take shape though. One thing at a time, I am first making
reusable arrow widgets that will allow us replace the translate widgets properly.

There are a few reusable widgets planned, more to come later.
October 7, 2014, 15:27 (GMT)
Preliminary commit for simulation preview.
October 7, 2014, 10:48 (GMT)
Dragging the light handle will now point the lamp to the point in 3D
where user is dragging over.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021