0
$\begingroup$

I am having an issue with geometry nodes, where if I take a base curve and then link that curve into the points of an Instance On Points node that I would be spawning on it, call them tree branches, and then take a duplicate of those tree branches and plug their last Set Position node before going into their Instance on Points into the sub branch Instance on Points in the Points slot, the sub branches seem to spawn in world space or something and are not spawned upon the branch system. I have tried adding a Realize Instances node and then linking it to a Set Position node and which I linked from the main branches Instances on Point node and then plugged into the Join Geometry node and then linked that Set Position going into the Join Geometry node into the sub branches Instances on Points and it put them where they should spawn, but their settings were restricted to being revolved around the Curve Circle node of the branch system rather than the Resample Curve node and so they did not spawn very well and were not very adjustable, if anyone has any ideas on how I could fix this issue i would greatly appreciate it. enter image description here

https://www.dropbox.com/scl/fi/htvpth3670ufy5tzt6ccb/GeometryNodeIssue.blend?rlkey=1xbi6zo45sg0enjdzcbs8tiii&st=60f7rkqk&dl=0

here is a link to the file if anyone wants to have a poke at it.

$\endgroup$

1 Answer 1

0
$\begingroup$

Your node setup is a bit complex to get a real overview without knowing why you did something the way it is, but anyway: The long branches in your screenshot do not "spawn in world space".

If you disable the Instance on Points nodes which generates them, you can see the curve object on which they are instanced:

spawning curve

So the points on which you instance come from a single curve, and if you follow the connection plugged into the Points input of the Instance on Points node you will find it gets the geometry from a Capture Attribute node, which gets its geometry a Curve Line node: a single curve line. Everything works fine just exactly as you have set it up.

curve line origin

If you want them to spawn somewhere else, you have to plug in the geometry on which you want the instances to be spawned. My guess would be, you want to connect these two:

instance on instances

$\endgroup$
2
  • $\begingroup$ I really do appreciate you having such an in depth look at the file, the theory that I took from came from this tutorial: youtube.com/watch?v=9NkMkYVz7bw&t=1262s and when I went I linked the main branch system Instance On Points into the Sub Branch system Points slot in Instance on Points, the sub branches spawned then on the right area, but the data from the curve radius node from the main branch system is where they were spawning off of rather than from a Resample Curve node to control their behavior and made it so they did not spawn very well and I had no control over them $\endgroup$ Commented Apr 25 at 6:47
  • $\begingroup$ Ran out of room, but I do really appreciate you having a look at the file and going out of your way to do so $\endgroup$ Commented Apr 25 at 6:47

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.