|
|
Anger!
This question may or may not be related to the flare, but I didn't want to
post another thread.
Anyway if I render my code:
#include "colors.inc"
#include "textures.inc"
#include "stars.inc"
#declare cam_loc = <0, 0, -10>;
#declare light_loc = <0,0,0>;
#declare lookat = <0, 0, 0>;
#declare sky_vect = <0,1,0>;
#declare flare_brightness = 5;
#include "bigstar.flr"
#include "nkflare.inc"
camera
{
location <0, 0, -10>
look_at <0, 0, 0>
}
sphere // transparent sphere containing media
{ <0,0,0> 1
pigment {rgbt 1} hollow
interior
{ media
{ emission 10
density
{ spherical density_map
{ [0 rgb 0]
[0.8 rgb <1,1,0>]
[1 rgb 1]
}
}
}
}
}
sky_sphere
{
pigment {
granite
color_map {
[ 0.000 0.270 color rgb < 0, 0, 0> color rgb < 0, 0, 0> ]
[ 0.270 0.290 color rgb <.5,.5,.4> color rgb <.8,.8,.4> ]
[ 0.290 0.470 color rgb < 0, 0, 0> color rgb < 0, 0, 0> ]
[ 0.470 0.490 color rgb <.4,.4,.5> color rgb <.4,.4,.8> ]
[ 0.490 0.680 color rgb < 0, 0, 0> color rgb < 0, 0, 0> ]
[ 0.680 0.700 color rgb <.5,.4,.4> color rgb <.8,.4,.4> ]
[ 0.700 0.880 color rgb < 0, 0, 0> color rgb < 0, 0, 0> ]
[ 0.880 0.900 color rgb <.5,.5,.5> color rgb < 1, 1, 1> ]
[ 0.900 1.000 color rgb < 0, 0, 0> color rgb < 0, 0, 0> ]
}
turbulence 1
sine_wave
scale .5
}
scale 0.1
}
The sun is there and the flare is very nice. Note I am 10 units back on the
Z axis. The shpere radius should also be 1 unit. If I move the camera back
to 100, or 1000 units on the Z axis, the sun still appears to be same size
on the scene!
This isn't what I want to happen - I effectively want to zoon out to get a
wider view. What I am doing wrong and/or have missed in documentation/FAQs?
Thanks very much for your help.
PS If you change the camera position be sure to change cam_loc (near the
top) to the same values.
Post a reply to this message
|
|