POV-Ray : Newsgroups : povray.binaries.scene-files : soft prisms : Re: soft prisms Server Time
3 Sep 2024 00:17:38 EDT (-0400)
  Re: soft prisms  
From: Remco de Korte
Date: 9 Aug 1999 18:07:22
Message: <37AF513E.72E90B40@xs4all.nl>
Ron Parker wrote:
> 
> On Mon, 09 Aug 1999 18:24:38 +0200, Remco de Korte wrote:
> 
> >Is it a bug in the prism-object or somewhere else?
> 
> It's in the prism object.  For your purpose, since your prisms
> are always convex, you could just intersect a bunch of planes and
> bound them apropriately.
> 
> >I found another bug in my inc-file I can't solve.
> >Try rendering this:
> [code elided]
> >Both objects should look the same, but they don't. I can't find what I'm doing
> >wrong and where I'm doing it. If anyone has any ideas please let me know.
> 
> The problem is in your calculation of nn.  Its sign seems to be dependent on
> the direction you go around the prism.  I find that if I put a
> 
> #declare nn=-nn;
> 
> in the right place, the bad prism becomes good and the good one becomes bad.

Okay, thank you.
I guess I'll leave it at this for now.

Regards,

Remco
http://www.xs4all.nl/~remcodek/


Post a reply to this message

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