Jump to content

Is VEX geometry creation multi-threaded?


magneto

Recommended Posts

It's parallel with batches of certain size of points (I don't know how big they have to be). So if you are going to generate geometry using attribute wrangle in detail mode, then no matter how complex your geometry is going to be, it will be serial.

  • Like 1
Link to comment
Share on other sites

Thanks kgoossens, that was also my assumption about the Detail mode. I am not sure about the other cases though. Where did you get the information it's parallel though?

The detail mode is interesting but I also found that there was no way to set the attributes on these new points in the same Wrangle SOP. Did you perhaps do anything on that area? :)

Link to comment
Share on other sites

For the variable you need to use the addvariablename function.


void addvariablename(string aname, string vname)
[/CODE]

VEX executes on elements in pages of 1024. So everything below that won't be multithreaded.

I think this is only true for editing existing geometry and not for creating new geometry.

Edited by dennis.weil
  • Like 1
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...