POV-Ray : Newsgroups : povray.general : .u and .v operators? : .u and .v operators? Server Time
13 Aug 2024 19:19:41 EDT (-0400)
  .u and .v operators?  
From: Dan Connelly
Date: 5 Jul 1998 11:15:44
Message: <359F8A8E.C8883E2A@flash.net>
The following generate errors for me, on both 3.02 and
3.1 :

#declare uv = <1, 2>;
#render concat("u = ",str(uv.u, 1, 0), ", v = ", str(uv.v, 1, 0), "\n")

The .u works, but .v fails.

Similiarly, the following fails on .y but not .x :

#declare uv = <1, 2>;
#render concat("u = ",str(uv.x, 1, 0), ", v = ", str(uv.y, 1, 0), "\n")


Support for 2-vectors is documented -- is this a bug?

thanks,
Dan

-- 
http://www.flash.net/~djconnel/


Post a reply to this message

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