POV-Ray : Newsgroups : povray.general : Stained Glass Crackle Texture Server Time
5 Nov 2024 13:25:47 EST (-0500)
  Stained Glass Crackle Texture (Message 1 to 7 of 7)  
From: waggy
Subject: Stained Glass Crackle Texture
Date: 21 Jan 2007 15:40:00
Message: <web.45b3cf2867164d1b442464bf0@news.povray.org>
Inspired by Warp's relatively recent post to take a look at his "4 tips to
improve a simple POV-Ray scene" <http://warp.povusers.org/povtips/>,  I
thought I'd post my recent experience with what I imagined would already be
thoroughly documented.  Please comment on what I posted to the POV-Ray wiki
or better yet, improve the wiki.

http://www.wikipov.org/ow.asp?StainedGlass

Perhaps google and I have missed the online repository of all things
POV-Ray, but I couldn't find a good description of how to do a decent
stained-glass crackle texture, even though this application is mentioned in
the POV-Ray manual.  Perhaps it's too cliche and has been purged from the
web by vigilante raytracing puritanical extremists?

Anyway, it took some doing, but I think it turned out alright.

Thanks for the feedback.
-David Wagner

P.S. I copied the article from my personal wiki, where there are
higher-resolution images, but I don't know how much traffic to expect from
this newsgroup.  I already got an unusual surge of bandwidth this month and
will hold off posting the link until February unless page hits are likely to
be fewer than a few thousand.


Post a reply to this message

From: Warp
Subject: Re: Stained Glass Crackle Texture
Date: 21 Jan 2007 16:43:02
Message: <45b3de66@news.povray.org>
waggy <hon### [at] handbasketorg> wrote:
> http://www.wikipov.org/ow.asp?StainedGlass

  That's odd. It looks more like a collection of oddly-shaped crystal
stones to me, joined by some mortar material. :P

-- 
                                                          - Warp


Post a reply to this message

From: waggy
Subject: Re: Stained Glass Crackle Texture
Date: 21 Jan 2007 21:55:00
Message: <web.45b42678de839507442464bf0@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
>   That's odd. It looks more like a collection of oddly-shaped crystal
> stones to me, joined by some mortar material. :P
>
That's a relief!  I was worried it might be mistaken for a mess of mutant
easter eggs lightly poached in petroleum jelly...

Seriously, a quick fix to my admittedly insipid filter 1...specular 0.8
treatment of the glass would be greatly appreciated, as all other
improvements would also be.

I posted this more to remind myself (and anyone else looking) how to use
this texturing technique than to make 'realistic' stained glass.  I'd
personally like to see suggestions for coding improvements even more than
how to add photon, radiosity, and other advanced glass simulation
techniques.  Incidentally, since I already have a height_field-leaded
version of this, I am considering doing a comparison among pure texture ,
height_field-leaded, and isosurface-leaded techniques.

With that said, I still think this would work well for a broken-bottle
mosaic, and with some truly funky crackle use, a nice sliced fruitcake.

-Waggy


Post a reply to this message

From: Sherry Shaw
Subject: Re: Stained Glass Crackle Texture
Date: 25 Feb 2007 09:56:39
Message: <45e1a3a7@news.povray.org>
waggy wrote:

>
>With that said, I still think this would work well for a broken-bottle
>mosaic, and with some truly funky crackle use, a nice sliced fruitcake.
>
>-Waggy
>
>
>  
>
Aaaaah, fruitcake.....

May I ask a silly question?  You noted in the wiki, "I like to use 
irrational* numbers for transformations such as this one to scale down 
the crackle texture."  Is there a particular reason for this?  Just 
curious (and hoping to learn something).

BTW, them's purty pitchers.

--Sherry Shaw


* I like irrational numbers.  I like to imagine them running around 
shouting "Wombat!" and tossing handfuls of chocolate pudding into the air.

-- 
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}//                                   TenMoons


Post a reply to this message

From: Warp
Subject: Re: Stained Glass Crackle Texture
Date: 26 Feb 2007 15:47:53
Message: <45e34779@news.povray.org>
Sherry Shaw <tenmoonsPutAtCharacterHereaol-dot-com> wrote:
> * I like irrational numbers.  I like to imagine them running around 
> shouting "Wombat!" and tossing handfuls of chocolate pudding into the air.

  I suppose you know where the name "irrational" comes from?

-- 
                                                          - Warp


Post a reply to this message

From: Sherry Shaw
Subject: Re: Stained Glass Crackle Texture
Date: 27 Feb 2007 11:40:52
Message: <45e45f14@news.povray.org>
Warp wrote:

>Sherry Shaw <tenmoonsPutAtCharacterHereaol-dot-com> wrote:
>  
>
>>* I like irrational numbers.  I like to imagine them running around 
>>shouting "Wombat!" and tossing handfuls of chocolate pudding into the air.
>>    
>>
>
>  I suppose you know where the name "irrational" comes from?
>
>  
>

Well, Phi just ran past the window shouting that it was because he 
couldn't be expressed as a ratio, but I don't know whether I ought to 
trust anyone with an aluminum foil pyramid on his head.

--Sherry Shaw

-- 
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}//                                   TenMoons


Post a reply to this message

From: Stephen
Subject: Re: Stained Glass Crackle Texture
Date: 27 Feb 2007 12:30:00
Message: <web.45e4697cde839507f1cb1e660@news.povray.org>
Sherry Shaw <tenmoonsPutAtCharacterHereaol-dot-com> wrote:

> Well, Phi just ran past the window shouting that it was because he
> couldn't be expressed as a ratio, but I don't know whether I ought to
> trust anyone with an aluminum foil pyramid on his head.
>

But he can be expressed as a ratio. A Golden one at that!
And his cousin Pi can be expressed as the ratio of her girth to her width.


Stephen


Post a reply to this message

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