It is currently Wed Nov 25, 2026 3:45 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: New command '-x_metaballs' for the CLI tool 'gmic'.
PostPosted: Tue Oct 15, 2013 7:06 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
For demonstration purposes, I've added a new G'MIC command -x_metaballs which renders a quite cool animation with 3d metaballs, when invoked from the CLI interface gmic. Sorry, but it has then nothing to do with the GIMP plug-in :p
Here, you can see a video of the generated animation (it is actually rendered in real-time of course).
The corresponding G'MIC code snippet (30 lines) is available here : http://pastebin.com/9pM293Zm
I admit that the G'MIC script language may look a bit "obscure" at a first glance, but when one masters it, how funny it is to develop with it !

www.youtube.com Video from : www.youtube.com


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: New command '-x_metaballs' for the CLI tool 'gmic'.
PostPosted: Tue Oct 15, 2013 8:03 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12870
Pretty cool stuff David; how long did it take to actually to render? :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: New command '-x_metaballs' for the CLI tool 'gmic'.
PostPosted: Tue Oct 15, 2013 9:25 am  (#3) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16309
That is sweet. :)

_________________
Image


Top
 Post subject: Re: New command '-x_metaballs' for the CLI tool 'gmic'.
PostPosted: Tue Oct 15, 2013 9:44 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Feb 17, 2011
Posts: 225
Cool. If it's similar to Povray's or Blender's metaballs, it is impressive. If it's like ZBrush pixol, it's quite... game changer. From the 3D-ish nature I guess it's the first? But, magnificent idea, especially if you can combine it with other effects.

Btw, I use G'MIC all the time to generate textures for 3D.


Top
 Post subject: Re: New command '-x_metaballs' for the CLI tool 'gmic'.
PostPosted: Tue Oct 15, 2013 10:08 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Lyle : it takes the time of the video to render (i.e. 15s). It is displayed in real-time when running it from the console :)


Top
 Post subject: Re: New command '-x_metaballs' for the CLI tool 'gmic'.
PostPosted: Tue Oct 15, 2013 4:46 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12870
Wow; impressive, but doubt my aged system could render realtime. I should have taken you at your word when you said realtime then. I thought you meant the video is in realtime. I need a newer machine; too relunctant to do so right now so my 2008 vintage barebones (which I've since embellished alot but still the engine is slow; lol) is showing its age no doubt. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: New command '-x_metaballs' for the CLI tool 'gmic'.
PostPosted: Wed Oct 16, 2013 1:12 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Lyle, I've rendered the video on a very old Pentium 4, 32 bits machine. I doubt your PC is running slower than mine :hehe
In fact, there is nothing outstanding here, this kind of metaball effects was already running on Amiga in real time some years ago.


Top
 Post subject: Re: New command '-x_metaballs' for the CLI tool 'gmic'.
PostPosted: Wed Oct 16, 2013 1:20 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12870
Cool stuff then; hope you port it to GIMP G'MIC soon even if it is more a toy then a filter. :)

_________________
Lyle

Psalm 109:8

Image


Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group