K Means Clustering

Plugins linking to this thread: (hide)

K-Means ClusteringAuthor: Constantine Tarasenkov
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

iamVFX
Posts: 697
Joined: 24 Sep 2010, 18:28

Re: K Means Clustering

Post by iamVFX » 21 May 2012, 19:15

SamHowell wrote:What use is this for computer graphics? Specifically Softimage users?
I'm not deliver a product :D I have fun of messing with ice and sharing stuff with the hope that someone can find it useful.

Because I know that I can get bored and do something else soon...

User avatar
Mathaeus
Posts: 1778
Joined: 08 Jun 2009, 21:11
Location: Zagreb, Croatia
Contact:

Re: K Means Clustering

Post by Mathaeus » 21 May 2012, 20:40

SamHowell wrote:
What use is this for computer graphics? Specifically Softimage users? Some kind of organic procedural modelling, shattering, noise?
Or something else?
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...
Some real challenge would be a crumpled paper.... :)

iamVFX
Posts: 697
Joined: 24 Sep 2010, 18:28

Re: K Means Clustering

Post by iamVFX » 22 May 2012, 14:56

Transferring cluster ids to disconnected island polygons

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

User avatar
SamHowell
Posts: 364
Joined: 09 Jun 2009, 14:09
Location: Birmingham
Contact:

Re: K Means Clustering

Post by SamHowell » 23 May 2012, 13:19

Mathaeus wrote:
SamHowell wrote:
What use is this for computer graphics? Specifically Softimage users? Some kind of organic procedural modelling, shattering, noise?
Or something else?
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...
Some real challenge would be a crumpled paper.... :)
Cool. I look forward to seeing what turns up on this thread.

iamVFX
Posts: 697
Joined: 24 Sep 2010, 18:28

Re: K Means Clustering

Post by iamVFX » 13 Oct 2012, 23:21

[rimg=800]http://img28.imageshack.us/img28/7640/83e078322acd4176b11fc08.png[/rimg]

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 09:44

Re: K Means Clustering

Post by Bullit » 14 Oct 2012, 09:47

Nice. Is there a way to go from object to polygons islands to independent objects and vice versa based on distance between them?

iamVFX
Posts: 697
Joined: 24 Sep 2010, 18:28

Re: K Means Clustering

Post by iamVFX » 14 Oct 2012, 09:54

Can you rephrase the question please?

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 09:44

Re: K Means Clustering

Post by Bullit » 14 Oct 2012, 11:30

Ok. Thinking about it again it is more the case of turning several objects into a unique object conforming to a reference form.

iamVFX
Posts: 697
Joined: 24 Sep 2010, 18:28

Re: K Means Clustering

Post by iamVFX » 14 Oct 2012, 13:52

K Means Clustering compound provides unique island indices by which you can filter and move points as if they were a separate object, if you mean it

[rimg=250]http://img59.imageshack.us/img59/9571/30fb5cfd29454a4388e3ac0.png[/rimg]

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 09:44

Re: K Means Clustering

Post by Bullit » 14 Oct 2012, 16:39

But unique objects are necessary for export for other packages i think.

User avatar
gustavoeb
Moderator
Posts: 587
Joined: 21 Jul 2010, 00:33
Skype: gustavoboehs

Re: K Means Clustering

Post by gustavoeb » 14 Oct 2012, 20:55

Looks very intersting for stone walls, or stone giant creatures and stuff... :D
good job
Gustavo Eggert Boehs
Blog: http://www.gustavoeb.com.br/

Ahmidou
Posts: 106
Joined: 04 Jan 2010, 14:00

Re: K Means Clustering

Post by Ahmidou » 14 Oct 2012, 23:39

@bullit: Then script it, polygon island are easy to isolate via the SDK! And by the way, you can't create new objects with ICE

Falam

Re: K Means Clustering

Post by Falam » 15 Oct 2012, 00:24

iamVFX wrote:K Means Clustering compound provides unique island indices by which you can filter and move points as if they were a separate object, if you mean it

[rimg=250]http://img59.imageshack.us/img59/9571/30fb5cfd29454a4388e3ac0.png[/rimg]
Beep, Beep, back up for a minute :) This compound can take a solid object, and break it up as though it was modeled separately, is that what I read correctly ?

iamVFX
Posts: 697
Joined: 24 Sep 2010, 18:28

Re: K Means Clustering

Post by iamVFX » 15 Oct 2012, 06:19

Falam wrote:Beep, Beep, back up for a minute :) This compound can take a solid object, and break it up as though it was modeled separately, is that what I read correctly ?
Not exactly... It breaks up geometry on islands, as if you break object with some sort of shatter tool but within of ice. And by breaks up I mean just gives the unique indices to random polygon clusters (see the screenshot from the first post).

If you want to break up the geometry by its existing polygon islands, see Guillaume's Polygon Islands Transformation using ICE, it's pretty effin awesome tool for all sorts of procedural animations.
gustavoeb wrote:Looks very intersting for stone walls, or stone giant creatures and stuff... :D
With such power we can make Flintstones movie!

But really not just for stones... The only limit is your imagination.

[rimg=650]http://img202.imageshack.us/img202/9987/b120de02b3c841afb3d6f43.png[/rimg]

User avatar
Rork
Posts: 1359
Joined: 09 Jul 2009, 08:59
Location: Close to The Hague, Netherlands
Contact:

Re: K Means Clustering

Post by Rork » 15 Oct 2012, 10:16

very cool! :)

keep them coming, this kind of stuff should be shown out of the forums more often.

we're not just a particle app people!! =))

rob
SI UI tutorials: Toolbar http://goo.gl/iYOL0l | Custom Layout http://goo.gl/6iP5xQ | RenderManager View http://goo.gl/b4ZkjQ
So long, and thanks for all the Fish!!

iamVFX
Posts: 697
Joined: 24 Sep 2010, 18:28

Re: K Means Clustering

Post by iamVFX » 15 Mar 2013, 19:04

Compound is updated, now you can feed custom array of center points to it

Post Reply

Who is online

Users browsing this forum: No registered users and 50 guests