Blender Git Commits

Blender Git "geometry-nodes-distribute-points" branch commits.

Page: 7 / 14

November 18, 2020, 12:39 (GMT)
Geometry Nodes: support rotation and scale in instances component
November 18, 2020, 12:27 (GMT)
Geometry Nodes: fix memory leak
November 18, 2020, 11:28 (GMT)
Geometry Nodes: initial Random Attribute node

This adds some ui boilerplate code for the Random Attribute node and
provides an initial implementation.

Note, while the implementation can already randomize attributes, it might
not behave as expected under all circumstances yet. It's still work in progress.
November 18, 2020, 11:25 (GMT)
Geometry Nodes: use attribute api in point instance node
November 18, 2020, 11:25 (GMT)
Geometry Nodes: use attribute api in point distribute node
November 18, 2020, 11:20 (GMT)
Geometry Nodes: initial generic attribute access API

I will have to do a couple more iterations on this api in the upcoming weeks,
but for now it should be good enough.

The API adds an indirection for attribute access. That has the following benefits:
* Most code does not have to care about how an attribute is stored internally.
This is mainly necessary, because we have to deal with "legacy" attributes
such as vertex weights and attributes that are embedded into other structs
such as vertex positions.
* When reading from an attribute, we generally don't care what domain the
attribute is stored on. So we want to abstract away the interpolation that
that adapts attributes from one domain to another domain (this is not
actually implemented yet).

Accessing attributes through this indirection does have a performance penalty.
In later iterations of this API I want to reduce this penalty and extend the API
so that performance critical code does not have to go through the indirection
for every attribute access.

Other possible improvements for later iterations include:
* Actually implement interpolation between domains.
* Don't use inheritance for the different attribute types. A single class for read
access and one for write access might be enough, because we know all the ways
in which attributes are stored internally. We don't want more different internal
structures in the future. On the contrary, ideally we can consolidate the different
storage formats in the future to reduce the need for this indirection.
* Remove the need for heap allocations when creating attribute accessors.
November 18, 2020, 11:00 (GMT)
Functions: add float2 cpp type
November 18, 2020, 01:03 (GMT)
Merge remote-tracking branch 'origin/master' into geometry-nodes
November 18, 2020, 01:02 (GMT)
Cleanup: Remove all of "#ifdef WITH_POINT_CLOUD"

Since Point Cloud was removed from experimental this is no longer needed.
November 18, 2020, 01:02 (GMT)
Geometry Nodes: Unify icons -> use ICON_NODETREE for everything

Until there is a icon made specially for this, the nodetree icon is up
for grabs. Using it in the nodegroup + modifier + editor helps the users
to make a connection on where to edit those modifiers.
November 18, 2020, 01:02 (GMT)
Cleanup: Remove most of "#ifdef WITH_GEOMETRY_NODES"

The ones around the simulation datablock are still there, since they are not
needed for the features planned for master yet.
November 17, 2020, 23:31 (GMT)
Remove Point Cloud object from experimental

The point cloud object is the only one that will support instancing at
first. So we can expose it as a regular object.

It is limited since it has no edit mode. But this is not different than
the volume object.
November 17, 2020, 23:30 (GMT)
Remove Geometry Nodes Editor from experimental

As part of preparing this work for master, with an initial subset of
working functionalities the Geometry Nodes Editor can be exposed for
everyone.

(it also helps people that are testing the branch)
November 16, 2020, 17:03 (GMT)
Merge branch 'master' into geometry-nodes
November 16, 2020, 12:48 (GMT)
Geometry Nodes: simplify GeometrySet ownership handling

Previously, GeometrySets and GeometryComponents has reference
counters and could be shared. This commit changes it so that
only GeometryComponents are shared. A GeometrySet is a fairly
small type that is cheap to copy.

A lot of code simplifies when we can assume that GeometrySet
is cheap to copy.
November 16, 2020, 11:07 (GMT)
Geometry Nodes: Move GeometrySet classes to global namespace

Brecht and I decided to move the GeometrySet classes
to the global namespace for now. This way we can use
the same type in C and C++ and don't have to use
reinterpret_cast as often.
November 16, 2020, 10:49 (GMT)
Merge branch 'master' into geometry-nodes
November 15, 2020, 01:09 (GMT)
Geometry Nodes: Improve node group output modifier error

More than output for the modifier's node group is fine, because the
node group may be used in other situations, but the modifier will
not work if there is no geometry output socket.
November 14, 2020, 20:17 (GMT)
Merge branch 'master' into geometry-nodes
November 14, 2020, 00:51 (GMT)
Empty Modifier: Fix build and put in the right order

Bypassing the macro that creates modifiers to allow the enum to be
referring to the Empty modifier, but the internal struct in the code to
be Nodes.

Also fix the name of the new created modifiers to be "Empty".

Fix was built with rBb458ea6b23381a9acb90dbbd73ced678e1d404c5.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021