POV-Ray : Newsgroups : povray.general : Connect 2 points with a box : Re: Connect 2 points with a box Server Time
20 Nov 2024 00:20:52 EST (-0500)
  Re: Connect 2 points with a box  
From: Martin Thoma
Date: 29 Nov 2001 05:44:11
Message: <3C06113E.4635A40B@radiok2r.de>
Hi Christoph,

thanx for your answer, but it doesn't work:

       #declare a1 = <0, 1, 0>;
       #declare a2 = <xv3-xv1, yv3-yv1, zv3-zv1>;

        Reorient_Trans(a1, a2);

Gives me an Error in transforms.inc:

...
File: C:\Programme\POV-Ray for Windows v3.5\INCLUDE\transforms.inc  Line: 84
        #local vZ2 = vnormalize(vcross(vX2, vY));

        transform <----ERROR

Parse Error: Expected 'object or directive', transform found instead

What am I doing wrong?

Martin


Post a reply to this message

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