|
|
I used nathan kopps lens flare to place a lens flare behind sphere. so that
it looks like the lens flare is behing the planet. But it dos not seem to
work. it keeps saying vector expression required. I'll post the code as
well. Any help would be greatly appreciated.
#declare cam_loc = <0,0,-10>;
#declare lookat = <0,0,0>;
#declare light_loc = <0,1,-4>; // <0,2,10> // -- Works <0,1,-2>
#declare sky_vect = <0,0,0>;
#declare light_rad = <0,0,0>;
#declare sphere_rad = <3,3,1>;
#declare sphere_loc = <0,1,0>;
camera {
location cam_loc
look_at lookat
}
sphere {
sphere_rad,sphere_loc,light_rad
}
sphere {
<0,0,0>, 3
texture {
pigment { image_map {
png "C:\Documents and Settings\Mits\Desktop\Maps\Mars.png"
map_type 1
interpolate 2
}
}
}
finish { ambient 0 diffuse 1 specular 0 }
translate <0,-2,0>
}
light_source { light_loc color <1,1,1> }
#declare flare_size = 0.5;
#include "space2.flr"
#include "hid_sph.inc"
#include "nkflare.inc"
Thanks in advance
Post a reply to this message
|
|