Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: POVRAY FPE's
@ 1998-07-10  6:53 Wes Bauske
  0 siblings, 0 replies; only message in thread
From: Wes Bauske @ 1998-07-10  6:53 UTC (permalink / raw)
  To: axp-list@redhat.com

OK,

For grins I downloaded the povray source RPM from RH's 
contrib directory and built it on my PC164LX, without
-mieee to see what it's problem is. It has two bugs
where stack variables get used but were never set under
certain conditions and one plain logic bug. Bugs are:

bcyl.c:


    415     switch (intersect_thick_cylinder(BCyl, Entry, dist))
    416     {
    417 /* wsb 0 is bad news here */
    418         case 0:
    419          break;
    420
    421       case 2:
    422
    423         if (dist[0] > EPSILON)


hfield.c:

   2102
   2103 /* wsb use abs() cause dx is 0.0 and maxdv is a divisor later */
   2104   maxdv = (fabs(dx) > fabs(dz)) ? dx : dz;
   2105
   2106   /* First test for 'perpendicular' rays. */


sor.c:

    569   VECTOR N;
    570
    571 /* wsb N doesn't get initialized and can't be zeros */
    572       Make_Vector(N, 1.0e-10,1.0e-10,1.0e-10);
    573
    574   switch (Inter->i1)

The lathdem*.pov demos look bad for all but one output but it
looks like it matches what my PII does so seems what I did
was plausible.

Note these are just plain coding errors. There is nothing
wrong with the Alpha.


Wes


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-07-10  6:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-10  6:53 POVRAY FPE's Wes Bauske

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox