K Means Clustering
Plugins linking to this thread: (hide)
K-Means Clustering
Partitions a polygon mesh with the k-means method.
In the thread linked below, Constantine shows some applications of that method.
local backup: k-means.rar
In the thread linked below, Constantine shows some applications of that method.
local backup: k-means.rar
author site: http://procedural.tumblr.com / si-community thread
K Means Clustering
Well, sort of k-means (: The truth must be told: I don't know math much so I made it myself. No repeat nodes, just pure awesomeness of "build array from set" and "find in array" nodes.
1,000,000 points in one second
[rimg=1000]http://xsisupport.files.wordpress.com/2012/05/no1bhm.png[/rimg]
Download: http://dl.dropbox.com/u/10965660/ice_stuff/k-means.zip
1,000,000 points in one second
[rimg=1000]http://xsisupport.files.wordpress.com/2012/05/no1bhm.png[/rimg]
Download: http://dl.dropbox.com/u/10965660/ice_stuff/k-means.zip
Last edited by iamVFX on 15 Mar 2013, 19:01, edited 2 times in total.
Re: K Means Clustering
Origami
[rimg=1000]http://screensnapr.com/e/c4l5Lj.png[/rimg]
[rimg=1000]http://screensnapr.com/e/c4l5Lj.png[/rimg]
Re: K Means Clustering
You can disconnect polygon islands by k-means also (Disconnect Islands compound is attached below)
[rimg=1000]http://screensnapr.com/e/PPZH78.png[/rimg]
Compound is allow you to switch to any context
[rimg=400]http://screensnapr.com/e/XXyqM4.png[/rimg]
[rimg=1000]http://screensnapr.com/e/PPZH78.png[/rimg]
Compound is allow you to switch to any context
[rimg=400]http://screensnapr.com/e/XXyqM4.png[/rimg]
- Attachments
-
- Disconnect Islands.xsicompound
- (17.34 KiB) Downloaded 288 times
Re: K Means Clustering
who's a clever lad eh!? so basically you made this?
awesome stuff. wouldn't know where to begin. thanks very much for posting, will have a look to see if I can understand the ICE tree flow later , thanks!
awesome stuff. wouldn't know where to begin. thanks very much for posting, will have a look to see if I can understand the ICE tree flow later , thanks!
Gossip is what no one claims to like, but everybody enjoys.
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: K Means Clustering
Nicely done, obviously.
But for the even more mathematically challenged like me,
could you perhaps say something more about the specific situations
where you would use this?
But for the even more mathematically challenged like me,
could you perhaps say something more about the specific situations
where you would use this?
Stay safe, sane & healthy!
Re: K Means Clustering
Yes, you can! Everyone can, I continue my K.I.S.S. workflow. And the most funniest part - that formula that you showed me - I don't understand it and I'm not used it. All stuff inside of compound is working on arrays sorting. And it works as if it was that formula! How can this be even possible?!Tekano wrote:who's a clever lad eh!? so basically you made this?
awesome stuff. wouldn't know where to begin. thanks very much for posting, will have a look to see if I can understand the ICE tree flow later , thanks!
I don't know. But what I know for sure is that it was implemented in Houdini first, and I was thinking on that moment "I can do this in xsi too". He used for each (we call it repeat) node I guess (from description: "as the iterations go along"), I made it without any loops.Hirazi Blue wrote:Nicely done, obviously.
But for the even more mathematically challenged like me,
could you perhaps say something more about the specific situations
where you would use this?
Re: K Means Clustering
Nope.
I still have no idea what this is for.
I would like to know though.
I still have no idea what this is for.
I would like to know though.
Re: K Means Clustering
SamHowell wrote:Nope.
I still have no idea what this is for.
I would like to know though.
Hi Sam, am fairly certain that this is related to breaking up objects into pieces where each piece is a voronoi cell http://en.wikipedia.org/wiki/Voronoi_cell - this you must have heard of / seen already
Gossip is what no one claims to like, but everybody enjoys.
Re: K Means Clustering
lol, guysSamHowell wrote:Nope.
I still have no idea what this is for.
I would like to know though.
it's about the question... why we want to get an answer, if we don't need it
i mean what that sequence of numbers means... they're placed together for some reason, right? why you can find so many people who remembers them?
just watch it 'till the end
Re: K Means Clustering
OK thanks for the help guys. I think I see what is being done here and I now know (sort of) what a Veroni Cell is.
Used by John Snow (no less) to help cure cholera. My favourite pub in Soho is named after him. I shall tell everyone about it when I'm in there next. Maybe I'll get a free drink (maybe not).
What use is this for computer graphics? Specifically Softimage users? Some kind of organic procedural modelling, shattering, noise?
Or something else?
Used by John Snow (no less) to help cure cholera. My favourite pub in Soho is named after him. I shall tell everyone about it when I'm in there next. Maybe I'll get a free drink (maybe not).
What use is this for computer graphics? Specifically Softimage users? Some kind of organic procedural modelling, shattering, noise?
Or something else?
Re: K Means Clustering
I'm not deliver a product I have fun of messing with ice and sharing stuff with the hope that someone can find it useful.SamHowell wrote:What use is this for computer graphics? Specifically Softimage users?
Because I know that I can get bored and do something else soon...
Re: K Means Clustering
Whatever you do with "cell" pattern. Let's say, well known tutorial about creating stones in Max. Basically, sphere is "flattened" by cells. Well, for something realistic, procedural pattern is just a start...SamHowell wrote:
What use is this for computer graphics? Specifically Softimage users? Some kind of organic procedural modelling, shattering, noise?
Or something else?
Some real challenge would be a crumpled paper....
Re: K Means Clustering
Transferring cluster ids to disconnected island polygons
[rimg=500]http://img542.imageshack.us/img542/2598/0d727d412162497faefb6bf.png[/rimg]
[rimg=500]http://img542.imageshack.us/img542/2598/0d727d412162497faefb6bf.png[/rimg]
Last edited by iamVFX on 13 Oct 2012, 23:20, edited 1 time in total.
Re: K Means Clustering
Cool. I look forward to seeing what turns up on this thread.Mathaeus wrote:Whatever you do with "cell" pattern. Let's say, well known tutorial about creating stones in Max. Basically, sphere is "flattened" by cells. Well, for something realistic, procedural pattern is just a start...SamHowell wrote:
What use is this for computer graphics? Specifically Softimage users? Some kind of organic procedural modelling, shattering, noise?
Or something else?
Some real challenge would be a crumpled paper....
Re: K Means Clustering
[rimg=800]http://img28.imageshack.us/img28/7640/83e078322acd4176b11fc08.png[/rimg]
Re: K Means Clustering
Nice. Is there a way to go from object to polygons islands to independent objects and vice versa based on distance between them?
Who is online
Users browsing this forum: No registered users and 37 guests