YOUR ACCOUNT

Login or Register to post new topics or replies
swisscheese9797
Posts: 1
Filters: 1
What is the best way to create shapes and scatter them randomly on the texture, as in that well-known "cereal killer" cheerios in milk texture (sry, can't find link even though I know the name)

I could find one and take a look at how they did it, but what I am after is the best way to execute this effect. Thanks.
  Details E-Mail
Conniekat8
Filtereurotic
Posts: 351
Filters: 3
I think the "best way" would depend on filter specifics. I've seen it done differently in different filters, and what works really well on one may not work at all on another.
Like scattering raindrops vs. scaterring cheerios vs. scaterring dirt seem to be done in different way, and each one works the best for that particular scattering style.

Is there a specific filter you're working on?
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
if i remember correctly, the cereal filter isnt scattering. it simply 'grows' the individual cereal objects from a 'cells' component. the cells are already in the component.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Still looking for that "best way." I made one filter ("Scatter selection") that keeps copying the original image over and over, doubling the number of objects each time. Gets rather slow after a while. I just made and submitted a different approach ("Multireplicate") which works to create a larger number of objects and allows for more variation, scaling, rotation and color shifting the copies. Still rather slow but if you need to make a couple hundred copies from a single object, it works nicely. I'll put up some samples.
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Here are two examples with the new Multireplicate filter: A flower garden from a single flower and good return on a one-euro investment. Backgrounds were created separately.


Original

Multireplicated


Original

Multireplicated
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
cool!

and ya know, i think someone else did one of these a while back. the coins picture is stirring a memory here.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Oh, I better go fix and resubmit this since I already advertised it. Came back to me for being too slow to render.
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
I revisited this filter, making it slightly faster. Let's see if it makes it through the submission queue this time.

It still competes for the status of The Slowest Filter in Town.
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
In the meanwhile, here's another sample. I took my Leaf filter default and ran it through Multireplicate for foliage:



With all settings maxed out (number of duplicates, antialiasing, shadows on, etc.) this one took 9 1/2 minutes to render.

Still beats doing it manually.
  Details E-Mail
Carl
c r v a

Posts: 7289
Filters: 82
Hope it gets through submission smile:) smile:)
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Oh yeah, ThreeDee.....this would be more than useful!!! smile8) smile8) smile8)
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Hey looks like it made it this time.

So now you can put your CPUs to test!
  Details E-Mail
Carl
c r v a

Posts: 7289
Filters: 82
Quote
ThreeDee wrote:
So now you can put your CPUs to test!

it's seems pretty fast - 42 sec using the default preset settings - I'd hate to see what you think is slow smile;) smile:)
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Quote
Carl wrote:
it's seems pretty fast - 42 sec using the default preset settings - I'd hate to see what you think is slow Wink Smile


Approaches 10 minutes on my laptop with "layers" at max setting, shadows on and antialiasing all pixels 5x5.

I've managed to make a couple of fractal-type filters that run about 30 minutes... smile:dead:
  Details E-Mail
Carl
c r v a

Posts: 7289
Filters: 82
Quote
ThreeDee wrote:
run about 30 minutes
smile:eek:
Quote
ThreeDee wrote:
my laptop with "layers" at max setting

Dred to think what some of mine would take on your laptop smile;) smile:)
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Just came up with an interesting -- and a very fast -- variation that could be useful for some scenarios: Cellular Tiling.





Cellular Tiling.ffxml
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
thanks, TD smile:)

i like the multireplicate better. that cellular one doesnt seem to overlap and cover.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Hehe -- madness continues: Each image individually scaled, still renders in a couple of seconds.

  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Quote
Kraellin wrote:
i like the multireplicate better. that cellular one doesnt seem to overlap and cover.


Correct -- it isn't multireplicating the entire image, but placing it into every cell. But there are things you could do with it. Imagine, for instance, making just one radial crack and duplicating it into every cell.
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Or something like this.



Creepy crawlies. smile:D
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
hehe, cool smile:)
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Some mod thereof could also enable making seamless patterns from just a tiny image, for the method (sort-of) centers the image in each cell.

Come to think about it, if you shrink the original image more and overlap four (or more) of these with masks, you can make it very close to the original multireplicate.

Runs off to try this...
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
That approach has some potential. It's not perfect, but it runs 4X faster than my last Multireplicate.

And the scattering pattern is way more natural.



Ahh, them falling leaves, snowflakes...
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
So, here's the million dollar question: can I rotate each one individually...?
  Details E-Mail
Sign Guy
Digital Art Developer-Publisher

Posts: 554
Rotation would be handy in some instances but would be best left as a switchable option. More layers so as to be able to achieve full coverage would also add to usefulness. And definitely a switch for the size variations so that same size could be maintained when needed.

Fred Weiss
Allied Computer Graphics, Inc.
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
hehe, TD, you ticle me. you remind me of me in my early days smile:) and yeah, i like where you're going with this.

just a thought here, because of a perceived similarity, try dilla's smiley face filter... open the guts and see what he's doing to replicate there.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
This be good.

Every instance is individually transported, scaled and rotated and it is still relatively fast (emphasis on "relatively").


  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Not only that, this render is as fast as the previous one.



Yes, it is chopping off quite a bunch of them, but that might not matter if it was a pile of leaves or other somewhat irregular shapes.
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
madness! sheer madness! smile:D
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Indeed, indeed.

Just needs some color variation now.

  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
wow! now, that's looking very cool smile:)
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,712 Registered Users
+19 new in 30 days!

153,534 Posts
+31 new in 30 days!

15,348 Topics
+72 new in year!

Create an Account

Online Users Last minute:

45 unregistered users.