Wanted: Scatter presets

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Wanted: Scatter presets

Post by OnoSendai » Wed Aug 13, 2014 2:23 am

Hi All,
We plan to add some scattering presets for the SkIndigo scattering: http://www.indigorenderer.com/forum/vie ... 17&t=13175

It will work a little bit like the material presets - you click 'add preset' in the SkIndigo scatter settings, and a gallery of scattering images is displayed in a dialog, you pick one, then the components and settings for that scatter are loaded into the scene.

So we need some Sketchup components for presets.

A single preset would consist of
* One or more SketchUp components (saved as .skp) files.
* scatter settings (density, evenness, height variation etc..)

So for example, to make a grass scattering preset, we would need a few grass clump components, and maybe a flower component or two.


Detailed requirements:
* Components should be saved in SketchUp 8 format for compatibility reasons.
* Component models and materials should be high quality, and optimised for scattering.
File size should probably be <= 5MB.
* Authors must be happy with licensing their components under a creative commons licence: http://opensource.org/licenses/bsd-license.php



If anyone would be willing to contribute some components for this, that would be awesome.
There will probably be a period of testing and feedback for the scattering presets, where we work out good file size guidelines, settings etc.., but we may as well get started now :)

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

Re: Wanted: Scatter presets

Post by Oscar J » Wed Aug 13, 2014 2:39 am

