Jump to content

particles and debri geo


nFrame

Recommended Posts

Hey Guys,

I've been running through the cmivfx houdini debri system tutorial, and have found myself stuck. I'm trying to figure out how to use the exported bgeo sequence for my particle debri. I've got the instancing setup, but can't get passed all the particles getting the same bgeo/$F, and cycling through the sequence. I've tried to follow the expression he uses, but his broken english is really making it really difficult to understand along with my inexperience. Does anyone mind explaining the expression in more understandable terms? or have any other tips for this?

Thanks!

Link to comment
Share on other sites

  • 1 month later...

use the stamp function.

$HIP/debri_

`floor(fit01(rand(stamp("../copy1",i,0)),0,maxNumberOfDebriPiecesYouHave))

`.bgeo

that is the function you need to use in the file sop.

"i" is the variable you created in the copy node with a value of $ID.

and don't forget to turn on stamp

copies in the copy node.

that should do what you want.

If you ever are not sure if a stamp works or not, simply create a font node, use your stamp expression as text of the font and run it through the copy node.

then the result of your stamp expression will be the text of the font and should be different for each copy.

Hope that helps,

Juri

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