POV-Ray : Newsgroups : povray.binaries.images : Stained Glass Window w/Media Server Time
13 Nov 2024 20:33:58 EST (-0500)
  Stained Glass Window w/Media (Message 1 to 4 of 4)  
From: Anthony D  Baye
Subject: Stained Glass Window w/Media
Date: 23 Oct 2004 19:52:46
Message: <417AEEC8.70CBC243@gold.sdsmt.edu>
I started fiddling around with my stained glass window thursday and
started wondering what it
would look like with media.  An early render is attatched.

It's given me some Ideas for a new project, but it takes a long time to
render.

  Total Time:   19 hours 39 minutes 52 seconds (70792 seconds) --> On a
400 MHz Mac G4.

my media settings may be to blame, i had to confine them to a box with
the demensions of the room
or the scene whites out beyond the window.

box { <-29.375*ft, -0.015625, -39.625*ft> <29.375*ft, 49.375*ft,
39.625*ft>
 hollow on
 pigment { Clear }
 finish { ambient 1 diffuse 0 }
 interior {
  media {
   method 3
   intervals 5
   scattering { 2, rgb 0.0009 extinction .25 }
   samples 15, 25
//   confidence 0.9
//   variance 1/1000
//   ratio 0.9
   }
  }
  photons { pass_through reflection on refraction on }
 }

I could probably turn off reflection in the photons block, I just didn't
think about it.

Also, If anybody wants try the code in my signature, I'd appreciate any
coments.
I've always thaught the idea was interesting, I've just never been able
to simplify anything like that
until now.

ADB

--
//Anthony D. Baye, Student - Comp.Sci.
#default{pigment{rgb .47}finish{reflection 0.3 specular 0.5}}#macro
m(a,g,e)#local A=0;
#while(A<360)#local
am=a*.75;cylinder{vrotate(a*x,A*g*z),vrotate(am*x,(A+135)*g*z)e}
#local A=A+90;#end #local B=0;#while(B<360)sphere{a*x,e rotate
B/2*g*z}#local B=B+1;
#end #end m(2,1,.03)m(2,-1,.03)light_source{<-3,10,-15>,rgb
1}camera{location-7*z look_at 0}


Post a reply to this message


Attachments:
Download 'stained_glass.jpg' (125 KB)

Preview of image 'stained_glass.jpg'
stained_glass.jpg


 

From: Rafal 'Raf256' Maj
Subject: Re: Stained Glass Window w/Media
Date: 24 Oct 2004 21:28:11
Message: <Xns958D23360667Eraf256com@203.29.75.35>
ant### [at] goldsdsmtedu news:417AEEC8.70CBC243@gold.sdsmt.edu

> I started fiddling around with my stained glass window thursday and
> started wondering what it
> would look like with media.  An early render is attatched.

Nice :) 

Perhaps You could post entire source?



-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

From: Darren New
Subject: Re: Stained Glass Window w/Media
Date: 24 Oct 2004 21:58:43
Message: <417c5dd3$1@news.povray.org>
The image on the floor looks a bit ... focussed. It wouldn't really be 
that sharp. Maybe an area light on the other side of the glass or something?

The media is pretty well done, tho. :-)


Post a reply to this message

From: Anthony D  Baye
Subject: Re: Stained Glass Window w/Media
Date: 25 Oct 2004 01:17:46
Message: <417C8C78.BD4DF8F2@gold.sdsmt.edu>
I've actually been trying to remove the window to an outdoor archway opening
onto a garden,
but I can't seem to get the media to behave the way It does indoors.  Maybe
this isn't possible
without forcing the effect with conical media containers or other tricks like
that.

Please correct me if I'm wrong...

ADB.

Darren New wrote:

> The image on the floor looks a bit ... focussed. It wouldn't really be
> that sharp. Maybe an area light on the other side of the glass or something?
>
> The media is pretty well done, tho. :-)

--
//Anthony D. Baye, Student - Comp.Sci.
#default{pigment{rgb<0,.4,1>}finish{reflection 0.3 specular 0.6}}#macro
m(a,g,e)#local A=0;
#while(A<360)#local
am=a*.75;cylinder{vrotate(a*x,A*g*z),vrotate(am*x,(A+135)*g*z)e}
#local A=A+90;#end #local B=0;#while(B<360)sphere{a*x,e rotate B/2*g*z}#local
B=B+1;
#end #end m(2,1,.03)m(2,-1,.03)light_source{<-3,10,-15>,rgb
1}camera{location-7*z look_at 0}


Post a reply to this message

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