POV-Ray : Newsgroups : povray.binaries.images : Why does this not work? : Why does this not work? Server Time
18 Aug 2024 08:26:14 EDT (-0400)
  Why does this not work?  
From: Thomas Lake
Date: 13 May 2001 20:55:38
Message: <3aff2d0a$1@news.povray.org>
I have the following code to produce a place of blocks, why is it that it
only produces 1 row?

#declare FStoneH = 1;
#declare FStoneW = 6;
#declare FStoneL = 6;

#declare FMortar = 0.2;
#declare FZtrans = FStoneL+FMortar;

#declare TunHight = 30;
#declare TunWidth = 60;
#declare TunLength = 200;

#declare FZpos = 0;
#declare FloorTrans = (TunWidth/2-FStoneW/2);
#declare FloorWidth = 0;

#while (FloorWidth < TunWidth )

  #while (FZpos < TunLength)

    object{
      Flagstone
      translate <FloorTrans,0,FZpos>

    #declare FZpos = FZpos+FZtrans;
    }

  #end

#declare FloorWidth = FloorWidth+FStoneW;
#declare FloorTrans = FloorTrans-FStoneW/2;

#end


Post a reply to this message

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