| GimpTalk http://www.gimptalk.com/forum/ |
|
| Sketched Glass Tutorial http://www.gimptalk.com/forum/viewtopic.php?f=8&t=4042 |
Page 1 of 4 |
| Author: | kward1979uk [ Fri Mar 17, 2006 10:55 pm ] |
| Post subject: | |
This is the end result:-
For this tutorial you will need both Sketch Script-fuand Glass Script-fu please download them if you dont already have them installed. You will find them under image => Script-fu => gimp-talk.com =>Sketch... image => Script-fu => gimp-talk.com =>glass... [*]First find the pic that you wish to have engraved and open it with gimp the layer must not have an alpha channel to make sure it doesnt flatten the image. and the Mode is RGB
[*]Run the Sketch script-fu (image => Script-fu => gimp-talk.com =>Sketch...) using the standard setting of a white background (if this option is greyed our go back to the first step as you have missed part of it) [*]Tidy up the sketch removing lines that you dont want to be etched (take care to check around the edges as the script sometimes leaves so stray marks ( I prefer to select an oval around the image then press ctrl+ i to invert the selection then ctrl+ k to cut it so that the edges of the sketch as more subtle) [*]Delete the white layer so that you are left with just a black sketch image on a transparent layer (if you want to use a image you have sketched yourself you could sketch it on paper then use alpha to image to remove the paper background)
[*]save the image as a gif [*]Open up a new transparent image at whatever size you want your glass background [*]Name the layer as glass [*]Draw onto the layer what you want the glass shape to be using a colour other then black (it doesn't matter but just helps to see what you are doing when you start to use the other layers)
[*]now goto file => open as Layer and open the saved sketch [*]Position the sketch where you want it to be sketched (as well as moving the layer around you may have to scale the layer to fit)
[*]Create a text layer and type in any text you have this works best if you use a fine script style font
[*]make sure all layers are the size of the image by going to layer => layer to image size on each of the layers now you are ready to turn you layers into glass [*]select the layer you named glass and goto image => Script-fu => gimp-talk.com =>glass... [*]run the script with these settings
[*]Now select the Sketch layer and goto image => Script-fu => gimp-talk.com =>glass... again [*]run the script with these settings
[*]Now select the Text layer and goto image => Script-fu => gimp-talk.com =>glass... again [*]run the script with these settings
[*]Create a new layer and name this layer background [*]Fill the layer with the background you want this can be anythink other then white or black because if you use these the shadows wont apper properly [*]move this layer right down to the bottem
merge all visable layers |
|
| Author: | fencepost [ Fri Mar 17, 2006 11:41 pm ] |
| Post subject: | |
YEAH! I can't wait to try this out. Thanks so much for sharing. This is a fabulous effort. Art |
|
| Author: | Hunting King [ Sat Mar 18, 2006 12:38 am ] |
| Post subject: | |
That is a great effect, I love my turnout! :h:
Thanks :l: |
|
| Author: | Wolf [ Sat Mar 18, 2006 1:00 am ] |
| Post subject: | |
AMAZING, simply...ty soo much |
|
| Author: | kward1979uk [ Sat Mar 18, 2006 8:06 am ] |
| Post subject: | |
Thanks I'm glad you like it, |
|
| Author: | Nevon [ Sat Mar 18, 2006 11:33 am ] |
| Post subject: | |
Hmm, the scetch script doesn't work for me. It's in the list, but I can't press it. |
|
| Author: | kward1979uk [ Sat Mar 18, 2006 11:35 am ] |
| Post subject: | |
Quote: Hmm, the scetch script doesn't work for me. It's in the list, but I can't press it. flattern the image iand make sure it is set to RGB as this is the only mode that this wil work on
|
|
| Author: | Kronos [ Sat Mar 18, 2006 2:03 pm ] |
| Post subject: | |
umm when i try and download the sketch thing i get this msg when i click download to desktop Quote: (define (spline-sketch)
(let* ((a (cons-array 18 'byte))) (set-pt a 0 0 0) (set-pt a 1 190 0) (set-pt a 2 191 1) (set-pt a 3 210 210) (set-pt a 4 220 220) (set-pt a 5 230 230) (set-pt a 6 240 240) (set-pt a 7 250 250) (set-pt a 8 255 255) a)) (define (sketch inimage indraw bg-colour) (set! theImage inimage) (set! theDraw indraw) (gimp-image-undo-group-start theImage) (set! height (car (gimp-drawable-height theDraw))) (set! width (car (gimp-drawable-width theDraw))) (plug-in-edge 1 theImage theDraw 2 1 0) (gimp-equalize theDraw 0) (gimp-desaturate theDraw) (set! highpass (car (gimp-layer-copy theDraw 1))) (gimp-image-add-layer theImage highpass 1) (gimp-curves-spline highpass 0 18 (spline-sketch)) (gimp-invert theDraw) (gimp-layer-add-alpha theDraw) (set! imagemask (car (gimp-layer-create-mask theDraw 0))) (gimp-layer-add-mask theDraw imagemask) (gimp-edit-copy highpass) (set! copy-paste (car (gimp-edit-paste imagemask 0))) (gimp-floating-sel-anchor copy-paste) (gimp-context-set-background bg-colour) (set! background (car (gimp-layer-new theImage width height 1 "background" 100 0))) (gimp-drawable-fill background 1) (gimp-image-add-layer theImage background 0) (gimp-image-remove-layer theImage highpass) (gimp-image-lower-layer theImage background) (gimp-image-undo-group-end theImage) (gimp-displays-flush) ) (script-fu-register "sketch" "<Image>/Script-Fu/Gimp-talk.com/sketch..." "Turns a image into a sketch if the image is a alpha layer it must be flatterned first" "Karl Ward" "Karl Ward" "Feb 2006" "RGB" SF-IMAGE "SF-IMAGE" 0 SF-DRAWABLE "SF-DRAWABLE" 0 SF-COLOR "Background Colour" '(255 255 255) ) and almost the same thing with the glass one too :s: |
|
| Author: | kward1979uk [ Sat Mar 18, 2006 3:39 pm ] |
| Post subject: | |
Quote: umm when i try and download the sketch thing i get this msg when i click download to desktop
Quote: (define (spline-sketch) (let* ((a (cons-array 18 'byte))) (set-pt a 0 0 0) (set-pt a 1 190 0) (set-pt a 2 191 1) (set-pt a 3 210 210) (set-pt a 4 220 220) (set-pt a 5 230 230) (set-pt a 6 240 240) (set-pt a 7 250 250) (set-pt a 8 255 255) a)) (define (sketch inimage indraw bg-colour) (set! theImage inimage) (set! theDraw indraw) (gimp-image-undo-group-start theImage) (set! height (car (gimp-drawable-height theDraw))) (set! width (car (gimp-drawable-width theDraw))) (plug-in-edge 1 theImage theDraw 2 1 0) (gimp-equalize theDraw 0) (gimp-desaturate theDraw) (set! highpass (car (gimp-layer-copy theDraw 1))) (gimp-image-add-layer theImage highpass 1) (gimp-curves-spline highpass 0 18 (spline-sketch)) (gimp-invert theDraw) (gimp-layer-add-alpha theDraw) (set! imagemask (car (gimp-layer-create-mask theDraw 0))) (gimp-layer-add-mask theDraw imagemask) (gimp-edit-copy highpass) (set! copy-paste (car (gimp-edit-paste imagemask 0))) (gimp-floating-sel-anchor copy-paste) (gimp-context-set-background bg-colour) (set! background (car (gimp-layer-new theImage width height 1 "background" 100 0))) (gimp-drawable-fill background 1) (gimp-image-add-layer theImage background 0) (gimp-image-remove-layer theImage highpass) (gimp-image-lower-layer theImage background) (gimp-image-undo-group-end theImage) (gimp-displays-flush) ) (script-fu-register "sketch" "<Image>/Script-Fu/Gimp-talk.com/sketch..." "Turns a image into a sketch if the image is a alpha layer it must be flatterned first" "Karl Ward" "Karl Ward" "Feb 2006" "RGB" SF-IMAGE "SF-IMAGE" 0 SF-DRAWABLE "SF-DRAWABLE" 0 SF-COLOR "Background Colour" '(255 255 255) ) and almost the same thing with the glass one too :s: This has been addressed several time before in other threads all you need to do is copy and paste the whole of the script into something sush as notepad then save it with the extension .scm then save it into your script folder and restart GIMP see FAQ's if you need more specific instructions about where to save it |
|
| Author: | Andarel [ Sat Mar 18, 2006 3:53 pm ] |
| Post subject: | |
If you're using Firefox, right click the LINK and press Save Link As. Save it directly to your Scripts folder as {name}.scm Otherwise, copy it all and paste it into Notepad, save it as a .scm, and then put it into your scripts folder. The Firefox thing may work with IE, but I don't think so. I'll confirm later. |
|
| Author: | willman [ Tue Apr 11, 2006 5:16 pm ] |
| Post subject: | |
Awesome tutorial... I'm new to Gimp for over a week now and have been creating images for the past few days. My results...
You can say I'v been going crazy with this... Thanks for the tut. |
|
| Author: | Drago [ Tue Apr 11, 2006 5:49 pm ] |
| Post subject: | |
Looks like this'll be GREAT for text. I'll grab the scripts and edit, later. |
|
| Author: | kward1979uk [ Tue Apr 11, 2006 9:54 pm ] |
| Post subject: | |
Quote: Looks like this'll be GREAT for text.
I'll grab the scripts and edit, later. What do you you need to edit it for it can be used on text as it is all you need to do is create the a text layer then run the script |
|
| Author: | FunkyFloyd [ Thu Jun 22, 2006 2:39 am ] |
| Post subject: | |
how on earth did i miss this? ive been looking for something like this. |
|
| Author: | monkey_360 [ Thu Jun 22, 2006 3:18 am ] |
| Post subject: | |
wow .. |
|
| Author: | Admiral [ Thu Jun 22, 2006 4:35 am ] |
| Post subject: | |
great script and tut ;D going to be using in an upcoming project |
|
| Author: | stefcho_94 [ Sat Jun 24, 2006 3:17 am ] |
| Post subject: | |
I'm trying to make a window right now :l: :l: |
|
| Author: | Socom2player [ Sun Jun 25, 2006 10:10 pm ] |
| Post subject: | |
Im trying to dl the scripts but when I click the button a window pops up for like 2 seconds sthen it closes |
|
| Author: | Mandoragon [ Mon Jun 26, 2006 4:41 pm ] |
| Post subject: | |
First post, just wondering but this does use alpha doesnt it (whence the see throughness). If any one could awnser this question, Would it be possible to use this as a texture in Blender (blender3d.org) with it still looking like glass..? Very nice effect well done, Will try later. |
|
| Author: | Motorbikeman [ Thu Jun 29, 2006 9:58 am ] |
| Post subject: | |
I've been lurking for a bit, working through the tutorials and this is one of the first images I've done. This is a great tutorial, very easy to follow once I'd sorted out installing the scripts. Many thanks. [img]http://i29.photobucket.com/albums/c273/MotorbikeMan/XKRGlass.gif[/img] Edit - Anyone any ideas why I can't get the image to show? |
|
| Author: | Vertigo [ Thu Jun 29, 2006 4:26 pm ] |
| Post subject: | |
You have to post it in quick reply box. |
|
| Author: | Motorbikeman [ Thu Jun 29, 2006 4:32 pm ] |
| Post subject: | |
Ok, I'll try again :h:
That works :l: Many thanks. Looking at it again, I could have been more careful with the edges as they's gone a bit straight in places and gone a bit pixely, but considering I've only had Gimp for a couple of days, I'm relatively happy :l: |
|
| Author: | PhotoMaster [ Thu Jun 29, 2006 5:20 pm ] |
| Post subject: | |
A minor variation on this AWESOME tut. (Not hijacking ) I took the camera picture, and got rid of the background with the path tool and Selection from path. Used the glass script to make the glass outline (keep cropped camera image.) I used threshold on the cropped camera layer, selected the black and cleared it Used the glass script on the remaining white part. This is what I got.
Greg |
|
| Author: | Sharp Wind [ Mon Jul 03, 2006 10:47 am ] |
| Post subject: | |
Hello! I'm new to this forum, just so you know... This is an awesome effect! I tried it and it turned out really neat! Ill see if I can post a picture...
|
|
| Author: | HeartOblivion [ Mon Jul 03, 2006 10:06 pm ] |
| Post subject: | |
I don't find any of the folders where I am supposed to put the Scm files I have no Idea where |
|
| Page 1 of 4 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|