Jump to content

Custom Particle System in SOPs


Recommended Posts

Hey guys!

I'm trying to learn the HDK by adapting the SOP_SParticle example so that I can extract points from the gdp, append them to an STL vector class I have (in the cookMySOP function) and then update them to get a basic particle system behaviour. However things are crash-city at the moment and it seems to seg-fault for no reason!

Anyone care to give me some info/advice on how to use GEO_PrimParticle or have some simple code they can share please?

Cheers

Dan

Link to comment
Share on other sites

  • 2 weeks later...
Guest xionmark

Hi Dan,

It would help to look at your source code because there are so many places that things can go wrong it's hard to give advice on what might be happening.

Mark

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