2016-09-16 8 views
1

私はPOV線で面光源をレイトレーシングしていて、ソースがどのように見えるかを確認したいと考えました。だから私はそれの横に拡散板を置く(それと平行にする)。私は、以下のarea_lightの設定から期待される点光源の5x5の配列ではなく、中心の光の単一の点光源しか見ることはできません。他の24点のソースがディスクを照らしているのを見ることができないのはなぜですか?POV-rayのarea_lightは1スポットしか取得できませんか?

#version 3.7; 
#include "colors.inc" // The include files contain 
#include "textures.inc" // pre-defined scene elements 
#include "shapes.inc" 
global_settings { assumed_gamma 1.0 } 
background { color White } 

camera { 
    orthographic 
    location <0,0,20> 
    look_at <0, 0, 0> 
    sky  <0, 0, 1> 
    right <-1, 0, 0> 
    angle 50 
} 

#declare plate = disc { 
    <0,0,0.99>, <0,0,1>,6 
    texture { pigment { color White }} 
    finish { diffuse albedo 1. } 
    } 

#declare my_light = light_source { 
    <0,0, 1>  
    color rgb <0.3,0.3,0.3> 
    area_light <5,0, 0>, <0,5,0>, 5, 5 
    } 

light_group { 
    light_source {my_light} 
    plate 
    global_lights off 
} 

enter image description here

答えて

1

Iは、単に追加光源定義に

area_illumination on 

および他のスポットが現れました。

関連する問題