It is currently Tue Apr 23, 2024 10:50 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Mon Jul 16, 2012 8:24 am  (#1) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

Here are some tests with G'MIC to create 3D text.

The latest version is attached here.

Attachment:
File comment: Updated By Graechan 11-10-14
Demo_Texte_3D_GMIC_gimp_2_8.scm [22.4 KiB]
Downloaded 327 times

File > Create > Logos > G'MIC Demo_Texte_3D...

Here is an example configuration for testing (Make several attempts to get different results) :


Attachments:
tests_gmic_logo_3D.png
tests_gmic_logo_3D.png [ 16.76 KiB | Viewed 3873 times ]
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: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Mon Jul 16, 2012 8:43 am  (#2) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Very nice filter, thank you samj
Image

_________________
Image


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Mon Jul 16, 2012 10:41 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Very nice script Sam! :)
This is with all the values maxed.

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Mon Jul 16, 2012 10:58 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Looks great samj but the G'MIC step is really slow and it looks like it refreshes the G'MIC script each time it's run. Not sure how to bypass that part. :)


Attachments:
looksgreat.png
looksgreat.png [ 181.37 KiB | Viewed 3820 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Mon Jul 16, 2012 11:10 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Here i changed the depth max to 300 and used 90 Depth (extrude 3-D)

Image

The next one will be 300 with a gradient :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Mon Jul 16, 2012 11:16 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I set the gradient in overlay mode not color. :)
Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Mon Jul 16, 2012 12:02 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
It seems to work best with bolder fonts. :)
Looked cool but not very legible.

This is with a depth of 150.0 (a happy medium)

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Mon Jul 16, 2012 2:04 pm  (#8) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

Thank you for the comments.
Filters "gimp_ink_wash" and "gimp_contrast_swm" are relatively slow ... but ... it is very difficult to criticize the author ... (This is a joke) ;)
To refresh the filters in G'MIC, I can not answer ...
I do not like the black outlines, if anyone has a solution I will add it to the script-fu.
I'll add the option "Overlay".
Merci


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Sat Nov 08, 2014 10:56 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Mar 10, 2014
Posts: 845
I found this script in the "Samj scripts folder" but it give me ERROR (invalid input arguments); here the link to download the script is broken ; Can somebody help me? Thanks in advance


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Sun Nov 09, 2014 5:56 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Marcello wrote:
I found this script in the "Samj scripts folder" but it give me ERROR (invalid input arguments); here the link to download the script is broken ; Can somebody help me? Thanks in advance

I can confirm this error. The script runs but does not display flush.
It may be because G'MIC has been updated and this scm script has not.

It seems to fail using G'MIC Plasma settings.

Something within the G'MIC command string perhaps?
   (plug-in-gmic 1 img calque_texte 1
      (string-append
         "-v - " ; To have a silent output. Remove it to display errors from the G'MIC interpreter on stderr.
         "-gimp_extrude3d {"
         (number->string Depth_gimp_extrude3d 10)"/100},"
         (number->string Resolution_gimp_extrude3d 10)",{"
         (number->string Smoothness_gimp_extrude3d 10)"/100},"
         (number->string Width_gimp_extrude3d 10)","
         (number->string Height_gimp_extrude3d 10)",{"
         (number->string Size_gimp_extrude3d 10)"/100},{"
         (number->string X_angle_gimp_extrude3d 10)"/100},{"
         (number->string Y_angle_gimp_extrude3d 10)"/100},{"
         (number->string Z_angle_gimp_extrude3d 10)"/100},{"
         (number->string FOV_gimp_extrude3d 10)"/100},{"
         (number->string X_light_gimp_extrude3d 10)"/100},{"
         (number->string Y_light_gimp_extrude3d 10)"/100},{"
         (number->string Z_light_gimp_extrude3d 10)"/100},{"
         (number->string Specularity_gimp_extrude3d 10)"/100},{"
         (number->string Shininess_gimp_extrude3d 10) "/100},"
         (number->string Rendering_gimp_extrude3d 10)
         " -remove_hotpixels "
         (number->string (round (+ 0.5 (/ (car (gimp-drawable-width calque_texte)) 100))) 10)",10"
      )
   )   


or
         "-gimp_plasma 0.5,0,8,1,0"


The G'MIC Plasma filter is located at Patterns>Plasma and has 6 variables not 3 as in the script.The three circled are missing from the script. Not sure if you use "-gimp_plasma 0.5,0,8,1,0 1 1 (or 0 0 for false) and then '(000 000 000)" or what?
Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Sun Nov 09, 2014 6:15 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
My misstake. Sam included 5 inputs but there are supposed to be 6.
I changed the code to read -

         "-gimp_plasma 0.5,0,8,1,0 '(130 130 130)"


That gives no errors but there still is no display of the new image.

Should it be
"-gimp_plasma 0.5,0,8,1,0,(130 130 130)"
???

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Sun Nov 09, 2014 6:56 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Tried

         "-gimp_plasma 0.5,0,8,1,0 '(0 0 0)"

and
         "-gimp_plasma 0.5,0,8,1,0 ,(0 0 0)"


This also did not work.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Sun Nov 09, 2014 12:51 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2246
Location: Poland
Hi Rod

"-gimp_plasma 0.5,0,8,0,0,128,128,128"

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Sun Nov 09, 2014 3:46 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Mar 10, 2014
Posts: 845
Now the script is Flying
A big thank Rod & MareroQ


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Sun Nov 09, 2014 5:47 pm  (#15) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Thank you Rod and MareroQ for correcting this script Gmic's filters can change due to the plugins evolution over time.

The updated script is located in the first post of this thread.

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Script-Fu Demo_Texte_3D_GMIC_gimp_2_8.scm
PostPosted: Mon Nov 10, 2014 11:37 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
MareroQ wrote:
Hi Rod

"-gimp_plasma 0.5,0,8,0,0,128,128,128"



Learn something new every day. :) A big thanks MareroQ! :bigthup

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Looking for Script Coder to make Script of my VHS effect

2

No new posts Attachment(s) A liitle Start Help with a Script-Fu Script

3

No new posts Attachment(s) Cannot run test script-fu script via console

7

No new posts Gmic

2

No new posts Attachment(s) GMIC Challenge

24



* Login  



Powered by phpBB3 © phpBB Group