Ticket #77 (closed enhancement: duplicate)

Opened 1 year ago

Last modified 10 months ago

Evaluate Scenegraph Nodes...

Reported by: clayasaurus Assigned to: clayasaurus
Priority: major Milestone: 0.3
Component: scenegraph Version: svn
Keywords: Cc: ChristianK

Description

I don't see why sg nodes can't be structured like

Node

  • child array
  • data object

Just make every node hold an array of children.

Change History

07/13/07 06:09:23 changed by ChristianK

  • cc set to ChristianK.

Some nodes can have multiple parents, some nodes have no children.

I'd be possible to do away with the multiple-parent nodes simply by having the user duplicate them every time they're added to the tree. That'd arguably make things a bit simpler and consume a bit more memory.

It just makes no sense for some nodes to be allowed children. What does it mean for a node to be a child of a Frame, for instance?

Finally, I had to make the group/children functionality pretty abstract, as I needed to allow for Composite nodes. I'm not quite happy with them (as they're a bit unintuitive), but have yet to come up with a better concept.

07/13/07 06:13:20 changed by ChristianK

  • component changed from unspecified to scenegraph.

07/16/07 19:48:38 changed by clayasaurus

  • milestone changed from 0.2 to 0.3.

Should be a v.3 issue.

10/01/07 11:14:08 changed by ChristianK

  • status changed from new to closed.
  • resolution set to duplicate.

Duplicate of #8