POV-Ray : Newsgroups : povray.advanced-users : CSG error. Help? : Re: CSG error. Help? Server Time
2 Nov 2024 05:17:51 EDT (-0400)
  Re: CSG error. Help?  
From: Alf Peake
Date: 29 Apr 2000 16:18:16
Message: <390b4388@news.povray.org>
Tor Olav Kristensen <tor### [at] hotmailcom> wrote in
message
news:390A282C.362D2FDF@hotmail.com...
>
> Tor Olav Kristensen wrote:
> >
> > Alf Peake wrote:
> > > Any ideas where the problem is please?
> > >
> >
> > I have no idea of what causes this error, but I
> > have included a file below that produces similar
> > errors in my POV-Ray v3.1g for Windows 98.
> >

I think this is probably a better and simpler demo scene than mine.

> > The spheres are "shining" through the cylinder
> > when there are many of them in a "sweep" behind it.
>
> I just discovered that the problem seems to
> disappear (in both mine and your scene) if one uses
>
> merge {
>
> instead of
>
> union {
>
> in the difference statement, then the problem
> disappears.
>

Just tried your suggestion and it did seem to work until I tried my
original scene and found it may move the problem somewhere else :(

I have a union of spheres similar to the one inside the loop in my
post but slightly different calculations with an, as yet, uncorrected
maths error. This is used in the difference to finish the seam and the
maths error leaves unwanted pieces in the CSG. These pieces do not
show if merge is used and the _join_  seems different but I can't see
why yet :-/

Your solution would seem to be OK for non-glass objects :)

Further info - Povray 3.0 for DOS doesn't work either.

--
Alf

http://www.peake42.freeserve.co.uk/
http://ourworld.compuserve.com/homepages/Alf_Peake/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.