POV-Ray : Newsgroups : povray.binaries.images : first post Server Time
5 Nov 2024 22:22:27 EST (-0500)
  first post (Message 1 to 5 of 5)  
From: asfiXy
Subject: first post
Date: 5 May 2005 10:40:01
Message: <web.427a2f64d6faa4a749223f780@news.povray.org>
This is my first post on this newsgroup, so here is the reflective plane
over checkered sphere ;), with the source code:

camera {
 location <0,-2.5,-15>
 look_at -2.5*y
 sky <1,-5,0>
}

light_source {
 <500,500,-1000>
 color rgb 1
}

plane {
 y, -3
 pigment {
  color rgb <0.9,0.8,0.2>
 }
 finish {
  reflection { 1 metallic 1 }
  ambient 0
  diffuse 0.0
 }
}

sphere {
 0, 3
 pigment {
  cells
  color_map {
   [ 0 color rgbf <0.8,0.5,0.8,1> ]
   [ 1 color rgbf 1 ]
  }
 }
 interior {
  media {
   emission rgb 0.5
   intervals 100
   density {
    cells
    density_map {
     [ 0 color rgb -1 ]
     [ 1 color rgb <0.5,0.6,0.8> ]
    }
   }
  }
 }
 finish {
  specular 0.5/20
  roughness 0.3/20
 }
 rotate 51*z
 hollow
}

sky_sphere {
 pigment {
  gradient y
  color_map {
   [ 0 color rgb 1 ]
   [ 1 color rgb <0.5,0.6,0.9> ]
  }
 }
}


Post a reply to this message


Attachments:
Download 'reflsphere.jpg' (42 KB)

Preview of image 'reflsphere.jpg'
reflsphere.jpg


 

From: Dave Dunn
Subject: Re: first post
Date: 5 May 2005 12:05:01
Message: <web.427a431349f082d94ce44b20@news.povray.org>
"asfiXy" <lef### [at] voilafr> wrote:
> This is my first post on this newsgroup, so here is the reflective plane
> over checkered sphere ;), with the source code:

That's funny (literally). I had the same idea recently, but hadn't thought
to use media patterns to make the cubes, being more of a constructionist. I
think a little distance between the sphere and the plane might give it a
more "classic" look. Thanks for the chuckle.

//Dave Dunn - hos### [at] aolcom
#local D = union { torus {1,.1 clipped_by {plane {-x,0}}} sphere
{<0,0,1>,.1} sphere {<0,0,-1>,.1} cylinder {<0,0,-1>,<0,0,1>,.1} pigment
{rgb .8} finish {ambient .5 reflection {.5}} rotate x*-90 translate
<-.5,.5,5>} object {D} object {D translate <.5,-1,0>} plane {y,-2 pigment
{checker rgb 1, rgb 0 scale 5} finish {ambient .5}}


Post a reply to this message

From: Emerald Orchid
Subject: Re: first post
Date: 5 May 2005 15:27:45
Message: <427a73b1@news.povray.org>
OK, that *is* cool. :-)


Post a reply to this message

From: Alain
Subject: Re: first post
Date: 6 May 2005 22:16:01
Message: <427c24e1$1@news.povray.org>
asfiXy nous apporta ses lumieres en ce 2005-05-05 16:36:
> This is my first post on this newsgroup, so here is the reflective plane
> over checkered sphere ;), with the source code:
>
>  interior {
>   media {
>    emission rgb 0.5
>    intervals 100
>    density {
>     cells
>     density_map {
>      [ 0 color rgb -1 ]
>      [ 1 color rgb <0.5,0.6,0.8> ]
>     }
>    }
>   }
>  }
>
Very nice :)
One little thing, it renders WAY faster if you use "samples 100" instead of "intervals
100" for the 
media.
In my test, samples 100 renders in 18.52 seconds
intervals 100 takes 163.95 seconds! About 8.8 times longer for the same result.

Alain


Post a reply to this message

From: asfiXy
Subject: Re: first post
Date: 7 May 2005 10:55:01
Message: <web.427cd67c49f082d943ba5a640@news.povray.org>
you're right.
Thank you


Post a reply to this message

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