GIMP Chat
http://gimpchat.com/

Spinning coin
http://gimpchat.com/viewtopic.php?f=9&t=19713
Page 1 of 4

Author:  Jappaloe63 [ Fri Nov 26, 2021 2:04 am ]
Post subject:  Spinning coin

I made this coin and placed it on a Dutch F1 site. It is considered very beautiful. But now I want to make it running. Is this still a working file?

Attachments:
MUNT.png
MUNT.png [ 829.99 KiB | Viewed 2857 times ]

Author:  PixLab [ Fri Nov 26, 2021 6:41 am ]
Post subject:  Re: Spinning coin

Jappaloe63 wrote:
I made this coin and placed it on a Dutch F1 site. It is considered very beautiful. But now I want to make it running. Is this still a working file?

Yes it is a working file, but you DO NEED to clean the PNG export as PNG again AND uncheck the save color in alpha
Attachment:
screenshot_20211126-193229.png
screenshot_20211126-193229.png [ 42.24 KiB | Viewed 2811 times ]

Your png was saved with "Save color value from transparent pixels" which interfere with G'MIC (and even GIMP as when you use the eraser tool in "anti-erase" mode you will see the background
Image

-> Thus G'MIC will show you with its "3D extrusion" which will allow you to rotate (spin) it effect
Attachment:
screenshot_20211126-193831.png
screenshot_20211126-193831.png [ 732.32 KiB | Viewed 2810 times ]


when cleaned rotate Y-angle by 1 degree and you got your gif (or mp4) Yes you do need to rotate 1 degree -> 360 times -> it's a lot but may be less if you rotate by 2 or 3 degrees, but you will have your spinning coin WITH the GOOD lighting ;) ( WAIT: -> I cannot try G'MIC -> Sequences/ 3D extrusion [animated], as I got an error, may be it's simpler as you can chose the number of frame if you do not have error ;) )
Attachment:
screenshot_20211126-194646.png
screenshot_20211126-194646.png [ 581.42 KiB | Viewed 2810 times ]

Although you can use a "normal map" (which IMVHO will do a better job about lights), but it's a lot more work.... Let's keep it simple (or use the normal map in Blender ;) )

Author:  Jappaloe63 [ Fri Nov 26, 2021 7:36 am ]
Post subject:  Re: Spinning coin

Thank you for your explanation... I'll get to work on it. But actually I was looking for a plugin (Ella spinning coin) that I did find on this site... but gives errors. I hoped there was an update for it.

Author:  Ella [ Fri Nov 26, 2021 7:46 am ]
Post subject:  Re: Spinning coin

Hi Jappaloe, this is the tutorial: How to make a spinning coin without GAP.

https://gimplearn.net/viewtopic.php?f=1 ... hilit=coin

Animicule made a plugin of it. I think it was on Gimp Learn.
If the plugin doesn't work you can make it by the tutorial.

More work then :)

Author:  rich2005 [ Fri Nov 26, 2021 7:57 am ]
Post subject:  Re: Spinning coin

The plugin is here: https://www.gimplearn.net/viewtopic.php?f=3&t=790

It does work. Three layers needed. Front, Back, Edge. The Back layer flipped both vertically and horizontally
The edge is not quite correct, plenty have used this plugin, advice please.

Attachment:
3-layer.jpg
3-layer.jpg [ 53.37 KiB | Viewed 2768 times ]


It does scale the image and for an animation, delete the original layers at the bottom of the layer stack.

Attachment:
coin-spin.gif
coin-spin.gif [ 815.61 KiB | Viewed 2768 times ]


Sorry about that ;)

Author:  Jappaloe63 [ Fri Nov 26, 2021 8:01 am ]
Post subject:  Re: Spinning coin

Thank you!

Author:  racer-x [ Fri Nov 26, 2021 8:05 am ]
Post subject:  Re: Spinning coin

G'mic animated Extrude 3-D works ok for this. I never used the plugin you mention though.

Attachments:
Coin2.gif
Coin2.gif [ 1.42 MiB | Viewed 2764 times ]

Author:  rich2005 [ Fri Nov 26, 2021 8:14 am ]
Post subject:  Re: Spinning coin

A bit more experiment. The edge layer should be rectangle as:

Attachment:
edge.jpg
edge.jpg [ 36.28 KiB | Viewed 2757 times ]

Author:  PixLab [ Fri Nov 26, 2021 8:52 am ]
Post subject:  Re: Spinning coin

racer-x wrote:
G'mic animated Extrude 3-D works ok for this. I never used the plugin you mention though.

