Join for FREE | Take the Tour Lost Password?
[x]

deviantART

 
Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
:iconfence-post:

Artist's Comments

EDIT October 9, 2008: Updated script to work in GIMP 2.6 (the newest stable version.) If you have a previous version of this script, please delete it to avoid conflicts.

Let me know if you have any trouble with it.


This is something I've wanted to do for a LONG time and now that I understand scripting a bit more, was finally able to get this finished! I've taken the default GIMP Spinning Globe Script and modified it to map a single layer onto a rotating cube. I've added the option to set the speed and adjust the size of the cube, but the default cube size is pretty good. You can't go much higher in size than the default because if I allow you to make it too much larger, it won't fit in the current window size (I *could* implement an option to resize the frame to allow for a larger cube, but that's not planned for the time being.)

Click on the Download link to open the script.

Save it to your GIMP scripts folder (ie....C:\Program Files\GIMP-2.X\share\gimp\2.0\scripts) and then go to Filters > Script-Fu > Refresh Scripts and it will appear in the main image window under Filters Menu > Animation > Spinning Cube... (Thanks to circledancer at gimptalk.com for testing this out in GIMP 2.2. It works fine, with no modifications.)

The script defaults to setting the x-angle to 30 degrees so the cube is tilted slightly towards the viewer. Later, I will add an option to allow the user to change this setting....easy enough to do, but I was just being lazy! :)

NOTE: Depending on your computer, this script may take awhile to run. My home computer generated the animation with 10 frames in about 5 minutes....but it took about 20 minutes on another machine that is much newer and has more memory. So, I recommend you try this out with just a few frames at first to see how your machine responds. Maybe this is why the script was never written before! ;)

Future goals:

Allow for "predictable", simultaneous rotation on all 3 axis. Right now, I can't figure this out.
Allow for mapping different images to each face.

Let me know how it works for you or if you have any problems with it. Suggestions for improvement are always welcome!

Art

Comments


love 0 0 joy 4 4 wow 1 1 mad 0 0 sad 0 0 fear 0 0 neutral 0 0
:icongatogirl12345:
I should try this out!

--
Contests
*DarkHorseTournament
`touchedvenus - EARTH TONES [link]
=Red-wolf-Ink - CHARACTER CONTEST [link]
:iconchainlightningstrike:
Tis Brill Art
I gave it a run for a bit of fun, The results it produces are great
Still it *did* take a while on my machine, but thats nothing new for me, mines a slow old beast.
Cheers for another brilliant script

Dave

--
My Gallery | Daemonic IT | DG Forum | Email Address
:icona2j3:
Looks awesome fence. Will post my results.:sherlock:

:hug:
Jo

--
John 15:13 \"Greater love hath no man than this, that a man lay down his life for his friends.\"
:iconbarn9:
Thanks Art! One question, is it possible to slow down the spin rate?
:iconfence-post:
Sure...it's pretty simple. If you're wanting to do it when you first run the script, you can set the speed there. Just increase the number there.

If you're wanting to do it on an animation you've already created you can double click on the layer name and increase the number next to "ms". That's the number of milliseconds that a particular layer is shown before moving on to the next one. I believe in this version of GIMP, you have to hit the Enter key to get it to stay like that.

If you don't want to do it manually, download this script ([link]) and let it do it for you. The script can be found under the Animations Menu (just like the cube script) and is simply called "Settings..." I think you'll only need to increase the number.

Let me know if you need additional help.

Art

--
Yes, Art is my real name!

"I don't know about genius, I'd more say it was stupidity let loose...." Siminart

GIMP Dome ; Need Gimp Brushes? Check Here!
:iconbarn9:
OK, thanks again Art, you are a wealth of info for us rookies, and I for one am really glad you are always willing to help! :D
:iconfence-post:
Not a problem. Glad to be of help!

Art

--
Yes, Art is my real name!

"I don't know about genius, I'd more say it was stupidity let loose...." Siminart

GIMP Dome ; Need Gimp Brushes? Check Here!
:iconfence-post:
Thanks, Jo!

--
Yes, Art is my real name!

"I don't know about genius, I'd more say it was stupidity let loose...." Siminart

GIMP Dome ; Need Gimp Brushes? Check Here!
:iconfence-post:
Glad you like it! Thanks!

Art

--
Yes, Art is my real name!

"I don't know about genius, I'd more say it was stupidity let loose...." Siminart

GIMP Dome ; Need Gimp Brushes? Check Here!

Details

January 8, 2008
4.6 KB
93.2 KB
150×150

Statistics

21
14 [who?]
4,921 (4 today)
1,826 (2 today)

Share

Link
Embed
Thumb

Site Map