It is currently Fri Apr 19, 2024 3:36 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Mapping Text To Sphere (2 Methods)
PostPosted: Sat Dec 14, 2013 11:48 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Aug 30, 2012
Posts: 2174
Image

In this tutorial we will be looking at two methods that can be used to map text onto a sphere, I'd just like to add that these are not my ideas, what you'll be reading is how I have interpreted others thoughts and methods into Gimp.

Method 1. This is the more traditional method and one which I have shared before but never in tutorial form, so some of you may know this technique already.

Method 2. This has come about because I have been researching "equirectangular images" although I have not been able to create a whole sphere yet, I have managed to map one face. So this second method although a bit more involved will cover this technique.

Personally, I prefer the second method but do understand it will be a matter of preference as to which you will prefer and think looks the best.

I will be using Gimp 2.8.8 for this tutorial but due to the filters being used it should cover a range of gimp installations.

Method 1 & 2

This part of the tutorial is required for both methods.

1. Open Gimp and go New>Image, Create an image of 512px * 512px, you can create any size you would like but it needs to be a square canvas.

2.Go View and make sure "Show Guides" and "Snap to Guide" are ticked, if not just click on the phrase to tick. Go Image>Guides>New Guides (by percent) and add horizontal and vertical guides at 25%, 50% & 75%.

Image

3. Set background colour to Black (000000) and set foreground colour to White (ffffff) then select the Blend Tool :blend, Change gradient to "FG to BG (RGB)" and set "Shape" to "Linear". Starting on the 50% Horizontal guide click and drag cursor to bottom of your canvas, you can follow the guides or hold the "Ctrl" key down to get a straight blend.

Image

4. Set foreground colour to Blue Violet (8a2be2), Then go Layer>New Layer, rename layer to "Sphere Colour" and check "Foreground Colour", click OK.

Image

5. Next we're going to enter our text but before we do I just want to mention something important. The square canvas will map around the complete sphere, so part of our image will be hidden when mapped as this will be at the back of the sphere, to make sure we don't lose any text we will need to make sure that the text is kept within the red shaded area below.

Image

6. Set foreground colour to Green (75d41d) and select the Text Tool :text, I will be using the font "Ariel Black" and size 120px, I have also set "Justify" to "Centred". Click anywhere on your canvas and enter your text. Note, I have purposely made my text bigger than the shaded rectangle above just to show how to rescale the text to fit.

Image

7. Go>Layer>Autocrop Layer, then select the Move Tool :move and position your layer in the centre of your canvas. Go>Layer>Scale Layer, we need to set the largest value to 50% of our canvas size, in this example my canvas is 512px so 50% would be 256px. The larger value is "width" so I am going to change this value to 256, Also make sure the chain next to the input boxes is linked as this will scale the layer proportionally.

Image

8. Go>Layer>Layer to Image Size, then go Layer>duplicate Layer. Click the "Eye Icon" to turn off our original text layer and then select the duplicate layer. Now the two tutorials will split, so follow the next steps for Method 1 or skip Down to Step 12 for Method 2.

Method 1

9. Go>Layer>Scale Layer and unlock the chain link by clicking on it, Then change width to 256px or half the size of your original canvas, Click OK. Next right click in layers dialogue and select "New from Visible". Select this new layer.

Image

10. Go>Map>Map Object and change settings to those shown Below and click OK.

Image

11. That's the first sphere completed, just click the Eye Icon to turn off the text layer and the sphere colour layer.

Image

Method 2

12. If you have followed method 1 then you will need to turn off your newly created sphere layer and switch back on the sphere colour layer and your original text layer. Select the text layer.

13. Go Filter>Distort>Polar Coordinates and use the settings shown below, then go Layer>Transform>Flip Horizontally.

Image

14. Go>Layer>Scale Layer and unlock the chain link by clicking on it, Then change height to 256px or half the size of your original canvas, Click OK. Select the Move Tool :move and postion your layer to the top and centre of canvas. Next right click in layers dialogue and select "New from Visible". Select this new layer.

Image

15. Go>Map>Map Object and change settings to those shown Below and click OK.

Image

16. That's the second sphere completed, just click the Eye Icon to turn off the text layer and the sphere colour layer.

Image

These techniques don't have to stop at just text, images can be mapped as well, so long as you keep within the red square as mentioned earlier. Here is an example of a Rubic cube I made and have mapped to the sphere.

Image

Happy Gimping.

Hearty.

