
Episode 032 – Shattered Photo
by Richard Querin
This screencast demonstrates one way of creating a shattered glass effect for an image or photo using Inkscape 0.45.
Tags: bitmap, glass, photo, shattered
This entry was posted
on Monday, August 13th, 2007 at 3:44 am and is filed under Uncategorized.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
November 6th, 2008 at 11:50 pm
Hi there, I feel stupid for asking this, but I’m getting frustrated. I’ve had great success in the last two days with your tutorials and I am very thankful for your contribution to the Inkscape community. However, I am completely unable to create a bezier path that ends up with sections like yours does. Mine ends up with a few open areas on the edges and a blob in the middle. Am I missing something? Is there a setting I’m missing somewhere? Like I said, I feel goofy asking this question, but I’m stuck!
Thanks again for the great tutorials,
chris
November 7th, 2008 at 6:08 am
@Chris – I assume you’re *not* closing the bezier path at the end right? With this method I create the spider web path but it’s left open at the end (so it’s not a closed path and therefore has no fill). The shapes only get created when I select the bezier path and the background rectangle and then select Path->Difference. Is that when you’re getting the blob in the middle?
Also, when you create the path, make sure you keep going in one direction around the rectangle (in the screencast I go counter clockwise for the spider cracks and counter clockwise for the spiral ending to it). It could change things if you go in different directions for each (although I’m not entirely sure of that).
Check those two things and leave a comment on how you make out. If you can, post a picture of what you are getting so maybe we can figure out the problem. Thanks.
November 7th, 2008 at 10:34 am
thanks for the quick reply.
Sorry I wasn’t clear. I was not closing the path. As you can see at this link, when I did the path->difference I ended up with an ugly blank spot in the middle of the image. I spent a foolish amount of time (mainly out of stubbornness) trying to replicate exactly what you did on the tutorial, but it was all for naught. I know I’m probably missing something really simple, but I’m stuck.
thanks again for your help and your tutorials.
chris
November 7th, 2008 at 12:30 pm
This is weird. I tried mimicking your path as best I could and when I selected Path->Difference the first time I got what you got. Then I hit ctrl-Z to undo and did it again and it worked out fine. Hmm. I can’t seem to recreate the problem now. Anyway, I also tried Path->Intersection and got a very similar result so you could either try doing the ctrl-z thing or try using Intersection instead of Difference. This is strange. Here’s my example let us know how you make out:
http://img79.imageshack.us/img79/6759/testing123ty2.png
November 7th, 2008 at 1:20 pm
Alright, I tried again, and it worked. I literally spent 2.5 hours last night trying to get that effect to work to no avail. I didn’t change a thing since this morning’s effort, and now it works great. I’ve tried to replicate the issue I was having and can’t. I’ve drawn counter-clockwise, clockwise, both directions, etc, and all have had the desired results. I’m not sure what happened, but I appreciate your help either way. Here’s my proof that it’s working now.
Thanks again and keep the tutorials coming!!
January 7th, 2010 at 4:08 am
hi there.
Thanks a lot Mr. Querin 4 ur informative and productive tutorials. really worth your time and efforts.
for the tutorial #32, i also got the same problem as Chris had. but i couldnt quite find out what went wrong. Spent quite lotsa time but still couldnt work it out. got frustrated here and there a bit. am gonna keep trying tho =)
btw, i’m using version 0.47.
January 11th, 2010 at 5:45 am
hi there again.
i’ve tried this tutorial using inkscape 0.45 instead. It worked wonders! yay!
so, i supposed i wouldn’t work in inkscape 0.47 as the result would be somewhat funny.
Thanks 4 this tutorial again.
Cheerio!!
January 11th, 2010 at 7:11 am
I’m sure it will work in 0.47. You’ll just have to take some different steps to get the same result. Of course, I haven’t tried it myself yet in 0.47 so I’m not quite sure what has changed.
January 12th, 2010 at 1:12 am
oh ya.. credit to you too heathenx for those awesome tutorials =)
i’m not that shrewd to figure out how to make the shattered glass effect works in the version 0.47 =(
January 12th, 2010 at 7:02 am
Well, if you can tell me what part you’re having trouble with then perhaps I can find some time today to get you going.
January 20th, 2010 at 6:36 am
hi heathenx.
i just opened my email and read your reply.
here i attached the url of the end result of shattered glass effect when i used the difference boolean operation on both inkscape version 0.45 and 0.47.
http://img517.imageshack.us/img517/4642/shatteredglasseg.jpg
January 21st, 2010 at 10:01 am
It’s all about how you draw your path with the pen tool. Richard has you going around in one direction which works just fine in 0.45. However, in 0.47 you have to randomize the path and in both directions, clockwise and counter-clockwise. Give it a try using that method and it should work for you. At least it does for me.
January 21st, 2010 at 11:47 am
thank you for your tips heathenx. I’ll give it a try.
=)
March 10th, 2010 at 8:29 am
I had same problem with 0.47, but good work. Thank you!