Login - Create Account
Bookmark and Share

A "Stones"-like noise with triangular forms?

Login or Register to post new topics or replies
Tim2501
Posts: 18
Filters: 47
I'm currently working on a broken-glass filter and had some good results with the "Stones"-noise. I'm using a low treshold on it to determine the breaking-lines and an if-module on a solid-filled version od "Stones" to determine the areas of single shards.

My problem is that, while glass usually breaks into shards with 3 or 4 edges, "Stones" often delivers shapes with 5 or 6 edges, which makes the whole thing look pretty unrealistic.

Is it possible to make or modify a script so it delivers a triagular-stones-noise?

Unfortunately I cant script at all, so any help will be greatly appreciated.

Thanks in advance! smile;)
  Details E-Mail
uberzev
not uberfez

Posts: 1821
Filters: 36
A few triangle ideas here...

Wild Triangles.ffxml
  Details E-Mail
Tim2501
Posts: 18
Filters: 47
This idea occurred to me too.
Unfortunately, the triangles must not overlap each other, because I need the grooves betwen them to determine my breaking-lines.
Also, overlapping triangles often produce concave forms within each other, which would look pretty unrealistic as shards :/
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
Uberzev, maybe your smooth stone mosaic can be adapted to make triangles or square instead of ovals, or eggs?
  Details E-Mail
uberzev
not uberfez

Posts: 1821
Filters: 36
Quote
Uberzev, maybe your smooth stone mosaic can be adapted to make triangles or square instead of ovals, or eggs?


The underlining math of my filter is the same as Worley Cell noise, and I don't believe that formula offers triangles.
  Details E-Mail
uberzev
not uberfez

Posts: 1821
Filters: 36
This do anything for you?

Offset Edges (1).ffxml
  Details E-Mail
uberzev
not uberfez

Posts: 1821
Filters: 36
The solid-fill version of chaffs makes some decent triangles...

Semi-Trianglular Noise.ffxml
  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
Thanks very much for the Offset Edges filter that I like much

  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
I have modified it to be able to fill the beautiful triangular shapes created by this with images but what I really have done is only fill the lines and background smile:(

  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
And this other one that is the opposite, with higher width of the edges

  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
And here is the simple modification

Offset Edges with Images.ffxml
  Details E-Mail
Skybase
Who are you?

Posts: 1952
Filters: 58
I'm going to poke you to try something more fancy than masking smile:p
  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
What would be really good is to be able to make the image FOLLOW and fill the shapes made by this filter with this setting shown here

Image

So the image would be shattered and cut to fill the inside of the white shapes of this pattern shown here and have some kind of shading so it would look more something like a 3D style
  Details E-Mail
Skybase
Who are you?

Posts: 1952
Filters: 58
Like this?

  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
Of course that what I made above was very simple and nothing fancy, was just a quick test.

Quote
Like this?


OH, yes, this is what I was talking about. Be able to modify the source colors into the shapes. Well done!! Like it much

Also would be good if possible to make the real photo image broken into pieces to fill the irregular shapes and not only the source colors
  Details E-Mail
Skybase
Who are you?

Posts: 1952
Filters: 58
Yup of course you can do that.

  Details E-Mail
Skybase
Who are you?

Posts: 1952
Filters: 58
lol want to give it a shot yourself and then should I just reveal how it was done? smile:p
  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
On this one I think it has been very easy to make and to solve smile:) looking at how this was done.

Sorry I did not see it before.

Here is the FF Lionfish

Although when trying to convert it to images instead of solid colors I still have a problem, but will see why this happens

  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
and here is another example

  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
BUT now is needed to give some kind of darkening and lighting shadows so it is not very flat

  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
Using the Blast Shadows by Threedee I have got this other version but all of them have uniform shadows and although it looks nice and good is not exactly the effect I would like

  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
And the bottom FF Lionfish is better with the Blast Shaodws than the above one, at least from my point of view

Image

  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
Sorry to ask a possible basic question, but why the Chaffs work very well when using solid fill, but when you uncheck it to have the full image source it does not work in the same way?

I mean that the source image is not distorted to the shapes, like it happens when using solid fill, and i have tried also different settings and none of them work in the same way if solid fill is unchecked.
  Details E-Mail
Skybase
Who are you?

Posts: 1952
Filters: 58
Here's what your help docs say about "solid fill"
"If turned on, each noise "cell" is filled with a uniform random tint within the color range defined by the Noise and Background parameters."

What you're really seeing when you disable "solid fill" is the noise pattern being applied on the background with the same color values at the same pixel areas. So your noise + background colors are the same, therefore there seems to be no difference but it's drawing the noise just as it would, you just can't see it.
  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
Thanks Skybase for your answer, I also went to see the help docs to see if I was doing something wrong or there something I did not know, but seems that as you say well, it works only when the solid fills is activated, because if not not you can“t see the effect

I asked this because I have seen that on other component (do not remember which one) I have seen that when unchecking the solid fill checkbox the effect keeps being the same but with the full real source image instead of one solid color, so I thought that in this one would work in the same way, but I was wrong.

And as you have shown in the above example there are other ways to make this WITH the source image and not a solid color, although I still do not know how.
  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
Quote
SpaceRay

What would be really good is to be able to make the image FOLLOW and fill the shapes made by this filter with this setting shown here

So the image would be shattered and cut to fill the inside of the white shapes of this pattern shown here and have some kind of shading so it would look more something like a 3D style


Quote
Skybase

Like this?Image


Quote
SpaceRay

OH, YES, this is what I was talking about. Be able to modify the source colors into the shapes. Well done!! Like it much

Also would be good if possible to make the real photo image broken into pieces to fill the irregular shapes and not only the source colors


Quote
Skybase

Image

lol want to give it a shot yourself and then should I just reveal how it was done?


Well, I have tried to make this SECOND example shown above here with the real photo images instead of plain colors, have not had any sucess as I do not know how to make it because if I uncheck the "solid fill" setting in the Chaffs component, all is lost smile:(

Please, Skybase could you be so kind to tell HOW you have done it?

Thanks very much
  Details E-Mail
Skybase
Who are you?

Posts: 1952
Filters: 58
Screenshot explains much of the way I worked on it. It's honestly kinda lazy.

Notes: The rotate component uses the original chaffs component that was in Uberzev's filter. The colored chaffs component can also be used to derive rotation values, however you should desaturate it, but this is up to you. Two chaffs components should have the same variation value, otherwise they'll have different results.

  Details E-Mail
SpaceRay
SpaceRay

Posts: 6221
Filters: 12
WOW!! Thanks very much for explaining it and for making this screenshot and taking the time to explain it with texts and arrows, very good and well done.

I will try it and see what I can do.

Thanks again
  Details E-Mail

Join Our Community!

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

15,403 Registered Users
+6 new last day!

112,680 Posts
+15 new last day!

10,107 Topics
+6 new in 7 days!

Online Users Last 15 minutes:

Gail, BenFoulds, TBH-1138, 18 unregistered users.

Recent Wiki Edits:

Follow filterforge on Twitter