POV-Ray : Newsgroups : povray.beta-test : Bug in beta 35 : Re: Bug in beta 35 Server Time
4 Jul 2024 13:17:00 EDT (-0400)
  Re: Bug in beta 35  
From: Le Forgeron
Date: 4 Jan 2010 14:02:13
Message: <4b423b35$1@news.povray.org>
Le 04/01/2010 19:02, Rosso5 nous fit lire :
> Hello everyone.

> I hope this will be fixed as soon as possible.
> In the meanwhile, I will try to uninstall beta 35 and install back version 34.
> 

It's all my fault. Sincerely. Sorry.

I forget to add a

VScaleEq(axis, -1.0);

inside


  if (apex_radius < base_radius)
  {
    /* Want the bigger end at the top */

    Assign_Vector(tmpv,base);
    Assign_Vector(base,apex);
    Assign_Vector(apex,tmpv);

    tmpf = base_radius;
    base_radius = apex_radius;
    apex_radius = tmpf;
    VScaleEq(axis, -1.0);  // Missing: opposite axis
  }

in cones.cpp::Cone::Compute_Cone_Data() (circa line 866)

Previously, axis was computed after that inversion.
It is now computed before, because I needed the length of the cone a bit
before.



> Thank you.
> Best regards.
>                    Rosso5


Post a reply to this message

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