Jump to content

Creating geo nodes with vex/python


hampuseh

Recommended Posts

Greetings!
I have a asset that generates trees. I can choose how many different variations of the tree I want based on the parameters on the asset.

So lets assume I have 3 different variations of this tree: oak1, oak2, oak3.

My question is, how would I be able to create 3 geometry nodes(amount is based on # of variations) with a object merge inside each that is linking to one each of the oak instances with python.

So lets say, this script would require me to direct it to the source where I have the variations of the tree and then create geometry nodes with a object merge based on the amount of variations. 

These geometry nodes will of course be outside of the asset source.

Sorry if it doesn't make much sense.

Cheers

Link to comment
Share on other sites

I'm not sure if you can create nodes, with vex, but you can with python. Here is a link to a script that scans a folder for images, creates a plane and assigns a material that points to the image. Maybe you can review it for tips on how to proceed.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...