|
|
hello all
I'm just playing about with povray getting used to what going on ...BUT...
i either don't understand something or haven't turned something on as a simple
scene will not render a sphere with a spherical density modifier for the
containing medium i was expecting to see a sphere with a decreasing radial
colour density, instead its just not there. a variation on this is if i use a
density_map in which case only the outer most layer is viable.... WHY is this
happening? as it doesn't seem to be a very complicated thing to get to work,
even the example in the povray tutorial wont work.
I'm working in Linux (ubuntu 9.04 64 bit) Persistence of Vision(tm) Ray Tracer
Version 3.6.1 (Debian (x86_64-linux-gnu-g+
+ 4.3.3 @ x86_64-pc-Linux-gnu))
though the problem also happens in windows version
what do i change please thanks
James
code follows:
#include "colors.inc"
#include "textures.inc"
global_settings{ambient_light 0
max_trace_level 10
}
camera {
location <0, 0, 0>
look_at <0, 0, 10>
}
plane{<0, 1, 0>, -2
pigment {
checker color Red, color Blue
}
}
sphere {
<0, 0, 10>, 2
texture {pigment{ Clear}}
interior{
media{method 3
scattering{4,White}
density {spherical density_map
{ [0 rgb .01]
[0.4 rgb <1,0,0>]
[0.8 rgb <1,1,0>]
[1 rgb 1]
}
}
}
}
hollow
}
light_source { <0, 100, 0> <2,2,2>
fade_distance 75
fade_power 2
}
Post a reply to this message
|
|