POV-Ray : Newsgroups : povray.unofficial.patches : SuperPatch / bad triangle : Re: SuperPatch / bad triangle Server Time
2 Sep 2024 20:19:16 EDT (-0400)
  Re: SuperPatch / bad triangle  
From: edna dornblazer
Date: 30 Jun 1999 22:30:43
Message: <377AD28B.2BBA@geocities.com>
Ron Parker wrote:

> On Wed, 30 Jun 1999 19:00:44 -0400, edna dornblazer
> wrote:
> >The following triangle makes SuperPatch POV-Ray
> >(at least my DJGPP build) crash with SIGSEGV when
> >rendered at 320x240.
[ ... ]
> Works fine in my Windows superpatch too.  Make sure your source has
> the lighting.c that's dated June 10.  The older one has a bug when you
> use reflection.  There was one other change from that version, too, in
> render.c.

lighting.c and render.c are both from June 10.
My trace says its crashing from Reflect() calling Trace() 
which calls Determine_Apparent_Colour(),
and for some damn reason on the line call to Normal() 
(Triangle_Normal()) which is just a memcpy from and to
a couple of perfectly fine addresses.

Could there be something just so offensive about a 
particular spot (and view of that spot) on a triangle 
that POV acts like this?


Post a reply to this message

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