Jump to content

Export particles sim to PFX


Anti-Distinctlyminty

Recommended Posts

Hi all,

I've been trying and failing for two days to get the results of a particle sim into another package. The particle cache format is documented here:

http://forums.newtek.com/showthread.php?129146-fcache-specification&p=1255059&viewfull=1#post1255059

The format is roughly:

Header Data
Particle Header Data
	Particle Position at Frame 1
	Particle Position at Frame 2
	...
	Particle Position at Frame n

As you can see the format requires data for each particle to be in sequence, which is an issue, as at each frame I can iterate over the points, but I cannot possibly know how many frames each particle lives for at some random frame.

Does anyone have any ideas on how to do this? I've tried using a shuffle CHOP to rearrange the data, but it's just too slow to be useful. 

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