POV-Ray : Newsgroups : povray.binaries.images : light_group question Server Time
1 Nov 2024 05:22:42 EDT (-0400)
  light_group question (Message 1 to 2 of 2)  
From: jkb
Subject: light_group question
Date: 21 Apr 2002 00:33:18
Message: <3cc2410e@news.povray.org>
see post in p.g.

#version 3.5;

#include "colors.inc"

global_settings {
  assumed_gamma 1.0
}

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

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

sky_sphere {
  pigment {
    gradient y
    color_map {
      [0.0 rgb <0.6,0.7,1.0>]
      [0.7 rgb <0.0,0.1,0.8>]
    }
  }
}

light_source {
  <0, 0, 0>            // light's position (translated below)
  color rgb <1, 1, 1>  // light's color
  translate <-30, 30, -30>
}

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

light_group {
        light_source { <30,10,-30> color rgb <1,1,1>*.5 }
        plane { y, -1 pigment { color rgb <0.7,0.5,0.3> } }
        global_lights .7
     }


sphere {
  0.0, 1
  texture {
    pigment {
      radial
      frequency 8
      color_map {
        [0.00 color rgb <1.0,0.4,0.2> ]
        [0.33 color rgb <0.2,0.4,1.0> ]
        [0.66 color rgb <0.4,1.0,0.2> ]
        [1.00 color rgb <1.0,0.4,0.2> ]
      }
    }
    finish{
      specular 0.6
    }
  }
}


Post a reply to this message


Attachments:
Download 'test.jpg' (17 KB)

Preview of image 'test.jpg'
test.jpg


 

From: GrimDude
Subject: Re: light_group question
Date: 21 Apr 2002 01:44:16
Message: <3cc251b0@news.povray.org>
global_lights .7 is the same as global_lights on, I think.

Grim


Post a reply to this message

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