Jump to content

Carve with local variables?


Recommended Posts

Hello guys!

I´m trying to use expression "rand($PR+$FF)" on "Second U" parameter, but i discovered that Carve node has no local variables as $PR (it´s a bug?)

inspecting details node by node (with middle mouse button), i found that carve node has not preserving primitive group elements.

in my scene in /geo/animation:

object_merge1 has 27 primitives in copyGroup0

color1 has 27 primitives in copyGroup0

but... carve3 has 0 primitives in copyGroup0 (to insect i need disable "Second U" parameter to node cook correctly and i see cook result details)

what i need is use $PR to randomize each primitive (curves) diferently.

how can i do it? Workarounds? I seeking to use foreach alternativaly, but with no success.

Help guys, i´m newbie on Houdini... i´m migrating from XSI ICE.

thanks in advance, my example file attached.

Link to comment
Share on other sites

Guest mantragora

Use it with together copySop and stamp() expression. If you don't know how to use copySOP there are tutorials from PeterQuint and Sesi that covers that. Also, there are multiple examples here on odforce too.

Looking at help page of carveSOP it looks that it doesn't support any local variables.

Your file is not attached.

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...