POV-Ray : Newsgroups : povray.binaries.images : Am I just too stupid for programming?!? : Re: Am I just too stupid for programming?!? Server Time
5 Nov 2024 11:16:43 EST (-0500)
  Re: Am I just too stupid for programming?!?  
From: clipka
Date: 20 Apr 2009 06:15:00
Message: <web.49ec4a9939d56e6b1a1b9caf0@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:

> >   face_indices
> >   {
> >     638398 // added (399-1)*2 = 796
>
>   The nice thing about povray SDL is that you can write math. No need to
> precalculate anything. Thus you can write:
>
>   face_indices
>   {
>     399*800

But if you do, you better have the math right:

  face_indices
  {
    399*800*2

because Yadgar is creating two faces per loop.


Post a reply to this message

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