It is currently Tue Jul 23, 2024 6:36 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Bunny landfill.
PostPosted: Wed Feb 26, 2014 10:10 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
Just an exercise in circle perspective (circle to line conversion) w/ Mathmap. I like this techniques since it gives you a better result the straight seamless texture perspective techniques (no obvious distortions for those that know what I'm referring to). Also, this technique doesn't require you to even have a seamless texture. May (or may not) make a tutorial soon.

As for why I chose bunnies, it's not that far off before Easter's here so why not bunnies (used DAP to generate the bunnies). lolol

:)

http://www.flickr.com/photos/34520999@N ... 3/sizes/o/

Image

_________________
Lyle

Psalm 109:8

Image


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: Bunny landfill.
PostPosted: Wed Feb 26, 2014 12:48 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
Excellent. I hope you do make a tutorial as this will probably prove very useful.


Top
 Post subject: OK; very simplified tut.
PostPosted: Wed Feb 26, 2014 1:56 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
I usually modify the mathmap code in interactive mode since I don't like the limits set by the author. That said, I kept this tute orthodox for simplicity (the bunny one I used two passes and blended together healing the seam with resynthesizer and I'm not going to do a tute for that since I'm lazy; lol). Anyway, first the pertinent links:

ref pattern (again, you don't really need a patter; just a bunch of objects, but patterns make things easier): http://lylejk.deviantart.com/art/Nylon-Splash-357050998

Mathmap preset (not my code; found it at the Mathmap forum at Flickr but can't find the link for the moment; I named it circ2line in my presets):

filter moon2panorama(
         image in,
         bool center_help (0),
         float center_x: -20-20 (0),
         float center_y: -20-20 (0),
         float span: 270-450 (360),
         float shift_x: -200-200 (0),
         float shift_y: -200-200 (0)
     )
     scaled = ri:[x, y/(1+9*center_help)]/W*span;
     shifted = (scaled - ri:[shift_x, shift_y])*pi/180;
     remapped = I*exp(-I*shifted);
     centered = (remapped*0.8+ri:[center_x, center_y]/100)*min(X, Y);
     if center_help && abs(y/Y) < 0.01 then
         rgbColor(1, 1, 0)
     else
         in(xy:[centered[0], centered[1]])
     end
end


First create a perfect circle selection and fill it (or select your object and copy paste):

Attachment:
fill_circle.png
fill_circle.png [ 931.25 KiB | Viewed 3296 times ]


Now run the preset adjusting span and shift_y as needed (this is where I edited the code interactively, but that's by choice; here I left everything as default per my earlier spiel):

Attachment:
cirlin.png
cirlin.png [ 279.12 KiB | Viewed 3296 times ]


Cropped and flattened with black background to share here:


Attachments:
result.jpg
result.jpg [ 2.84 MiB | Viewed 3296 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Bunny landfill.
PostPosted: Wed Feb 26, 2014 1:59 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
What file type do I save this as?


Top
 Post subject: Re: Bunny landfill.
PostPosted: Wed Feb 26, 2014 2:21 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
zipped and attached the file Erisian. :)


Attachments:
circ2line.7z [423 Bytes]
Downloaded 128 times

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Bunny landfill.
PostPosted: Wed Feb 26, 2014 2:23 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
Nice one Lyle - thank you :)


Top
 Post subject: Re: Bunny landfill.
PostPosted: Wed Feb 26, 2014 2:35 pm  (#7) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Very nice Lyle.

_________________
Image


Top
 Post subject: Re: Bunny landfill.
PostPosted: Wed Feb 26, 2014 3:08 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
Thanks Molly. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Bunny landfill.
PostPosted: Wed Feb 26, 2014 11:38 pm  (#9) 
Offline
GimpChat Member

Joined: Jan 13, 2014
Posts: 16
now i have to figure out how to use mathmap just to try this! :) i have it installed but i haven't gotten any tutorials read, so all i've done was open mathmap, stare at it blankly and closed it again :cool


Top
 Post subject: Re: Bunny landfill.
PostPosted: Thu Feb 27, 2014 9:17 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
If you see the plugin after launch, that's half the battle Schroedinger. You can either copy the text file above (if you are in interactive mode) or run the preset directly by browsing for it. The main support page for Mathmap is below. :)

http://www.complang.tuwien.ac.at/schani/mathmap/

_________________
Lyle

Psalm 109:8

Image


Top
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Bunny Illus

12

No new posts Marblelous Bunny for Easter.

0

No new posts Attachment(s) Realistic Engraving of Lyle's Bunny Illus

6



* Login  



Powered by phpBB3 © phpBB Group