It is currently Tue Jul 02, 2024 3:29 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: My First Infinite Zoom In Gimp
PostPosted: Mon Jun 29, 2020 5:46 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
Image


I wanted to see if I could make an 'infinite zoom' in Gimp.
I figured out a method but haven't perfected it yet so sorry.

First I used Filters>Map>Recursive Transform - it's fun to learn to use.
Then I used G'MIC >Deformations>Zoom to zoom into the recursive transform by a set amount. What happens is the pixels get progressively bigger.
My solution is to paste and scale the original layer into each version of the on stage screen. There are less than 20 Gimp frames and this always makes a clear image. The paste and scale is not very scientific and there is human error because the frame can get vague.


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: My First Infinite Zoom In Gimp
PostPosted: Mon Jun 29, 2020 7:14 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
The rocking must be intentional because it looks like heavy metal concert :rocknod :gimp


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Mon Jun 29, 2020 10:50 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Looks great Tas. I did something similar a few years ago. Mine had a picture frame. Yours would probably look better with a frame as well.

*edit, I was able to find a link to that zoom animation. I did mine in Aviutl though.

Image


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Tue Jun 30, 2020 5:17 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
Image


Hi Nidhogg and racer. You guys can understand these are not too easy to make.

I improved the technique. Still using Recursive Transform and G'MIC Zoom. Now I duplicated the bottom layer and added 0.05 zoom to each subsequent layer. There are 26 layers in this but I doubled them to get a better speed.


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Tue Jun 30, 2020 6:40 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
That one looks better. I just found out you can do it all in G'mic using Droste and Zoom. Here is a quick 4-frame animation. I used reversed zoom, then reversed layer order. This reduces blur.

Attachment:
droste.gif
droste.gif [ 610.12 KiB | Viewed 8924 times ]


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Tue Jun 30, 2020 9:44 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Here's another interesting one using the same procedures. It would look better with more frames, but you get the picture...

Attachment:
droste2.gif
droste2.gif [ 213.31 KiB | Viewed 8907 times ]


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Wed Jul 01, 2020 2:52 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Dec 26, 2014
Posts: 199
A neat effect Tas_mania

Perhaps the rocking motion adds to the effect. To me it gives a sense of hurtling through the scene, while a smoother scene would give a sense of the viewer being static as the scene passed around them

I was intrigued how these were made and had a try at scripting the effect, got a script up and running but still needs a couple of niggles ironing out

steve
Attachment:
downtown 16layers.gif
downtown 16layers.gif [ 2.16 MiB | Viewed 8864 times ]


Attachment:
1024sq 2pixels wide.png
1024sq 2pixels wide.png [ 4.54 KiB | Viewed 8711 times ]


Last edited by Steve on Sat Jul 04, 2020 5:14 am, edited 1 time in total.

Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Wed Jul 01, 2020 4:05 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Cool animations guys, infinite zoom suits well for space travel.
Excited about your script Steve, tried manually but it didn't work.


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Wed Jul 01, 2020 5:02 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
Quote:
so cool

Thanks Isabella.

Pretty sure racer-x is using Droste Frames rather than Continuous Droste. (Not sure what 'reverse zoom is' :)
It gives a very smooth zoom.

Hi Steve, I agree with Nidhogg, a script would be very nice.......but not easy.
The zoom center must be in the center of the canvas.
My zooms and Steve's produce a slight 'pulsing' effect. I don't think it's an optical illusion. I suspect it's mathematical. More frames = more loss of resolution. Needs investigating. :)


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Wed Jul 01, 2020 5:36 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Tas_mania wrote:
Pretty sure racer-x is using Droste Frames rather than Continuous Droste. (Not sure what 'reverse zoom is' :)
It gives a very smooth zoom.

Yes, I used G'mic > Frames > Droste. Reverse Zoom is done entering negative numbers so you are zooming out. There is no blurring of quality this way because the image is downscaled vs upscaled.


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Wed Jul 01, 2020 7:17 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Dec 26, 2014
Posts: 199
That pulsing effect is the last niggle I can't remove, I think its something to do with a 2D screen trying to get a 3D effect, its more noticeable on some images than others

