?I've got "scene nodes", each node has an "attribute list" which stores all the important data for that node(type could be, float1/2/3/4, quaternion, int, an array of these, and TODO: link to other nodes and/or attributes).
?1) Create a class that inherits form INode.
?5) Tadaaa, you can not create node of that type in the scene.
?I want to create a simple spline with multiple points, lets say for example, that I want a path and I'm going to assign a unit to patrol along it.
?So I follow the steps above, and I got a node. Now is the that for me to able to modify the curve in the viewport:
?I need to be able to select the control points of the curve, move them around and create new points. The problem that I have is that my manipulation tools (move, rotate, scale, select) only work on nodes! The points that are used by the spline aren't nodes, they are just data stored in the node!
The Question is:
?The quickest solution is to make every point a different node, and make the spline point at these nodes... I do not like this solution as it introduces too many nodes for something as simple as Float3.
?Maya has the concept of tools. By using a tool Maya enters a specific regime where you can only manipulate things that are *selectable* by the tool. For example when you are in a polygon edit mode you cannot select polygons and other scene object simultaneously.
"select -r curve1.cv[4] ;" Which technically means that In Maya you can select Attributes!?!?!?!?
?I have the same concept of tools, but they can only select nodes, so I'm far far away from what Maya has.
?Do you have any experience writing similar tools?