|
 |
Hello,
The holidays are over. I've started a new project... which has me
confused. I don't understand POV's behavior.
The attached image illustrates the issue well. Both objects are defined
in the same way, but one is a union{} (magenta) and the other is a
merge{} (cyan).
It's a very very simple object: two boxes and four cylinders.
So, why le merged object (in cyan) show a hole ?
<sdl>
#declare S = 11.00;
#declare R = 3.00;
#declare H = 0.50;
#declare corner = cylinder { <0, -H, 0>, <0, 0, 0>, R }
merge or union
{
box { <-S+R, -H, -S>, <+S-R, 0, +S> }
box { <-S, -H, -S+R>, <+S, 0, +S-R> }
object { corner translate <+(S-R), 0, +(S-R)> }
object { corner translate <-(S-R), 0, +(S-R)> }
object { corner translate <+(S-R), 0, -(S-R)> }
object { corner translate <-(S-R), 0, -(S-R)> }
}
</sdl>
For the rendering, I added a translate 15*y for the cyan object but the
problem is not here.
If you have an idea...
Regards
ps : actually, I'm trying to understand how subsurface scattering works,
and I've already noticed that this feature requires merge{} because
union{} don't work, certainly due to surface coincidence.
--
kurtz le pirate
compagnie de la banquise
Post a reply to this message
Attachments:
Download 'bug.png' (39 KB)
Preview of image 'bug.png'

|
 |