It seems I can't upload .py files to gimpchat and I've lost the ability to put files into a zipped folder so I've made a post on gimplearn, sorry about this

script on gimplean at
https://gimplearn.net/viewtopic.php?f=3&t=2738


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Wed Jul 01, 2020 9:38 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Thank you for the plug-in Steve :bigthup
No errors for me on 2.10.20 MX Linux.
The pulse is still visible, but I tried to fix it by changing the duration of first few frames.

Attachment:
InfiniteCorridor.gif
InfiniteCorridor.gif [ 1.92 MiB | Viewed 5506 times ]


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Wed Jul 01, 2020 10:10 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Thank's Steve, this makes it super easy. Tested with 16 frames set @ 60 ms. I'm running the same as Nidhogg.

Attachment:
zoom-test-16f.gif
zoom-test-16f.gif [ 1.34 MiB | Viewed 5500 times ]


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Wed Jul 01, 2020 4:40 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
G'mic has a frame filter called "Cube" and I used it to make a tunnel out of a stone texture that I made. It looks cool in this animation and I even managed to make the wall reflection on the chrome text. :bigthup

Attachment:
zoom-tunnel.gif
zoom-tunnel.gif [ 2.39 MiB | Viewed 5475 times ]


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Wed Jul 01, 2020 4:48 pm  (#15) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13068
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
This is how I feel viewing these images.
:hehe

Image

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Wed Jul 01, 2020 4:56 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Nov 22, 2018
Posts: 83
Its a long paddle to the end of the lake..... :hehe ...

Many thanks Steve, you made life a lot easier....


Attachments:
Lake.gif
Lake.gif [ 428.11 KiB | Viewed 5470 times ]

_________________
Image
Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Wed Jul 01, 2020 9:21 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
Quote:
This is how I feel viewing these images.
:hehe

Image


Thanks for uploading a script Steve.
I did this manually only 13 frames.

Hey racer, very nice brick animation. Where do you enter negative numbers? Can't do it in G'MIC Zoom or Droste Frames


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Thu Jul 02, 2020 12:38 am  (#18) 
Offline
GimpChat Member
User avatar

Joined: Dec 26, 2014
Posts: 199
Thanks Nidhogg, happy to see there were no problems. Good call on changing the timings of the frames to lessen the pulse effect, will look into this today

Thanks for testing racer-x, kicking myself now, wishing like your image I'd added a starry background

Brilliant image Wallace, it makes me laugh

Cool image FlutteringBy, keep paddling

Thanks for an inspiring thread Tas_mania


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Thu Jul 02, 2020 2:58 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Tas_mania wrote:
Where do you enter negative numbers? Can't do it in G'MIC Zoom or Droste Frames

Negative meaning less than 1 on the zoom scale. 1=normal size, 0.95=5% zoom out and so on. I used guides to see where I needed to stop. I then cropped the image in the end.


Top
 Post subject: Re: My First Infinite Zoom In Gimp
PostPosted: Thu Jul 02, 2020 9:04 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
Quote:
Negative meaning less than 1 on the zoom scale

Thanks racer. You could get up to 20 frames before you hit zero and a blank screen :)

Hi Steve,
I think your Python scripting has come a long way.
Your solution to this problem is really competent.
Interesting we both got that 'pulsing effect' using different methods?
Anyway a solution will reveal itself one day I'm sure.
Keep-up the coding if you can because there are people out there who appreciate it. :bigthup


Top
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Zoom

7

No new posts Animation playback zoom

3

No new posts Attachment(s) Help with Unified tool when ZOOM in SOLVED !!

6

No new posts Attachment(s) Initial Zoom Ratio = Show entire image?

4

No new posts [SOLVED]Does GIMP [2.10] have a "zoom to layer" function?

9



* Login  



Powered by phpBB3 © phpBB Group