POV-Ray : Newsgroups : povray.newusers : Using Ambient Light Settings : Re: Using Ambient Light Settings Server Time
29 Jul 2024 06:19:42 EDT (-0400)
  Re: Using Ambient Light Settings  
From: zombiebhp
Date: 14 Jul 2006 11:25:00
Message: <web.44b7b6d1bc7d6ebc1709b0c0@news.povray.org>
"M_a_r_c" <jac### [at] wanadoofr> wrote:

> web.44b77e02bc7d6ebc1709b0c0@news.povray.org...
> > I appreciate your help,
> This is the purpose of these groups, you're welcome ;-)
> >but I have a problem with your solution. Anytime I
> > use a 'finish' at all I get an error message. I must not know how to use
> > 'finish' correctly.
>
> Please, could you paste your texture here, so we could help you
> Which message do you get?
>
>
> Marc

I've recently revised the image I will show what it looks like; it is not
much because I am new at this stuff.

#include "colors.inc"

global_settings {
  assumed_gamma 1.0
  max_trace_level 5
}

// ----------------------------------------

camera {
  location  <0.0, 0.0, 0.0>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0.0, 0.0, 0.1>
}

sky_sphere {
  pigment {
    gradient y
    color_map {
      [0.0 rgb <0,0,0>]

    }
  }
}
sphere
      { <0,0,0>860
      pigment { image_map
      { gif "Sunny.gif"
      map_type 1
    }
  }
  translate <0,0,1000>
}

sphere
    { <20,0,10> 10
    texture {
      pigment { image_map
      { gif "moon.gif"
       map_type 1
    }
  }
 }
}
light_source {
  <0, 0, 0>            // light's position (translated below)
  color rgb <1, 1, 1>  // light's color
  translate <-2, 0.01, 80>
}

// ----------------------------------------

sphere
    { <13,0.01,100> 7.6
  texture {
    pigment { image_map
    { gif "mapaS.gif"
     map_type 1
    }
  }
 }
}


Post a reply to this message

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