[EMAIL PROTECTED] wrote:
>[EMAIL PROTECTED] writes:
>
>> To me the problem looks that (in xform_tmp.h notation) the from[*] array seems
>> to be overwriten/not realy initialized in some parts, which causes "random"
>> numbers to appear.
>
>The problem seems to be with the bounding box culling.  The blue gear
>gets too small of a box and gl_transform_vb() incorrectly skips the
>clip test because of it.
>
>Here is a new calculate_bounds3() (dlist.c) that seems to work better.
>I've changed the starting vertex to obj->start instead of obj->data,
>initialized both min and max with the first vertex, instead of
>initializing max with the second vertex, and removed the else
>statements (I'm not sure if they're safe or not).
I just tryed the "new" calculate_bounds3 and calculate_bounds2, but it does
not solve the floating overflow/invalid problems on my VMS-box.

                 Jouk


Ceterum censeo tertium millennium post Christum natum anno MMI incepturum esse

>------------------------------------------------------------------------------<

  Jouk Jansen
                 
  [EMAIL PROTECTED]

  Technische Universiteit Delft        tttttttttt  uu     uu  ddddddd
  Nationaal centrum voor HREM          tttttttttt  uu     uu  dd    dd
  Rotterdamseweg 137                       tt      uu     uu  dd     dd
  2628 AL Delft                            tt      uu     uu  dd     dd
  Nederland                                tt      uu     uu  dd    dd
  tel. 31-15-2781536                       tt       uuuuuuu   ddddddd

>------------------------------------------------------------------------------<

Reply via email to