_________________
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: Mapping Text To Sphere (2 Methods)
PostPosted: Sat Dec 14, 2013 5:00 pm  (#2) 
Thanks for sharing your research. :bigthup


Top
 Post subject: Re: Mapping Text To Sphere (2 Methods)
PostPosted: Sat Dec 14, 2013 5:02 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7304
Location: Göteborg at last!
Thank you he4rty. This kind of thing is always useful.


Top
 Post subject: Re: Mapping Text To Sphere (2 Methods)
PostPosted: Sat Dec 14, 2013 11:57 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Aug 30, 2012
Posts: 2174
Fluffy, Erisian - Thanks for the comment.
Conbagui - thanks for the little tip, I normally scale using this method but couldn't think how to explain it in the tutorial so went the other way.

_________________
Image


Top
 Post subject: Re: Mapping Text To Sphere (2 Methods)
PostPosted: Sun Dec 15, 2013 12:40 am  (#5) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Thanks, he4rty. I used the 1st method and it works well. Easy breezy! :hehe

Image

Image

Image

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: Mapping Text To Sphere (2 Methods)
PostPosted: Sun Dec 15, 2013 3:04 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Aug 30, 2012
Posts: 2174
Nice one tux, like the last image with the grid background as well.

_________________
Image


Top
 Post subject: Re: Mapping Text To Sphere (2 Methods)
PostPosted: Sun Dec 15, 2013 3:37 am  (#7) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7712
Location: On the other side of this screen
Thankyou He4rty.

_________________


Top
 Post subject: Re: Mapping Text To Sphere (2 Methods)
PostPosted: Fri Jan 03, 2014 7:19 am  (#8) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
I think you will like also Mathmap Animated sphere, "animated because wrap better then the others (in MM there is also Distort/Sphere and Map> Sphere, ) equirectangular images

if you set frames = 1 , you will got a still image

hummn i can't find quickly examples with rectangular images , only with pattern

Image
Xspheric (on Black) by PhotoComiX, on Flickr

And even if written to create something else (ellipsoids ) there is another cool filter that may create (sort of ) spherical projection: "Rectangle to Ellipsoid" if the image ratio is different from 1:1 does ellipsoids if is 1:1 does does sort of spheres

Image
a Glimpse on ElseWhere by PhotoComiX, on Flickr

_________________
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: Mapping Text To Sphere (2 Methods)
PostPosted: Fri Jan 03, 2014 12:27 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
These are good methods he4rty.
I also had a similar approach here viewtopic.php?f=23&t=6015&hilit=mapping+objects+to+sphere

The only problem I have is with Map to Object plugin itself.

It hasn't been improved much since version 2.4 and obviously doesn't map well.
I don't want to compare gimp's M2O to UV mapping in 3d applications (those are simply amazing)
but even gimp's commercial counterparts are light-years ahead in this department.


Top
 Post subject: Re: Mapping Text To Sphere (2 Methods)
PostPosted: Sat Jan 04, 2014 3:29 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Aug 30, 2012
Posts: 2174
PhotoComix wrote:
I think you will like also Mathmap Animated sphere, "animated because wrap better then the others (in MM there is also Distort/Sphere and Map> Sphere, ) equirectangular images

if you set frames = 1 , you will got a still image

hummn i can't find quickly examples with rectangular images , only with pattern

[ Image ]
Xspheric (on Black) by PhotoComiX, on Flickr

And even if written to create something else (ellipsoids ) there is another cool filter that may create (sort of ) spherical projection: "Rectangle to Ellipsoid" if the image ratio is different from 1:1 does ellipsoids if is 1:1 does does sort of spheres

[ Image ]
a Glimpse on ElseWhere by PhotoComiX, on Flickr


Nice images and thanks for the info, tried installing mathmap once but didn't get very far so maybe its time to try again.

_________________
Image


Top
 Post subject: Re: Mapping Text To Sphere (2 Methods)
PostPosted: Sat Jan 04, 2014 3:45 am  (#11) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
If you like mapping is a excellent tool
But in case take care of a not obvious detail, Mathmap support supersamplig that greatly enhanced the quality .
Alas for some reason "supersampling " is switched off by default so you should remember to mark its box (it is close to the preview window) ...if not render quality become similar to that of Map Object, with Supersampling on there is a jump.

Render time is more or less the same so seems no reason to deactivate Supersampling , but instead the option is off has to be manually switch on at each session

_________________
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 new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Plays with Colours Mapping

12

No new posts High Intensity Texture Mapping

0

No new posts Attachment(s) Glass sphere.py

7

No new posts Los Vegas Sphere

0

No new posts Bevel Reflect logo and sphere

10



* Login  



Powered by phpBB3 © phpBB Group