POV-Ray : Newsgroups : povray.newusers : I'm back : Re: I'm back Server Time
5 Nov 2024 09:26:00 EST (-0500)
  Re: I'm back  
From: David Wilkinson
Date: 14 Feb 2000 17:08:58
Message: <m6vgass3j9ajp52k9jhgekss1kg6bdhq1q@4ax.com>
On Mon, 14 Feb 2000 20:41:10 -0000, "Peter Cracknell" <pc### [at] lineonenet> wrote:

Hi Peter,

You need to reset xcount and xmover  in your xrow macro between the final two #end's.
e.g.

      #macro xrow (zmover)
          #while (xcount<xno)
            fgrass (xmover,zmover)
            #declare xcount = xcount + 1;
            #declare xmover = xmover + (maxmove-minmove)*rand(rdd)+minmove;
         #end
         #declare xcount =  0;  //  or control never hits fgrass on the 2nd call to
xrow
         #declare xmover= -1; //  or the row moves along in x
      #end

        xrow (10)
        xrow (5)

----------------------------
dav### [at] cwcomnet
http://www.hamiltonite.mcmail.com
----------------------------


Post a reply to this message

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