SketchUp object scattering

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

SketchUp object scattering

Post by OnoSendai » Tue Aug 05, 2014 12:17 am

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!
Attachments
scatter_editor.PNG
figure.png

Voytech
Posts: 236
Joined: Thu Oct 06, 2011 8:57 am

Re: SketchUp object scattering

Post by Voytech » Tue Aug 05, 2014 12:20 am

How about random orientation, size (with limits), and something that for lack of other words I would call clumping.

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SketchUp object scattering

Post by OnoSendai » Tue Aug 05, 2014 12:21 am

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).

User avatar
Zom-B
1st Place 100
Posts: 4642
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: SketchUp object scattering

Post by Zom-B » Tue Aug 05, 2014 12:42 am

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 :/
polygonmanufaktur.de

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: SketchUp object scattering

Post by bubs » Tue Aug 05, 2014 12:59 am

:D

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SketchUp object scattering

Post by OnoSendai » Tue Aug 05, 2014 1:32 am

testing two scatters:

Scene export time is 0.06 s :)

Total number of objects is about 10000.
Attachments
two_scatters.PNG
box crowd.png

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: SketchUp object scattering

Post by bubs » Tue Aug 05, 2014 1:39 am

:D :D

User avatar
Zom-B
1st Place 100
Posts: 4642
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: SketchUp object scattering

Post by Zom-B » Tue Aug 05, 2014 1:46 am

OnoSendai wrote:Total number of objects is about 10000.
Sweet! Now without coliding objects, and you are my hero ;)
polygonmanufaktur.de

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SketchUp object scattering

Post by OnoSendai » Tue Aug 05, 2014 2:04 am

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.

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SketchUp object scattering

Post by OnoSendai » Tue Aug 05, 2014 9:43 am

Very basic support added to SkIndigo here: http://www.indigorenderer.com/forum/vie ... 50#p128250

User avatar
Whaat
Developer
Posts: 1824
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Re: SketchUp object scattering

Post by Whaat » Wed Aug 06, 2014 6:16 am

Nice job ono!

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SketchUp object scattering

Post by OnoSendai » Fri Aug 08, 2014 12:53 am

Testing some scale variation :)
Attachments
teapot scaling tests.png

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SketchUp object scattering

Post by OnoSendai » Fri Aug 08, 2014 1:37 am

Scale variation in a SketchUp scene:
Attachments
box scale variation.png

User avatar
Pibuz
1st Place 100
Posts: 2644
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: SketchUp object scattering

Post by Pibuz » Fri Aug 08, 2014 1:58 am

A puzzling problem for susan :lol:
Wonderful work ono, thanks.

User avatar
Oscar J
1st Place Winner
Posts: 2169
Joined: Sat Mar 31, 2012 3:47 am
Location: Gothenburg, Sweden
3D Software: Blender

Re: SketchUp object scattering

Post by Oscar J » Fri Aug 08, 2014 2:04 am

Looks kinda scary. Clones of Mrs Average are taking over!

Post Reply
42 posts

Who is online

Users browsing this forum: No registered users and 0 guests