May I know which G'MIC version are you using?
Maybe I need to report a "bug" as I'm using G'MIC 3.0.0 and it does not work
BTW, in your example we can clearly see the difference with the light :bigthup :clap

Author:  Ella [ Fri Nov 26, 2021 8:56 am ]
Post subject:  Re: Spinning coin

racer-x wrote:
I never used the plugin you mention though.



I've never used the plugin either, find it much more satisfying to do everything myself, although it's a lot more time and work.

Author:  racer-x [ Fri Nov 26, 2021 9:19 am ]
Post subject:  Re: Spinning coin

PixLab wrote:
May I know which G'MIC version are you using?

I'm still using G'mic version 2.9.8

I just tried the plugin and it works OK too when you add noise to the edge layer. The lighting isn't as good as Gmic however.

Attachment:
coin2.gif
coin2.gif [ 1.34 MiB | Viewed 1782 times ]

Author:  PixLab [ Fri Nov 26, 2021 9:42 am ]
Post subject:  Re: Spinning coin

racer-x wrote:
PixLab wrote:
May I know which G'MIC version are you using?

I'm still using G'mic version 2.9.8

I just tried the plugin and it works OK too when you add noise to the edge layer. The lighting isn't as good as Gmic however.

Attachment:
coin2.gif


Oh OK, thanks a lot, now I can report a bug about the v3.0 as I have comparison, again thanks a lot :bigthup

Author:  mackenzieh [ Fri Nov 26, 2021 5:15 pm ]
Post subject:  Re: Spinning coin

You can also run the BA Gold Coin plugin, leave the layers, and then run the spinning coin plugin to see how that works. It may take a while to render but it's worth a shot.

Author:  racer-x [ Fri Nov 26, 2021 7:45 pm ]
Post subject:  Re: Spinning coin

I didn't read the tutorial, so lot's of trial and error. Looks like you need to make the edge layer with tight grooves space vertically to get the right effect. Since it's grey, you can colorize the layers if you want before running the script.

Attachment:
Coin-gold.gif
Coin-gold.gif [ 1.8 MiB | Viewed 1736 times ]

Author:  mackenzieh [ Fri Nov 26, 2021 10:58 pm ]
Post subject:  Re: Spinning coin

After reading what goes into the spinning coin plugin, why not incorporate both tutorials into one and create the plugin that way. Also, when running Brian's coin plugin, the coin grooves are either very very faint or just nonexistent when "YES" is enabled on the grooves selection of the plugin. I'm running the current version of gimp on windows 10.

Author:  Jappaloe63 [ Sat Nov 27, 2021 5:58 am ]
Post subject:  Re: Spinning coin

No matter what I try I always get a border around it! What am I doing wrong

Attachments:
test.png
test.png [ 135.95 KiB | Viewed 1698 times ]

Author:  rich2005 [ Sat Nov 27, 2021 8:02 am ]
Post subject:  Re: Spinning coin

Jappaloe63 wrote:
No matter what I try I always get a border around it! What am I doing wrong


I got that first time round ;)

You need to remove any borders from around the coin. Either manually or try Image -> Zealous crop.

2 minute demo of the whole thing https://youtu.be/eJdfbFga7hs

Author:  Jappaloe63 [ Sat Nov 27, 2021 8:09 am ]
Post subject:  Re: Spinning coin

Thank you! Rich2005

Author:  PixLab [ Sat Nov 27, 2021 10:32 pm ]
Post subject:  Re: Spinning coin

PixLab wrote:
racer-x wrote:
PixLab wrote:
May I know which G'MIC version are you using?

I'm still using G'mic version 2.9.8

I just tried the plugin and it works OK too when you add noise to the edge layer. The lighting isn't as good as Gmic however.

Attachment:
The attachment coin2.gif is no longer available


Oh OK, thanks a lot, now I can report a bug about the v3.0 as I have comparison, again thanks a lot :bigthup


David Tschumperle fixed it in no time :clap :tyspin ,
If you have G'MIC 3.0 just update your filters :bigthup .

Attachment:
MUNT1.gif
MUNT1.gif [ 5.01 MiB | Viewed 1653 times ]

Author:  mackenzieh [ Sun Nov 28, 2021 4:09 am ]
Post subject:  Re: Spinning coin

Unfortunately for me, Brian's coin plugin doesn't work. I'm using GIMP 2.10.28 on Windows 10 and the spinning coin plugin seems too complicated. Why would the user need to use two tutorials for the spinning coin plugin to work?

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