It is currently Fri Jun 05, 2026 11:38 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Saulgoode Mirror-dup script
PostPosted: Fri Feb 18, 2011 3:27 pm  (#1) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
I remember the very first version i believe was one of the first time i posted in a gimp forum, i was badly missing in gimp a virtual mirror and then Saulgoode come with a perfect soluction, that mirror script :geek

Well back to the present and to the point

would be possible change the input/output options of the script ?
i would need

FOR INPUT
not only the active layer but all layers mirrored,
with same setting by the same call
OUTPUT
all the mirrored layers in 1 new image.

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


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: Saulgoode Mirror-dup script
PostPosted: Sat Feb 19, 2011 1:11 am  (#2) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16011
That script rocks!

_________________
Image


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Mon Feb 21, 2011 6:01 am  (#3) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Example?

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Mon Feb 21, 2011 3:21 pm  (#4) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
from a image with 10 layers i would like a new image with 10 layers, all mirrored with same setting.

basically a added option to use for input all the layers, left the original image unmodified, and output a new image

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Mon Feb 21, 2011 5:04 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
But if all the layers had the same setting, wouldn't they still overlap each other? Or are you planning on manipulating those layers after the effect is run? Otherwise, you need the image size to enlarge to accommodate the effect. I think I know where you are going with this, just not entirely certain of how the result should be. Just curious.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Mon Feb 21, 2011 7:33 pm  (#6) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16011
After running the script you could just move the objects around on their layers.

_________________
Image


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Tue Feb 22, 2011 8:17 am  (#7) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
ROD & Saulgoode

i explain better

I am finishing a animation each image is a frame each with several layers all layers have transparency (except the BG )

example ( usually there are 4 or 5 layers,i used here only 2 to simplify )

1 layer of the first image

Attachment:
b.png
b.png [ 509.75 KiB | Viewed 3923 times ]


mow i add another layer on top , and this the visible of the first image
Attachment:
1.png
1.png [ 441.43 KiB | Viewed 3923 times ]


i say are frames, in each image layers are more then 2 all rotating along same center but with different speed and direction
anyway i need to mirror all the layers in each frames so this woulf be the correspondent still.

Attachment:
2o.png
2o.png [ 1.74 MiB | Viewed 3923 times ]


but remember that along the frames each layer rotate with same center, but different speed and direction
Then mirror each layer allow
1 to multiply image size without loosing quality
2 to multiply the centers of the moviment mantaing a perfect simmetry

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Tue Feb 22, 2011 8:26 am  (#8) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
mirror only the visible of each frames will be somehow limiting (in the mirrored frames i would like be free as final post work to offset layers modify their transparency and color ...

i am looking now in gmic , maybe some option of "mirrored array" may solve

BTW Rod the original was the vector looking bee you posted recently

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Tue Feb 22, 2011 11:02 am  (#9) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Do all layers share the same dimensions as the image?

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Tue Feb 22, 2011 11:10 am  (#10) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
yes

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Tue Feb 22, 2011 2:24 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
You mean, Mahv? Hehehehe. I posted the bee. And yes, I thought this was your intention, so you do want the image size to accommodate the mirrored action of all layers. Cool script idea.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Tue Feb 22, 2011 4:26 pm  (#12) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
yes it was your i modified a bit
Attachment:
Immagine.png
Immagine.png [ 167.44 KiB | Viewed 2034 times ]


I am tryng to make a video tutorial for 3D looking kaleidoscopic animation.
the basic idea is
1 found a good source should have large transparent part.
source image should have large transparent part, and should be rectangular largest side should be at least 1.5 bigger then smallest


2 duplicate several time the source
3 apply kaleidoscope with different setting on each layers,
taking care to reduce overlapping of transparent area
4 add a soft drop shadow at each layer
5 rotate each layer as required for each frame
6 from the center crop the square (large as smallest side of the rectangle )
7 now all layers have same size and position

8 Here i must mirror all layers in both directions

final postwork just some panning and zooming and the final crop at 16:9

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Wed Feb 23, 2011 4:24 am  (#13) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16011
That sounds awesome.What a cool idea for an animation.
I even know how you could make them go in dif directions. :)

_________________
Image


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Sat Feb 26, 2011 1:14 pm  (#14) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
If you mean to create an animation such as the following then I would recommend using the GAP.

Attachment:
spinning.gif
spinning.gif [ 542.21 KiB | Viewed 2014 times ]

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Sat Feb 26, 2011 1:25 pm  (#15) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Not exactly that:
the movement in your example is not mirrored only duplicated (well quadruplicated )

If the first thing move clockwise the next should be horizontally mirrored so should move anticlockwise

and the 2 below should vertically mirror what on top...your example look more as a array then as a mirrored array ...at least for the movement

Maybe i found how solve without a script...i am testing now

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Sat Feb 26, 2011 1:38 pm  (#16) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Still should be easily doable with GAP. After you have one animation (a sequence of multi-layer frames), flatten the layers and use plug-in-small-tiles to mirror and duplicate them (Small Tiles permits mirroring).

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Sat Feb 26, 2011 1:59 pm  (#17) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
that may be the right direction

the problem is that i would like avoid to flatten layers to be able to apply some final postwork on the mirrored layer

But i suppose i may well use map tiles on the layers (running with GAP frame modify/apply filter on layers for the first layer of each frame ,then for the second...)

i fear some offsetting but maybe is just a paranoia

I can't use Gmic, even if has a filter that should do that, and even adapt option for I/O:
often gmic "mirrored array" add white stripes to the merging lines, edit that white lines for a lot of frames would be a nightmare

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Sat Feb 26, 2011 2:19 pm  (#18) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
PhotoComix wrote:
the problem is that i would like avoid to flatten layers to be able to apply some final postwork on the mirrored layer

But i suppose i may well use map tiles on the layers (running with GAP frame modify/apply filter on layers for the first layer of each frame ,then for the second...

That should be possible with GAP (though I did not try it). Just use "all visible layers" for your layer selection in the first Frames Modify dialog.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Sat Feb 26, 2011 7:36 pm  (#19) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
thank i will try

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Saulgoode Mirror-dup script
PostPosted: Sat Feb 26, 2011 9:46 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
I'd prefer a script over GAP. GAP seems too far complicated to use straight out of the box, and I am guessing its why a lot of people choose not to use it.

PC: If you don't mind, if you do use GAP and like your result, would you mind sharing the process with the rest of us. I'd love to be adventurous and pursue this myself, but unfortunately, I have to pick my projects according to my skill sets. GAP isn't a part of that.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


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

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group