Generate 3D Point grid strange behaviour

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

Generate 3D Point grid strange behaviour

Post by Victorcg » 06 Oct 2012, 12: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, 16:28

Re: Generate 3D Point grid strange behaviour

Post by iamVFX » 06 Oct 2012, 13: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.
You do not have the required permissions to view the files attached to this post.

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

Re: Generate 3D Point grid strange behaviour

Post by Mr.Core » 06 Oct 2012, 15: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 )
You do not have the required permissions to view the files attached to this post.

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

Re: Generate 3D Point grid strange behaviour

Post by Victorcg » 06 Oct 2012, 17:19

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