Generate 3D Point grid strange behaviour

Discussions about SOFTIMAGEs© Interactive Creative Environment©
Post Reply
Victorcg
Posts: 91
Joined: 26 Jun 2009, 10:59

Generate 3D Point grid strange behaviour

Post by Victorcg » 06 Oct 2012, 14:54

Hello all.
When I generate 3D Point grid each frame in Simulation stack, it increments its position on Z axis each frame. Why?
Thank You.

iamVFX
Posts: 697
Joined: 24 Sep 2010, 18:28

Re: Generate 3D Point grid strange behaviour

Post by iamVFX » 06 Oct 2012, 15:54

Because the compound works with array of points which are created and moved by "Set Point Position" each frame. Use "Filter if Emitted" compound if you want to create simulated point cloud once.
Attachments
Filter if Emitted.xsicompound
(5.77 KiB) Downloaded 91 times

User avatar
Mr.Core
Posts: 148
Joined: 10 Aug 2011, 12:35
Skype: giga-core
Location: Kharkov, Ukraine

Re: Generate 3D Point grid strange behaviour

Post by Mr.Core » 06 Oct 2012, 17:09

The problem is that "generate 3D Grid compound" uses pointID for placing points on the axes, so the solution is simply - place the modulo by count of generated points on branch where Z-placement happens to ignore previous generated points ( which perform this weird offset )
Attachments
1349528120-clip-126kb.jpg

Victorcg
Posts: 91
Joined: 26 Jun 2009, 10:59

Re: Generate 3D Point grid strange behaviour

Post by Victorcg » 06 Oct 2012, 19:19

Thank You for help. I've used he second one. It works!

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests