Replies: 1 comment 1 reply
-
I presented some ideas here that I think could be relevant. If we imagine that the changes I recommend in After that things get trickier. I'm just learning the |
Beta Was this translation helpful? Give feedback.
-
For a 3d modeling app I have different data types like
Solid
,Surface
,Curve
. Now I want to have some nodes for 3d transformations like translation, rotation and scaling. These nodes should accept one input which can have data type ofSolid
,Surface
orCurve
. And the output data type will be the same. Now I am wondering how something like that could be implemented.Maybe having inputs / outputs for each data type, but after user has connected an input (or output), disable all the other inputs / outputs which have different data type.
Or having only one input / output which accepts several data types ? But that would require changes at the egui_node_graph library itself.
Or use separate transformation nodes for each data type ? That is easy to implement but confusing to the user (lots of different nodes for the same operation).
Maybe somebody has ran into the same issue and come up with a smart approach how to handle this.
Beta Was this translation helpful? Give feedback.
All reactions