Chaos Corona Forum

General Category => General CG Discussion => Topic started by: Luke on 2020-05-11, 06:12:07

Title: Help filling large (1m x 1m x 1m) with small cabon pellets
Post by: Luke on 2020-05-11, 06:12:07
I need to create the geometry for a large box filled with small carbon pellets.
I've tried a few pflow tutorials but it seems that the number of pellets required to fill the box is too large...

does anyone have any other suggestions?

any help would be greatly appreciated.

Thanks.
Title: Re: Help filling large (1m x 1m x 1m) with small cabon pellets
Post by: aaouviz on 2020-05-11, 09:32:06
I'd recommend testing out TyFlow
Title: Re: Help filling large (1m x 1m x 1m) with small cabon pellets
Post by: romullus on 2020-05-11, 10:05:46
If the box isn't transparent or see through, then you don't have to fill it all with pellets, Add some filler geometry inside the box (a simple plane might do) and pour the pellets on it. You don't even have to cover it completely if you assign matching texture on the filler plane, no one will ever notice that. If you won't render pellets from very close and you don't mind them penetrating each other, then good alternative is to utilise Corona scatter for this - you would get better render times and much lower RAM consumption.
Title: Re: Help filling large (1m x 1m x 1m) with small cabon pellets
Post by: Luke on 2020-05-11, 11:11:36
Thansk for the responses... unfortunately the box geometry fades in opacity as smoke rises through the pellets in an animation...
Title: Re: Help filling large (1m x 1m x 1m) with small cabon pellets
Post by: romullus on 2020-05-11, 11:26:37
You can still use filler geometry, just not the plane, but smaller box, so the pellets would cover it from all sides.
Title: Re: Help filling large (1m x 1m x 1m) with small cabon pellets
Post by: Luke on 2020-05-11, 11:28:21
sorry mate, i'm not following you? can you ellaborate more?

much appreciated. ;)
Title: Re: Help filling large (1m x 1m x 1m) with small cabon pellets
Post by: romullus on 2020-05-11, 12:17:20
This.
Title: Re: Help filling large (1m x 1m x 1m) with small cabon pellets
Post by: Luke on 2020-05-11, 12:37:24
ah cool - does corona scatter work in 3 dimensions? or just on a plane?
Title: Re: Help filling large (1m x 1m x 1m) with small cabon pellets
Post by: TomG on 2020-05-11, 14:38:09
Scatter works on a surface - for things like this, some physical simulation is best as mentioned, like TyFlow, or phy sim in Max, where you let the objects "fall into place with gravity and collisions"

(The filler object helps you avoid having to have quite so many objects to fill up the space, simplifying your physical simulation :) )
Title: Re: Help filling large (1m x 1m x 1m) with small cabon pellets
Post by: romullus on 2020-05-11, 14:46:35
Corona scatter has a mode to fill the bounding box volume, so if you don't mind penetration between pellets, it can be viable alternative. It also has "avoid collisions" option, so you can fine tune scattering.

Edit: also have in mind that filler box is needed only if you choose particle driven solution. With Corona scatter there's virtually no limit for number of scattered objects.
Title: Re: Help filling large (1m x 1m x 1m) with small cabon pellets
Post by: TomG on 2020-05-11, 14:47:52
Oh that's true - if this is indeed a simple box, then that would work :)