POV-Ray : Newsgroups : povray.binaries.images : 1st CGSphere : Re: 1st CGSphere Server Time
2 Aug 2024 12:20:43 EDT (-0400)
  Re: 1st CGSphere  
From: Mike the Elder
Date: 10 Jul 2007 16:25:02
Message: <web.4693e9f048522dd3611beee20@news.povray.org>
Stefan Viljoen <spa### [at] removethispolardcom> wrote:
here were two main inspirations that guided the development of the piece:
>
> Pretty nice!
 Thanks ! (Thanks to nemesis as well.)
> How'd you do the sphere?
>
> color Clear??

Each latitude "band" is a torus for which the major radius is based on the
sine of an angle stepping from 0 to pi/2 radians and the y-axis elevation
is based on the cosine.  The "bottom half" is simply the same tori with the
elevation flipped negative. Using basic CSG, each torus is divided into a
front half, rendered in a basic "rgbft" yellow material (TrYl) and a back
half rendered in a somewhat darker version(TrYlD).  The material
definitions appear below.

#declare TrYl = material{texture{pigment{color rgbft<.5,.5,.1,.1,.4>}
finish{ambient 1.5 diffuse .4 }} interior{ior 1.1} }

#declare TrYlD = material{texture{pigment{color rgbft<.30,.30,.05,.1,.4>}
finish{ambient 1.5 diffuse .4 }} interior{ior 1.1} }

Regards,
Mike C.


Post a reply to this message

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