POV-Ray : Newsgroups : povray.pov4.discussion.general : While-loop Server Time
21 Nov 2024 10:03:09 EST (-0500)
  While-loop (Message 1 to 2 of 2)  
From: Micke
Subject: While-loop
Date: 13 Dec 2011 20:20:01
Message: <web.4ee7f9233d38fc549c6257010@news.povray.org>
I am trying to give each column an individual texture


 #declare Count=0;
 #while (Count < 10)
// #declare (My_Marble = 0;
// #while (My_Marble < 10)
  object{My_Column  translate -x*12  // rotate - 100*y

 //    texture { My_Marble rotate y*15//
<rand(RandomSeed),Count,rand(RandomSeed)>               //

  *Count  rotate - 100*y


    }

    #declare Count=Count+1;
  //  #declare My_Marble=My_Marble+1;
 #end
   Can anyone help with the code ?


Post a reply to this message

From: clipka
Subject: Re: While-loop
Date: 14 Dec 2011 23:38:51
Message: <4ee979db$1@news.povray.org>
Am 14.12.2011 02:17, schrieb Micke:
>
> I am trying to give each column an individual texture
>
>
>   #declare Count=0;
>   #while (Count<  10)
> // #declare (My_Marble = 0;
> // #while (My_Marble<  10)
>    object{My_Column  translate -x*12  // rotate - 100*y
>
>   //    texture { My_Marble rotate y*15//
> <rand(RandomSeed),Count,rand(RandomSeed)>                //
>
>    *Count  rotate - 100*y
>
>
>      }
>
>      #declare Count=Count+1;
>    //  #declare My_Marble=My_Marble+1;
>   #end
>     Can anyone help with the code ?

I guess you should try in povray.newusers. You posted to 
povray.pov4.discussion.general, which is about a far-ahead-in-the-future 
POV-Ray version 4.0.


Post a reply to this message

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