A sketchup only feature? :(

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: Wanted: Scatter presets

Post by OnoSendai » Wed Aug 13, 2014 2:49 am

Oscar J wrote:A sketchup only feature? :(
Well, SketchUp models can be exported to Indigo format (of course), so can be used by other exporters.

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

Re: Wanted: Scatter presets

Post by Zom-B » Wed Aug 13, 2014 2:52 am

Oscar J wrote:A sketchup only feature? :(
The drawback of maintaining multiple tailored exporters is that much work is needed to maintain them, and features often can't be simply "recycled" for other exporters...

But Oscar has as a point here, why bother in creating sketchup based presets, please consider PIGS based presets, that could be shared easily over multiple 3D apps, once scattering is supported there!
polygonmanufaktur.de

ak-sam
Posts: 84
Joined: Mon Jun 18, 2012 11:48 am
Location: Auckland, New Zealand

Re: Wanted: Scatter presets

Post by ak-sam » Wed Aug 13, 2014 10:37 am

I'll get to work on some..!

I guess the dandelion is too detailed?
I can do some basic weeds, buttercups, clover, etc.

Thinking about grass types (from my temperate climate region, anyway):
Lawn
Pasture (rough, more large weeds)
Meadow (longer grass, more flowery)
Muddy grass (for hillsides and damp areas, some fallen leaves)
Fairway (near perfect)
Savannah (long wavy grass, more brown)
[artificial is OK with a material]

Other common ground cover types:
Dirt (soil with small stones and twigs)
Bark mulch
Beach (sand with shells, a little driftwood, etc
Riverbed (stones with larger stones, algae/moss, twigs)
Autumn (fallen leaves, acorns, beavers)
Skindigo on 1x 6950x, 1x3970x, 6x3930k, 2x4930k, 3x5930k

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: Wanted: Scatter presets

Post by OnoSendai » Wed Aug 13, 2014 11:35 am

ak-sam: Awesome, any contribution is much appreciated.
The dandelion was SketchUp 2014 right?
Any chance you can use SketchUp 8?

Dandelion is *maybe* too complicated, would have to do some rendering speed tests to say for sure.

Edit: 'beavers', heh :)

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: Wanted: Scatter presets

Post by OnoSendai » Wed Aug 13, 2014 11:37 am

Zom-B wrote:
Oscar J wrote:A sketchup only feature? :(
The drawback of maintaining multiple tailored exporters is that much work is needed to maintain them, and features often can't be simply "recycled" for other exporters...

But Oscar has as a point here, why bother in creating sketchup based presets, please consider PIGS based presets, that could be shared easily over multiple 3D apps, once scattering is supported there!
It's difficult enough doing scatter presets for one exporter, as opposed to all at once. Let's start with sketchup and see how it goes.

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: Wanted: Scatter presets

Post by OnoSendai » Wed Aug 13, 2014 11:38 am

Also if anyone wants to supply models in OBJ format (with materials in Indigo format, or just textures) that would be helpful as well!

ak-sam
Posts: 84
Joined: Mon Jun 18, 2012 11:48 am
Location: Auckland, New Zealand

Re: Wanted: Scatter presets

Post by ak-sam » Wed Aug 13, 2014 12:52 pm

Clovers are attached - just a couple of simple ones for scattering, but maybe still too detailed?
I will work on a proper scattered Lawn or something. I think it will need 5 or 6 component types to make a realistic lawn. The Clumps must be small (a few blades) otherwise the centres scatter them across edges of paving etc.
The blades have to have enough curves so that we don't see a flat reflection (looks like white spots) - but can this be prevented by a material setting? I generally use Phong for leaves but maybe that is not ideal?

I'm happy to convert any files if people don't have sketchup pro. (can do OBJ as well).
Sams Clover.jpg
Attachments
Sams Clovers.zip
(2.23 MiB) Downloaded 473 times
Skindigo on 1x 6950x, 1x3970x, 6x3930k, 2x4930k, 3x5930k

ak-sam
Posts: 84
Joined: Mon Jun 18, 2012 11:48 am
Location: Auckland, New Zealand

Re: Wanted: Scatter presets

Post by ak-sam » Wed Aug 13, 2014 2:54 pm

A grass clump is attached :)
Attachments
SamsGrass.zip
(42.57 KiB) Downloaded 462 times
Skindigo on 1x 6950x, 1x3970x, 6x3930k, 2x4930k, 3x5930k

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: Wanted: Scatter presets

Post by OnoSendai » Thu Aug 14, 2014 1:50 am

Clover looks pretty good, thanks.

As far as materials go, the best material to use for small-scale plant matter like this is double-sided thin.

Here's a render of a clover scatter mixed with my grass preset:
Attachments
grass preset with clover.jpg

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: Wanted: Scatter presets

Post by OnoSendai » Thu Aug 14, 2014 1:58 am

ak-sam wrote:The Clumps must be small (a few blades) otherwise the centres scatter them across edges of paving etc.
This is an interesting point. The problem with making the clumps just a few blades, is that it means a *lot* of instances will be needed to cover a large area.

Just in terms of rendering efficiency, grass clumps on the order of a foot across or so would probably perform a lot better. For example, a patch of grass 10cm x 10cm would require 1M instances to cover a lawn that is 100m x 100m.

If the clumps are just a few blades, then the clump area is probably more like 1cm x 1cm, which means it can only cover a 10m x 10m area before using 1M instances.

Once you start getting more than around 1M instances, scene building starts taking more than a few seconds, and rendering time probably slows a bit.

One possible solution is to have large clump models and small clump models, and use the large clumps away from boundaries, with the small clumps near the edge.

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

Re: Wanted: Scatter presets

Post by bubs » Thu Aug 14, 2014 2:39 am

OnoSendai wrote:One possible solution is to have large clump models and small clump models, and use the large clumps away from boundaries, with the small clumps near the edge.
This is my current work flow with the 'make crowd' plugin. Works OK for me but there is definitely some trial and error with overlapping the boundaries / over-spilling the grass area...

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

Re: Wanted: Scatter presets

Post by Pibuz » Thu Aug 14, 2014 2:43 am

For sure one cool thing comes when we spend some time on it. I cannot expect extra cool result from a preset. Otherwise, where would be my knowledge? :D :wink:

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

Re: Wanted: Scatter presets

Post by Oscar J » Thu Aug 14, 2014 2:51 am

I PM:ed Ono:

I suppose a material file couldn't support scattering? Like you assign a grass material and grass is automatically scattered in the correct scale.

He answered:

Hi Oscar,
this is something I have thought about as well.
It's definitely possible, we have initial support for it.

Sounds like a plan to me. :shock:

Post Reply
63 posts

Who is online

Users browsing this forum: No registered users and 11 guests