Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5612 / 8462

March 12, 2014, 13:39 (GMT)
Start of experimental code for building depsgraph

Currently there's nothing here except for some includes and an entrypoint
for the building process, starting from scene. Aim here is to start working
on implementing this stuff to clarify a bit design issues of main API and
datatypes, as any difficulties encountered during this process will end up
revealing problem areas in the design (as well as giving us a more solid
technical grounding when looking at things)
March 12, 2014, 13:39 (GMT)
Add defines for "time source"

Time source node + time source relationships are used to indicate
things which should be changed when frame changes (e.g. animation
needs to be run, certain modifiers should be updated, etc.)
March 12, 2014, 13:39 (GMT)
Fleshing out Group Node, ID Node + A mid-level "data" node

* The "data" nodes are mid-level, and intended to sit between ID/Group
"outer" nodes (i.e. optimisation and grouping nodes) and "inner nodes"
to make it easier to query for stuff like bone-deps. They are only used
since we'd be creating them in the meantime anyways.

Then again, these may still go away later, if this just makes things too
hard...

* TODO: some avenue for "dependency injection" within groups is needed
for things like IK Trees being built with different sizes...
March 12, 2014, 13:39 (GMT)
Added some commnets to clarify the role of some of the relationship types
March 12, 2014, 13:39 (GMT)
First pass at connecting links to nodes

* Nodes store ref-lists to the DepsRelation link data stored in a buffer
on toplevel of the graph.
* Also, added member to DepsNode for tracking the number of inlink nodes
which still have yet to be evaluated...
March 12, 2014, 13:39 (GMT)
First attempt at a datatype to represent relationships (i.e. node links)

* We need a way of sharing relations between the nodes which use it. The
current design assumes that one link is shared between the two nodes
which use it. Saves mem but induces higher traversal cost?
* The relationship types enum is used to provide additional metadata about
a link, specifically, if the type of data we're interested in reside there
March 12, 2014, 13:39 (GMT)
Rename "nodedata" members to "nd" (as per modifiers, for less typing)
March 12, 2014, 13:39 (GMT)
Fix naming of "color" flags which still referred to DAG
March 12, 2014, 13:39 (GMT)
Sketch of datatypes for holding evaluation state/defining node types...
March 12, 2014, 13:39 (GMT)
Placeholder stubs in file for core depsgraph stuff
March 12, 2014, 13:39 (GMT)
General tweaks to make the purpose of the depsgraph_types.h file's purpose clearer
March 12, 2014, 13:39 (GMT)
Atomic Operation Node - First Pass

This is the first attempt a creating a "AtomicOperation" inner node type.
* The arguments used for the callback are still undecided
* Currently it uses an RNA Pointer to refer to the data that's being used,
which will later be used helping to figure out what the node is for...
March 12, 2014, 13:39 (GMT)
Stub for ID-Group node - Nothing here yet...
March 12, 2014, 13:39 (GMT)
Despgraph object itself - Noted some speculative features it needs to have

Namely, some "instance_data" datastore, which is used to store evaluation
state/context info which is used as part of multithreaded/threadsafe
evaluation of subgraphs...
March 12, 2014, 13:39 (GMT)
Code reshuffling and more fleshing out of core types
March 12, 2014, 13:39 (GMT)
Move all C-code to "depsgraph" module

This makes it easier to grab all the code and dump it in any appropriate
directory in the main Blender source code as needed later. It's not clear
yet though which directory exactly these will go to (or whether this will
need to end up as a separate module, or just mixed into blenkernel, since
there will be many cross-references between the two).
March 12, 2014, 12:04 (GMT)
OSX/bullet: i have to use -O0 again, else weird bullet behaviour comes back.
I overlooked in cmake my fix same time changed the optimization level to 0,
so not use optimization is the real fix ( postponed for after 2.70 ).
I appears we should investigate scons anyway: compileflags does not apply to c and c++ same time as expected.
March 12, 2014, 11:56 (GMT)
UI: allow passing "" for icon only enum buttons and still get an icon

Enum icon-only buttons were getting their strings set,
then truncated with blenders string shortening methods, then not drawn
because there was no room (since buttons are icon width).

Modify UI code so icon-only buttons don't get names and passing "" to a
button won't have its text set later on.
March 12, 2014, 11:54 (GMT)
Code cleanup: UI - de-duplicate menu/row/listrow enum logic
March 12, 2014, 10:54 (GMT)
Fix for particle edit mode using wrong pixel distances.

rB57dba739176153e052d77611ff0e554f05984686 unified pixel distance values
but omitted a factor 100 for particle edit.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021