Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How did I lay an egg while waiting the 22h43 (10:43 PM)'s elevator
#1
Big Grin 
You will need to lay 2 eggs, not one... but two!
The first egg will be your map, the second one will be your colored egg with already a 3D shadowy effect.

No worries, once you did laid your first egg, you just apply the 2 filters used on the first egg to the second one.
GIMP will keep the setting of these two filters you've used on the first egg, so it's just a click on the OK button for the second egg.

Having said all that let's lay some eggs.

1) Create a base map

   White background
   New transparent layer,
   Filters ➤ Distorts ➤ Mosaic
       Hexagons /
       Tile size and Tile spacing will depend of your image's size (here it's 1920x1920) /
       Tiles height and color variations at the minimum
       Light color ➤ Click on it and make it transparent with the "A"(alpha) slider or input zero
       Merge down that layer and name it "Map"
   Then Filters ➤ Blur ➤ Gaussian blur... (again, blur will depend of your image size, here 3.5 for 1920x1920)

   

   
2) Prepare your chocolate
New transparent layer "choco"
   Set your FG #86563c / BG #6c3f31 colors (I took it from https://www.schemecolor.com/hot-chocolate.php )
   Gradient tool and did something like below

   


3) Lay your first egg (and the second one at the same time)
Select the "map" layer
   Filters ➤ Map ➤ Map Object... first tab make transparent background / sphere /new layer... (just look the screenshot below and don't zoom too much at the tab Orientation)
   
   

   
Select the "choco" layer
   Just do a Ctrl+F or go to Filters ➤ Repeat "Map Object"
   
Select the "map" layer
   Then Filters ➤ Distorts ➤ Curve bend... see below (use only Upper), I did Rotate for the purpose of this tuto to show you that you can rotate, but if you don't want don't do.
   Right click on it Layer to image size

   
   
Select "choco" layer
   Again just do a Ctrl+F or go to Filters ➤ "Repeat "Curve bend"
   Right click on it Layer to Image size
   
   
Congratulation you've perfectly laid your two eggs...

4) Getting almost there:
Because of the sphere transformation, in the center of the egg it's more blurred than on the edge, this is absolutely normal, but we do need to compensate or we will have a feeling of a more focused edges or back of the egg than the front.

keep only the "map" layer visible
Right click on that layer in the stack
   Alpha to selection
   Select ➤ Save to channel don't forget this step, then go to select back your layer.
   Select ➤ Invert
   Select ➤ Grow... this also will depend about your image size, here I did grow about 170 px
   Select ➤ feather... same as above, it depends about your image size, here I did 22 px.
   
Then go to the Channels tab.
   Right click on "Selection Mask copy" (that's the selection you saved to channel) -> Intersect with selection
   Go back to Layers tab and Select your egg layer!
   Filters ➤ Blur ➤ Gaussian blur... low setting, it's just to "equalize" the side blur with the bulgy front.
   Select None

   
   
Note: Using intersection this way (non feathered selection intersecting a feathered selection) GIMP can have a feathered selection on one side (here inner side) and a not feathered selection on the other side (outer side) in the very same selection.

To continue below (I can't put more images in the same post)

5) Lay your chocolate egg
   Only "choco" layer is visible and selected
       Filters ➤ Map ➤ Bump map... in the aux select your map
       then play with sliders like below
       Note: "Ambient lighting factor is quite important, it will give a "smoother" carving inside the carving

   
       
       
6) Shadow...
One advice (you take it, or you leave it): don't use Filters ➤ Light and Shadow ➤ Drop Shadow... that's wrong... it flattens behind the egg
   

Instead, do an alpha to selection on one of the egg ➤ then new layer ➤ fill with black and squeeze it down ➤ then blur and play with transparency, put below "choco", fine tune your squeezing as you wish

   


Now you can drink with your egg Big Grin

   
Reply
#2
Thumbs Up 
Nicely done, I ate some Wink

   
Reply
#3
PixLab,

I learned a lot from this tutorial!

When I found out that the tutorial was made on a size of 1920x1920 I had already started with another size, so I ended up adjusting most of the settings values.

In my result, with the bump map, I got some sort of unwanted grooves in the carving that should be smooth. (maybe my blur applied to the Map layer was not adequate).

I intend to redo the tutorial tomorrow and try to correct this error of mine.

Excellent idea to use a channel to equalize the blur between the center and the edges of the egg!

Thanks a lot for this tutorial!


As for the ease of following the tutorial, if you allow me some suggestions:

Considering that when applying Map to the Object, a new layer was created:

In step 3 it reads: Select the "map" layer;
I think it would be --> Select the "Map to sphere".

And right after where it reads: Select "choco" layer;
Maybe it's --> Select the 'Map to sphere #1'.

Also in step 4, which reads: keep only the "map" layer visible;
Maybe it's --> keep only the "Map to sphere" visible.

(03-27-2022, 01:28 AM)teapot Wrote: Nicely done, I ate some Wink

teapot, excellent!

I ate all of mine.  Blush Rolleyes
                               .....
Samj PortableGimp 2.10.28 - Win-10 /64.
Reply
#4
teapot, that's a great twist, big thumb-up, well done  Wink

(03-27-2022, 02:10 AM)Krikor Wrote: As for the ease of following the tutorial, if you allow me some suggestions:

Considering that when applying Map to the Object, a new layer was created:

In step 3 it reads: Select the "map" layer;
I think it would be --> Select the "Map to sphere".

And right after where it reads: Select "choco" layer;
Maybe it's --> Select the 'Map to sphere #1'.

Also in step 4, which reads: keep only the "map" layer visible;
Maybe it's --> keep only the "Map to sphere" visible.


You're right, thanks a lot to spot it out.
I forgot that "Map to Object" gives a name to the new layer because we checked "new layer" in the filter "Map Object",
I cannot edit the post anymore, I give 2 solutions here.

Solutions
You can un-tick the "Create new layer" in Map object... for the "map" (the first to become a sphere), this will keep both layer's original name as the Ctrl+F will also keep "choco", and the all tutorial should have proper layers' naming (fastest solution in my opinion, and that would be my "edit" if I could edit the post)

   

Or if you still want a spare (do you need it?), once it's a sphere, rename the base layers you used with Map Object... to something else and rename the new layer with a sphere inside to "map", same thing for "choco " Big Grin
Reply


Forum Jump: