It is currently Tue Jun 09, 2026 5:21 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 56 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Thu Feb 11, 2016 12:30 am  (#21) 
Offline
GimpChat Member

Joined: Jan 19, 2016
Posts: 63
MareroQ wrote:
For Gimp 2.8/2.9 scripts work well only for Export Image as Gif use One frame per layer (replace).

Thank You MareroQ :) You were very helpful :D

Thanks a lot script coder for such an amazing script :) :D


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Thu Feb 11, 2016 1:10 am  (#22) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2661
Location: California
Thanks MareroQ for the help. :)


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Mon Mar 20, 2017 9:03 am  (#23) 
Offline
GimpChat Member

Joined: Mar 20, 2017
Posts: 5
HI. I've been trying to come up with a script similar to this idea. Excellent script, by the way.
I have one alteration I'd like to make, but I'm not sure where to find the line of code.
Basically, I want to change the viewing angle of the animation so It's more of a "top down" viewpoint.
Would it be possible to achieve this easily by altering a couple lines of the script's code?
Also, I'm not very experienced with script writing. Still a novice.

Thanks in advance if anyone can help me with this.


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Mon Mar 20, 2017 10:12 am  (#24) 
Offline
GimpChat Member

Joined: Mar 20, 2017
Posts: 5
Is there any way I could utilize the map-object filter in a script to produce a rotating cube kind of like the one displayed in this post?
Basically, it's for my latest YouTube cubing channel. I want to create rotating cubes that have specific colour arrangements on each side of the box.
I like the map object function because you can map each side of the cube with every cubie being whatever colour you want by simply using the bucket fill tool.
This is very handy for what I want to do.
I want to be able to select the colour of each side, then just map object to a box with no light, a topdown view, and change only the rotate y axis parameter from -180 to +180 and render each image to a new layer with transparency.
The end resulting image sequence is used as an overlay with transparency in videos that I edit with Blender.
This result looks quite nice, but the process of rendering each map-object box takes FOREVER for a 60fps animation. It takes a really long time, so it'd be really nice to script the process rather than spend so much time going through the menus just for a 6 second animation.


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Mon Mar 20, 2017 10:54 am  (#25) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8362
Location: On the other side of your screen
There is also a rubiks cube type in GMIC if you do not want to wait. You can have the orientation and light any way you want.
It is under rendering > 3D image object. You have a few options there. rubik is at the bottom
Image

I haven't tried myself yet but you may be able to change the orientation of the script rubik by just using the rotate tool.

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.0 and GMIC-Qt 3.7.5 OS :- Windows 10 Home 64


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Mon Mar 20, 2017 5:15 pm  (#26) 
Offline
GimpChat Member

Joined: Mar 20, 2017
Posts: 5
I've played around with that function of gmic but it doesn't have the same amount of customisation as map object box. I may need to use a different program if I can't figure this out. I just need to increase my workflow rate. As it stands I can produce 1 frame every 2 minutes, and that is very time intensive.


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Mon Mar 20, 2017 10:43 pm  (#27) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
GimpChimp What you need is gmic/sequences/3D image object[animated], this gives all the settings you require ,this filter was added after my script was posted and is excellent

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


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Tue Mar 21, 2017 12:51 am  (#28) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
I just found this post tonight and I love this script!! I took the image I made for the Animated Cube Avatar tutorial and ran this script for each of the 36 layers of my image. I had the script create 36 layers each time. I took layer 1 from the result on layer 1 of my image, 2 from layer 2, etc. until I had all 36 layers. Added shadows and a background and I have an animation within an animation.


Attachments:
AnimatedAnimation.gif
AnimatedAnimation.gif [ 1.3 MiB | Viewed 1524 times ]

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.
Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Tue Mar 21, 2017 2:27 am  (#29) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 14015
Location: Spain, Aragón
That is very clever and I like it a lot, PhotoMaster. :clap :coolthup

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Tue Mar 21, 2017 6:29 am  (#30) 
Offline
GimpChat Member

Joined: Mar 20, 2017
Posts: 5
Thanks Graechan, but this feature doesn't exactly suffice for my requirements. I need full customisation of each individual side of the cube, and each individual piece, by altering each layer corresponding to each side of the cube. I spent last night learning how to create the desired effect in Blender, with great results. Thanks for your help though. It's much appreciated.


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Wed Mar 22, 2017 1:33 pm  (#31) 
Offline
GimpChat Member

Joined: Mar 20, 2017
Posts: 5
Attachment:
File comment: A quick look at what I was trying to do.
3DCross.gif
3DCross.gif [ 939.99 KiB | Viewed 1562 times ]


So here is what I was trying to achieve. I'm very impressed with Blender's capabilities. It's very handy to let the computer render every frame for you. Of course, full credit goes to GIMP for allowing me to create this gif. Hope you find it interesting. Thanks guys.


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Wed Mar 22, 2017 2:23 pm  (#32) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8362
Location: On the other side of your screen
PhotoMaster wrote:
I just found this post tonight and I love this script!! I took the image I made for the Animated Cube Avatar tutorial and ran this script for each of the 36 layers of my image. I had the script create 36 layers each time. I took layer 1 from the result on layer 1 of my image, 2 from layer 2, etc. until I had all 36 layers. Added shadows and a background and I have an animation within an animation.

Do you think you could do that on each square, or is that too much of a challenge? I know I couldn't do it. Be great to see if anyone can ;)

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.0 and GMIC-Qt 3.7.5 OS :- Windows 10 Home 64


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Wed Mar 22, 2017 3:41 pm  (#33) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
Certainly! Started on it already.

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Wed Mar 22, 2017 6:52 pm  (#34) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2090
PhotoMaster wrote:
I just found this post tonight and I love this script!! I took the image I made for the Animated Cube Avatar tutorial and ran this script for each of the 36 layers of my image. I had the script create 36 layers each time. I took layer 1 from the result on layer 1 of my image, 2 from layer 2, etc. until I had all 36 layers. Added shadows and a background and I have an animation within an animation.

Holy cow, that's impressive.

_________________
Image


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Thu Mar 23, 2017 1:45 am  (#35) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
Here is an animation within an animation within an animation. In doing this I discovered that there is a mathematical error in the coding of the Map Objects filter when doing cubes. If you notice the blue Rubik's cube is spinning to the right on three sides and to the left on one. The Rubik's Cube Rel 2 Script uses G'Mic so it shouldn't suffer the same problem.


Attachments:
TripleAnimation.gif
TripleAnimation.gif [ 834.33 KiB | Viewed 1534 times ]

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.
Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Thu Mar 23, 2017 2:52 am  (#36) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
Here is the triple animation using Rubik's Cube Rel 2 Script and the result was exactly what I had wanted!
Thanks again for an AWESOME script!!


Attachments:
Good_Cube.gif
Good_Cube.gif [ 1.52 MiB | Viewed 1531 times ]

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.
Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Thu Mar 23, 2017 3:06 am  (#37) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8362
Location: On the other side of your screen
PhotoMaster wrote:
Here is the triple animation using Rubik's Cube Rel 2 Script and the result was exactly what I had wanted!
Thanks again for an AWESOME script!!
cool :) Thanks for taking up the challenge

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.0 and GMIC-Qt 3.7.5 OS :- Windows 10 Home 64


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Thu Mar 23, 2017 4:10 am  (#38) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
My pleasure! I am having a blast with this!

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Thu Mar 23, 2017 4:54 am  (#39) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2090
PhotoMaster wrote:
Here is the triple animation using Rubik's Cube Rel 2 Script and the result was exactly what I had wanted!
Thanks again for an AWESOME script!!

Incredible work my friend.

_________________
Image


Top
 Post subject: Re: Rubiks Cube Rel 2 Script
PostPosted: Thu Mar 23, 2017 3:21 pm  (#40) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
I used G'Mic to animate a cup (G'Mic>Rendering>3d Image Object).
Then I used Rubiks Cube Rel 2 to animate the cube.


Attachments:
CupAni.gif
CupAni.gif [ 1.08 MiB | Viewed 1513 times ]

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.
Top
Post new topic Reply to topic  [ 56 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group