Page 1 of 3

SketchUp object scattering

Posted: Tue Aug 05, 2014 12:17 am
by OnoSendai
Hi everyone,
I'm working on a scattering tool for SkIndigo. The idea is be able to scatter objects over another object, for example clumps of grass over a ground plane, or scattering people to make a crowd.

As you may know Indigo has supported such scattering for a little while, but we're still working on exporter support.

The nice thing about this technique is that as the scattering is done inside Indigo, the scene file stays very small, the export time stays nice and fast, and the scene startup time is fast. Of course instancing is used inside Indigo, so the memory usage is low.

Here are some images from what I have so far:

Ideas and feedback welcome!

Re: SketchUp object scattering

Posted: Tue Aug 05, 2014 12:20 am
by Voytech
How about random orientation, size (with limits), and something that for lack of other words I would call clumping.

Re: SketchUp object scattering

Posted: Tue Aug 05, 2014 12:21 am
by OnoSendai
Voytech wrote:How about random orientation, size (with limits), and something that for lack of other words I would call clumping.
Orientation is already random.

As for the size, I think i will add a setting for the standard deviation (variation in size).

Re: SketchUp object scattering

Posted: Tue Aug 05, 2014 12:42 am
by Zom-B
That looks great, keep it up!
Would be nice to see some Indigo scattering in other Apps too, since internal solutions are often slow and have a limit regarding performance. Exporting 15minutes to fill a area with grass suxx!

Other PlugIns are more powerful, but do often cost extra :/

Re: SketchUp object scattering

Posted: Tue Aug 05, 2014 12:59 am
by bubs
:D

Re: SketchUp object scattering

Posted: Tue Aug 05, 2014 1:32 am
by OnoSendai
testing two scatters:

Scene export time is 0.06 s :)

Total number of objects is about 10000.

Re: SketchUp object scattering

Posted: Tue Aug 05, 2014 1:39 am
by bubs
:D :D

Re: SketchUp object scattering

Posted: Tue Aug 05, 2014 1:46 am
by Zom-B
OnoSendai wrote:Total number of objects is about 10000.
Sweet! Now without coliding objects, and you are my hero ;)

Re: SketchUp object scattering

Posted: Tue Aug 05, 2014 2:04 am
by OnoSendai
Zom-B wrote:
OnoSendai wrote:Total number of objects is about 10000.
Sweet! Now without coliding objects, and you are my hero ;)
ha :)
What is going on here is two different scatters.
To achieve non-collision, a single scatter will need to be able to pick from amongst a set of objects to scatter. This isn't supported yet.

Re: SketchUp object scattering

Posted: Tue Aug 05, 2014 9:43 am
by OnoSendai
Very basic support added to SkIndigo here: http://www.indigorenderer.com/forum/vie ... 50#p128250

Re: SketchUp object scattering

Posted: Wed Aug 06, 2014 6:16 am
by Whaat
Nice job ono!

Re: SketchUp object scattering

Posted: Fri Aug 08, 2014 12:53 am
by OnoSendai
Testing some scale variation :)

Re: SketchUp object scattering

Posted: Fri Aug 08, 2014 1:37 am
by OnoSendai
Scale variation in a SketchUp scene:

Re: SketchUp object scattering

Posted: Fri Aug 08, 2014 1:58 am
by Pibuz
A puzzling problem for susan :lol:
Wonderful work ono, thanks.

Re: SketchUp object scattering

Posted: Fri Aug 08, 2014 2:04 am
by Oscar J
Looks kinda scary. Clones of Mrs Average are taking over!