Weird pointcloud instancing issue

Discussions about SOFTIMAGEs© Interactive Creative Environment©
arda3d
Posts: 12
Joined: 16 Aug 2011, 08:51

Weird pointcloud instancing issue

Post by arda3d » 21 Nov 2013, 19:36

Hi all,

I have a popping bubbles pc setup. It has a age limit variation inside. I am caching that pc to use it as instances on another pc. Instancing is ok and getting the right animation also, but there is a dying issue on instances. Particles are not dying properly, there happens a flicker before they die.

BTW if i don't add any age limit variation to instance everything is ok.

Any solutions for this? ( I am using 2013 sp1)

Cheers.

NNois
Posts: 754
Joined: 09 Jun 2009, 18:33

Re: Weird pointcloud instancing issue

Post by NNois » 21 Nov 2013, 20:32

just don't know but in my mind you could try

- doing your dying stuff in the secondary animation region, just generate the classic particle life time in your simulation but don't kill the particles. Do that in a non simulated region.

- maybe a size=0 vs removing the particle could work...

arda3d
Posts: 12
Joined: 16 Aug 2011, 08:51

Re: Weird pointcloud instancing issue

Post by arda3d » 21 Nov 2013, 20:41

Thanks for reply, i will give a try both of your suggestions. :ympeace:

arda3d
Posts: 12
Joined: 16 Aug 2011, 08:51

Re: Weird pointcloud instancing issue

Post by arda3d » 21 Nov 2013, 20:59

Dying or deleting the particles are not the right ways i think... Setting size to zero at the en of the age is solving the problem however...

NNois
Posts: 754
Joined: 09 Jun 2009, 18:33

Re: Weird pointcloud instancing issue

Post by NNois » 21 Nov 2013, 22:05

most of the time, deleting particles, even in a cached sim it's ok.
Maybe your popping issues are only in the rendered sequences ? motion blur ?

arda3d
Posts: 12
Joined: 16 Aug 2011, 08:51

Re: Weird pointcloud instancing issue

Post by arda3d » 22 Nov 2013, 07:58

Actually it is in the viewport... :|

NNois
Posts: 754
Joined: 09 Jun 2009, 18:33

Re: Weird pointcloud instancing issue

Post by NNois » 22 Nov 2013, 09:16

so if you move the "deleting" part of your tree in the post simulation (or better after the read cache pointcloud), is particles continue popping ?

also how are you caching this ?

arda3d
Posts: 12
Joined: 16 Aug 2011, 08:51

Re: Weird pointcloud instancing issue

Post by arda3d » 22 Nov 2013, 09:39

I tried both cache of file and cache manager in icecache format. Nothing changes. Also putting the delete particles at age limit on post simulation doesn't help, in fact it gets worst.

arda3d
Posts: 12
Joined: 16 Aug 2011, 08:51

Re: Weird pointcloud instancing issue

Post by arda3d » 22 Nov 2013, 15:06

Also on main pointcloud that i use instance pc's , i couldn't get the color data correctly. In viewport it is ok but when it comes to render ,can't get anything. Is it possible to transfer color attribute on instances into main pointcloud? :-?

NNois
Posts: 754
Joined: 09 Jun 2009, 18:33

Re: Weird pointcloud instancing issue

Post by NNois » 22 Nov 2013, 21:58

hi,
Did you already get the attribute in the render tree (shader) ?

If not just use the color attribute node to pass the particle color to the instance in the render tree

PS: If yes, in some case it could be an ice evaluation optimisation problem. But i suspect that is not your case because you speak about viewport, who never display ice attributes color used in the render tree on the viewporthttp://xsisupport.com/2013/07/04/workar ... mizations/.

arda3d
Posts: 12
Joined: 16 Aug 2011, 08:51

Re: Weird pointcloud instancing issue

Post by arda3d » 23 Nov 2013, 12:29

On instance pc everything is ok, i can easily get the color attribute, but when i put that instances into another pc i loose their color values...

I looked the page you sent, i forced an extracolor attribute then used it on cached instances , same same same...