POV-Ray : Newsgroups : povray.beta-test : sin(X)^sin(X) -> crash! : sin(X)^sin(X) -> crash! Server Time
4 Nov 2024 21:24:54 EST (-0500)
  sin(X)^sin(X) -> crash!  
From: Warp
Date: 24 Sep 2001 14:21:06
Message: <3baf7992@news.povray.org>
POV-Ray 3.5 beta4 for Windows, Win98, Athlon, 256MB.

  The following crashes POV-Ray:

#declare X = .1;
#while(X <= 4)
  sphere { <X, sin(X)^sin(X), -.1>, .02 pigment { rgb 1 } }
  #declare X = X+.1;
#end

  And yes, this *is* the shortest version I could come up. Calculating
once sin(X)^sin(X) doesn't seem to crash (even when sin(X) is negative).

  Note that it also crashes if the sin(X)^sin(X) part is replaced with
F(X) and the F function is defined as:

#declare F = function(x) { sin(x)^sin(x) }

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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