POV-Ray : Newsgroups : povray.binaries.images : Stained Glass Revisited : Stained Glass Revisited Server Time
14 Aug 2024 05:20:47 EDT (-0400)
  Stained Glass Revisited  
From: How Camp
Date: 4 Dec 2002 13:57:16
Message: <3dee500c@news.povray.org>
I recognize there have been questions from time-to-time in the newsgroups
related to stained-glass windows.  As I've read through them, I've run into
some questions.  I'd like to create a stained-glass window based on an image
map I have.  In my simplistic approach, I thought of placing a transparent
crackle texture over my image, and then somehow coloring each of the
'pieces' in the texture to be the dominant color below.  Once the image was
created, I could take the resulting output and use various filter values to
allow light to pass through certain glass more than others, etc.

However, I'm not sure if this is really possible, or if it's the easiest way
to create this stained-glass effect.  Can one come up with a method to
'color in' a piece of the crackle pattern?

My latest sad and sorry attempt is attached.  I need to somehow know what
the color is behind each of these pieces.  The center color, average color,
whatever.  Something that allows me to transform each crackle 'piece' into a
solid color.

I messed around a bit with some of the filters recently posted in p.b.i by
Gena Obukhov (thanks!).  The result (second image showing square-ish
patterns) is more like the effect I'm looking for, but I'd rather not have
squares - the crackle pattern is more what I'm after.

Er, so... anyone know how I can work out a similar effect?


Post a reply to this message


Attachments:
Download 'ex_stglass2.png' (56 KB) Download 'ex_stglass.png' (101 KB)

Preview of image 'ex_stglass2.png'
ex_stglass2.png

Preview of image 'ex_stglass.png'
ex_stglass.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.