POV-Ray : Newsgroups : povray.binaries.images : Re: Difficult simple image : Re: Difficult simple image Server Time
18 Aug 2024 20:16:08 EDT (-0400)
  Re: Difficult simple image  
From: Dan Johnson
Date: 14 Mar 2001 23:42:35
Message: <3AB049CE.8005FAF8@hotmail.com>
Bill DeWitt wrote:

> "Dan Johnson" <zap### [at] hotmailcom> wrote :
> > I'm trying to make three hemispheres with different colors,
>
>     This is what happened when I used both "filter" -and- "transmit".
>
> ////////////////  Sphere  ///////////
> sphere  {
>   < 0.0, 0.0, 0.0 >, 1
>   texture {
>            pigment { rgbft < 2.0, 0.0, 0.0, 0.5, 0.5 > }
>           }
>   translate < 0.66, 0.0, 0.0 >
>   rotate    < 0.00, 0.0, 0.0 >
>     }
> ///////////////////////////////end Sphere
>
> ////////////////  Sphere  ///////////
> sphere  {
>   < 0.0, 0.0, 0.0 >, 1
>   texture {
>            pigment { rgbft < 0.0, 2.0, 0.0, 0.5, 0.5 > }
>           }
>   translate < 0.66, 0.0, 0.0 >
>   rotate    < 0.00, 120.0, 0.0 >
>     }
> ///////////////////////////////end Sphere
> ////////////////  Sphere  ///////////
> sphere  {
>   < 0.0, 0.0, 0.0 >, 1
>   texture {
>            pigment { rgbft < 0.0, 0.0, 2.0, 0.5, 0.5 > }
>           }
>   translate < 0.66, 0.0, 0.0 >
>   rotate    < 0.00, 240.0, 0.0 >
>     }
> ///////////////////////////////end Sphere
>
>  [Image]

You forgot
camera {location <0,5,0> look_at 0}
light_source {<0,100,0> rgb 1}
plane {y,0 pigment{White}}

Interesting, but couldn't make it work in my situation.  Had to make it
out of eight objects.  I'm still looking for ideas for other ways to do
it.


--
Dan Johnson

http://www.geocities.com/zapob


Post a reply to this message


Attachments:
Download 'spherical_triangle.jpg' (18 KB)

Preview of image 'spherical_triangle.jpg'
spherical_triangle.jpg


 

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