|
![](/i/fill.gif) |
Hi!
In the povray-code posted below, I'm trying to show two objects composed
of transparent light emitting material, that intersect eachother, simply
as an illustration of what the intersection should look like (first
object red, second green, in the intersection both colors are emitted
simultaneously).
This seems to work great, except when the surfaces of both objects come
close to eachother. Rendering the code should show some sort of cross
composed of areas/pixels that are either fully red or green. It is as
if the rays only see the entrance into one of both objects, and the
other object is disregarded. Rendering with anti-aliasing partly hides
the problems where they weren't too large in the first place, but the
cross is still very visible.
Is there an easy solution for this? (I suppose it's an accuracy
problem, not a real bug)
Many thanks,
Stefaan
// Povray code for two intersecting, light emitting transparent lathes
camera {
translate 1 * -z
rotate <-90, 0, 0>
}
#declare cone0 =
lathe {
linear_spline
2,
<0, 0>, <.4, 4>
}
#declare cone1 =
object {
cone0
transform {
translate -y * 2
rotate <90, 0, 0>
}
}
#declare cone2 =
object {
cone0
transform {
translate -y * 2
rotate <0, 0, 90>
rotate <90, 0, 0>
}
}
object {
cone1
pigment { color rgbt <0, 0, 0, 1> }
interior {
media {
emission rgb <.5, 0, 0>
intervals 1
samples 5
method 3
density { rgb 2 }
}
}
hollow
}
object {
cone2
pigment { color rgbt <0, 0, 0, 1> }
interior {
media {
emission rgb <0, .5, 0>
intervals 1
samples 5
method 3
density { rgb 2 }
}
}
hollow
}
Post a reply to this message
|
![](/i/fill.gif) |