Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5182 / 8462

December 17, 2014, 03:30 (GMT)
Placeholder debug text for DepsNodes to figure out why add_relation is failing
December 16, 2014, 20:52 (GMT)
Fix T42917 shadow maps not working on ATIs.

This is yet another issue with framebuffers. There are two issues: We
need the framebuffer fully bound to check for completeness and when we
bind a depth texture as frame buffer we need to disable read/write.
December 16, 2014, 19:20 (GMT)
Fix typo in VBO
December 16, 2014, 19:14 (GMT)
Code that will draw a transparent overlay of a facemap over the mesh
(crashes atm).
December 16, 2014, 18:40 (GMT)
Improved force field effects on hair strands.

The previous calculation was modulated with the angle between the wind
direction and the segments, which leads to very oscillating behavior.

Now the formula includes an estimate for the geometric cross section
of a hair segment based on the incident angle and the hair thickness
(currently just the particle size). This gives a more stable behavior
and more realistic response to wind.
December 16, 2014, 18:35 (GMT)
Add code that copies sorted per facemap vertex indices to a VBO buffer
December 16, 2014, 17:26 (GMT)
Initial VBO code for GPU subsurf.

This commit adds a few generalizations to the VBO
code so that modifiers can create and populate their own GPU objects.

The VBO code originally supported CDDerivedMesh only. The design moves
slightly towards the viewport refactor where the rendering system
requests data from modifiers.

What we do have is support for solid shading with multiple
materials, flat/smooth shading and a big performance boost.
Performance could

In this commit only basic support for vertices and normals is provided
and some features from blender's VBO system, such as mapping to
original faces, unique element indices for vertices and loose vertex/
and can be added later. The one feature that is missing now is the quick
navigation feature of the multires modifier (which uses the same code).

- Why this commit is made on the widget branch -

Facemap widgets need to avoid drawing the whole mesh when we do
collision detection on them. For subsurf drawing we need to iterate
through the whole mesh every time. What we need instead is sort
indexed elemet drawing according to the facemap each face belongs to.
This screams VBOs but since I was going to add that, I thought that
I could push it a bit further and add proper solid shading support.
December 16, 2014, 17:18 (GMT)
Revert "Initial VBO code for GPU subsurf."

This reverts commit 7163ddf53e6f5f67c59a8dfc14f60515f8f577c7.
December 16, 2014, 17:03 (GMT)
RNA access to previews (image and icons).

Note since this gives python possibility to change those previews,
we add flags to PreviewImage to tag as user_defined.

TODO: replace all those shorts-used-as-bools by bitflags!
December 16, 2014, 16:05 (GMT)
Initial VBO code for GPU subsurf.

This commit adds a few generalizations to the VBO
code so that modifiers can create and populate their own GPU objects.

The VBO code originally supported CDDerivedMesh only. The design moves
slightly towards the viewport refactor where the rendering system
requests data from modifiers.

In this commit only basic support for vertices and normals is provided
and some features from blender's VBO system, such as mapping to
original faces, unique element indices for vertices and loose vertex/
and can be added later. The one feature that is missing now is the quick
navigation feature of the multires modifier (which uses the same code).

What we do have is full support for solid shading with multiple
materials, flat/smooth shading and a big performance boost.
Performance could

- Why this commit is made on the widget branch -

Facemap widgets need to avoid drawing the whole mesh when we do
collision detection on them. For subsurf drawing we need to iterate
through the whole mesh every time. What we need instead is sort
indexed elemet drawing according to the facemap each face belongs to.
This screams VBOs but since I was going to add that, I thought that
I could push it a bit further and add proper solid shading support.
December 16, 2014, 15:59 (GMT)
Merge branch 'master' into asset-experiments
December 16, 2014, 15:57 (GMT)
Fix nasty typo in CPP RNA that would break on int or bool dynarrays...
December 16, 2014, 15:06 (GMT)
Fix T42888: Separate and Combine HSV distorts the hue value

These nodes were assuming sRGB input/output which is for sure wrong for the
shader pipeline which works in the linear space.

So now conversion to/from linear space happens in these nodes which makes them
making sence in the shader context but which might change look and feel of
existing scenes.
December 16, 2014, 13:41 (GMT)
Ensure previews are up to date when saving .blend file.

Previuosly, we would only write existing data - and big previews were
nearly never generated by default.

Now, if saving previews is enabled, `wm_file_write()` will ensure
all 'common' previewable datablocks do have up-to-date previews
(brushes remain TODO here for now, they have both a preview **and**
an icon_imbuf, sigh...).

This implied adding an 'immediate' non-job-background version of
`ED_preview_icon_job()`.

Note this does not include objects/groups/etc. It's not simple to generate
previews for those, will probably go for a user-launched py operator here...

Also, cleanup some debug prints!
December 16, 2014, 11:09 (GMT)
Remove NULL checking variable after using it.
December 16, 2014, 10:50 (GMT)
Never write preview data when doing memsave (i.e. undo).

Takes useless space, and they even could easily get out of sync.

Also, some minor preparative work to (re)generate previews on file write,
if needed!
December 16, 2014, 10:12 (GMT)
Reshufle a bit icon/preview size defines.

We now have a _RENDER_ variant of those, used when creating the previews,
so that we create 32x32 icons needed for those special screens...
December 16, 2014, 08:56 (GMT)
Some minor refinement regarding overlayed icons.

Note, even when unpremultiplying alpha, we still have 'breadcrumbs' around
icons, not sure why...
December 16, 2014, 08:18 (GMT)
Merge branch 'master' into asset-experiments
December 15, 2014, 20:17 (GMT)
Fix T42864: Knife-project fails with 'cut-through'

Removing edge-hit-doubles could incorrectly de-duplicate intersections between different edges.

Gave noticeable errors cutting through geometry that overlapped exactly.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021