POV-Ray : Newsgroups : povray.binaries.images : Strange Result... : Re: Strange Result... Server Time
31 Jul 2024 20:21:01 EDT (-0400)
  Re: Strange Result...  
From: clipka
Date: 17 Apr 2009 21:00:00
Message: <web.49e925627f5031e4f88a27ab0@news.povray.org>
=?ISO-8859-15?Q?J=F6rg_=27Yadgar=27_Bleimann?= <yaz### [at] gmxde> wrote:
>    face_indices
>    {
>      637602
>      #declare a=0;
>      #while (a<399)
>        #declare b=0;
>        #while (b<799)
>          <a*400+b, a*400+b+1, (a+1)*400+b>,
>          #if (b=798 & a=398)
>            <319998, 319999, 319199>
>          #else
>            <(a+1)*400+b, (a+1)*400+b+1, a*400+b+1>,
> ...

I guess you want to multiply a and (a+1), respectively, with 800 here instead of
400, so that all b's fit "between the a's", if you got my meaning.


Post a reply to this message

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