|
|
i decided to use an area_light with a light bulb i made to try and
realistically light my scene. the main spherical part light bulb has a
radius of about 0.7 units. but when i set the area_light's two axises to
0.7 i got a parse error: Attempt to malloc zero size block: (File
...\..\source\point.cpp Line: 657)
here's the code for the light_source that gave me the problem;
light_source{
<0,6.6,0>1
area_light
x,z,1,1
fade_distance 10
fade_power 0.25
}
it works fine as long as the area_light's axises are at least 1 unit in
size. i dont know if this is a bug or not, so i thought i'd ask.
Post a reply to this message
|
|