GIMP Chat
http://gimpchat.com/

samj/Orbites
http://gimpchat.com/viewtopic.php?f=9&t=17313
Page 1 of 1

Author:  level_0 [ Tue Mar 19, 2019 6:45 am ]
Post subject:  samj/Orbites

:wvy
In his blog here:
https://samjcreations.blogspot.com/2018 ... bites.html
He indicates:
Some lines of commands:
samj_Orbites 100,0,0,0,255,50,50,15,39,49,15,240,128,64,255,0,5,0,0,0,0,0,0,0

samj_Orbites 100,0,0,0,255,50,50,20,79,45,4,48,34,240,255,0,0,0,0,0,0,0,0

samj_Orbites 100.0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

I thought the numbers indicated the setting of the sliders but there are 13 and not 23.
So these command lines are for Linux and can not be used with Windows?

Author:  rich2005 [ Tue Mar 19, 2019 7:30 am ]
Post subject:  Re: samj/Orbites

Sometimes worth enabling the gmic_gimp log. gmic -> settings -> other

The extra settings are the colours: R, G, B + Alpha and there are two of those. Then there are the tick boxes to take into account, not ticked but still have a value.

Attachment:
orbit.jpg
orbit.jpg [ 162.41 KiB | Viewed 3402 times ]

Author:  level_0 [ Tue Mar 19, 2019 8:06 am ]
Post subject:  Re: samj/Orbites

thank you rich2005 Image for your detailed explanations.
In "other", what should I change?
Image Image

Author:  rich2005 [ Tue Mar 19, 2019 8:28 am ]
Post subject:  Re: samj/Orbites

1) Use the 'verbose' to logfile

Attachment:
verbose-log.jpg
verbose-log.jpg [ 20.59 KiB | Viewed 3387 times ]


Find the log file gmic_qt_log in the samj folder GMIC_Filters\gmic

Attachment:
log-file.jpg
log-file.jpg [ 60.95 KiB | Viewed 3387 times ]

Author:  level_0 [ Tue Mar 19, 2019 3:20 pm ]
Post subject:  Re: samj/Orbites

I opened the file "gmic_qt_log" in notepad ++ while I opened G'Mic, and then I saved the file.
Image

Sorry to be so silly, but when I open G'Mic again and the filter Orbites, I searched in vain how I could test each of the command lines .... If I open again the file "gmic_qt_log ", I see the lines and others corresponding to filters tested later.

And subsidiary question related to this topic: I wondered for some time how to keep a particular setting for a filter, other than a screenshot.

Author:  rich2005 [ Tue Mar 19, 2019 4:40 pm ]
Post subject:  Re: samj/Orbites

Quote:
... I searched in vain how I could test each of the command lines ....


If you go back to your first post one of the samj commands is

samj_Orbites 100,0,0,0,255,50,50,20,79,45,4,48,34,240,255,0,0,0,0,0,0,0,0

Bottom of the gmic_gimp menu is Various -> Custom Code [Local] you can use this to test the code.

Initially looks like this:

Attachment:
01-test.jpg
01-test.jpg [ 82.59 KiB | Viewed 3346 times ]



Just delete that text and (copy/paste) put the new text in.

Attachment:
02-test.jpg
02-test.jpg [ 98.38 KiB | Viewed 3346 times ]


Update will give a preview and OK will render the filter.

What else can you do with the log file entries.

The script attached, easy to paste the gmic command in. Just be careful about line indents and quotes. Open it up in notepad++ easy to see the added lines. Just a couple of lines I added for this post. Renders that samj code then adds another filter.

It is a script, put in your scripts folder. Find it bottom of the Filters menu along side gmic.

Quote:
...If I open again the file "gmic_qt_log ", I see the lines and others corresponding to filters tested later.


When the log file becomes too large /confusing. Just delete it and start again.

Attachments:
gmic_shell.scm [1.25 KiB]
Downloaded 138 times

Author:  level_0 [ Wed Mar 20, 2019 2:44 am ]
Post subject:  Re: samj/Orbites

:wvy
Thank you rich2005, I will try to do this today.
For "Custom Code [Local]", I had wondered if I could use it for:
https://samjcreations.blogspot.com/2019 ... -gimp.html
and now I have the answer. :)

Author:  Rod [ Wed Mar 20, 2019 6:23 am ]
Post subject:  Re: samj/Orbites

Looks really neat when you map to sphere. :bigthup

Image

To this.

Image

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/