POV-Ray : Newsgroups : povray.beta-test : Strange while reaction Server Time
2 Nov 2024 17:18:28 EDT (-0400)
  Strange while reaction (Message 1 to 2 of 2)  
From: Jean-Sebastien Perron
Subject: Strange while reaction
Date: 13 Oct 2001 22:28:26
Message: <3bc8f84a@news.povray.org>
#declare marche = union
{
  disc {0 0 0 0 pigment {Black}}
  box
  {
    <-.5, -.5, -.5>
    < .5,  .5,  .5>
  pigment {color Yellow}

  translate <0 .5, 0, 0>
  scale      <1.5 , 0.2, 1 >
  }
}


#declare compteur = 0;
#while (compteur < 10)
  object { marche rotate <0, compteur*45, 0> translate <0, compteur*0.5,
0> }
  #declare compteur = compteur+1;
#end

////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////

It has work whith povray 3.1, but now whith 3.5 it dosen't work (It close
povray with a warning "Program Error").
I tried :

    -object {marche}alone without the "while portion" and it works.
    -but the problem happend only when the "while fuction" is activated.

By the way, i know the union of a disc (0 0 0 0) is supposed to be
imposible.


jsp### [at] sympaticoca


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Strange while reaction
Date: 14 Oct 2001 04:26:39
Message: <3bc94c3f$1@news.povray.org>
In article <3bc8f84a@news.povray.org> , "Jean-Sebastien Perron" 
<jsp### [at] sympaticoca> wrote:

> It has work whith povray 3.1, but now whith 3.5 it dosen't work (It close
> povray with a warning "Program Error").
> I

Get beta 6.

    Thorsten


Post a reply to this message

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