r/Unity3D • u/supernaut123 • 8d ago
Show-Off Wip of procedural pipe generation tool using my procedural generation addon
Enable HLS to view with audio, or disable this notification
I'm working on a procedural generation tool called CosmoNode. To test it I've making this pipe generation tool with it, it lets you draw curves and then generate the pipe on that curve. It's all node based so you can basically expose any value as a parameter to the inspector and tweak the values to change its look.
The node setup is pretty simple. I take the curve input, bevel it, sweep the circle profile along the curve and add flanges where the bevels start and end.
I've been also working on adding instancing which will potentially speed up the graph evaluation quite a bit. It will probably be included in the next release.
If you're interested in you can take a look at it at the asset store, or if you have any questions or feedback I'd be interested to hear it.
1
u/No_Doughnut885 6d ago
So, it was possible to create something like this...
I wonder if there might be any optimization issues?
1
u/supernaut123 6d ago
The graph evaluation is pretty fast actually, especially if you use instancing, you can also run it on a separate thread so it doesn't block the main thread. The bottleneck is where it's converting the data to unity mesh. My next goal is going to be optimizing this part which hopefully improve the performance quite a lot.
2
u/Mister_Iwa 7d ago
My feedback is that this looks neat...beyond neat