POV-Ray : Newsgroups : povray.general : Writing array in inverse order : Writing array in inverse order Server Time
29 Jul 2024 10:17:25 EDT (-0400)
  Writing array in inverse order  
From: Albun
Date: 14 Feb 2012 09:00:01
Message: <web.4f3a67de114402c12e3764520@news.povray.org>
Hi,

so, i got a line for writing an array,  it's ok for this,
and the point are in one order (first to the last):

#write (Data, array_name[V],",\n")

But, i want an array with an inverse order (last to the first pt), and for
writing the same reverse array , with Reverse_Array, it's not really ok. There
is an output file, and it's possible to read it, but points are not where i
want...

#write (Data, Reverse_Array(array_name)array_name[V],",\n")

Maybe it's not the good macros for manipulating arrays in this case, or i use it
badly ?


Albun


Post a reply to this message

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