POV-Ray : Newsgroups : povray.beta-test : bug within intersection stack (with crash) Server Time
12 Nov 2024 19:56:48 EST (-0500)
  bug within intersection stack (with crash) (Message 1 to 8 of 8)  
From:
Subject: bug within intersection stack (with crash)
Date: 26 Sep 2001 03:43:29
Message: <5f13rtc0v0rso4fk7lut5e0980qa9g756b@4ax.com>
POV 3.5b4 on PII233 128 MB with NT4Sp6

I have reported this bug some time ago and I gave solution for it for
MegaPOV but without sources I'm not sure it is exatly the same
problem.

Here is my solution:
http://news.povray.org/povray.unofficial.patches/7152/

And here is script to test it:

//<SDL>
  #local Step=.1;
  #local Obj=union{
    #local Counter=Step;
    #while (Counter<100)
      difference{
        sphere{0,Counter}
        sphere{0,Counter-(Step/2)}
      }
      #local Counter=Counter+Step;
    #end
  }
  #local Start=2*max_extent(Obj).x*x;
  #local Norm=<0,0,0>;
  global_settings{max_intersections 9}
  #local Inter=trace(Obj,Start,-Start,Norm)
  global_settings{max_intersections 99}
  #local Inter=trace(Obj,Start,-Start,Norm)
//</SDL>

ABX


Post a reply to this message

From: Ron Parker
Subject: Re: bug within intersection stack (with crash)
Date: 28 Sep 2001 23:57:13
Message: <slrn9rahkt.6ol.ron.parker@fwi.com>

>POV 3.5b4 on PII233 128 MB with NT4Sp6
>
>I have reported this bug some time ago and I gave solution for it for
>MegaPOV but without sources I'm not sure it is exatly the same
>problem.

What was the solution for MegaPOV?  I suspect the problem is the same
as it was there, and it's not at all nice.

--
#macro R(L P)sphere{L __}cylinder{L P __}#end#macro P(_1)union{R(z+_ z)R(-z _-z)
R(_-z*3_+z)torus{1__ clipped_by{plane{_ 0}}}translate z+_1}#end#macro S(_)9-(_1-
_)*(_1-_)#end#macro Z(_1 _ __)union{P(_)P(-_)R(y-z-1_)translate.1*_1-y*8pigment{
rgb<S(7)S(5)S(3)>}}#if(_1)Z(_1-__,_,__)#end#end Z(10x*-2,.2)camera{rotate x*90}


Post a reply to this message

From:
Subject: Re: bug within intersection stack (with crash)
Date: 1 Oct 2001 11:08:29
Message: <fcugrtgh5auk7n9b0vpsqe7sra0m69gqap@4ax.com>
On 28 Sep 2001 23:57:13 -0400, ron### [at] povrayorg (Ron Parker)
wrote:

>On Wed, 26 Sep 2001 09:43:25 +0200, W?odzimierz ABX Skiba wrote:
> >POV 3.5b4 on PII233 128 MB with NT4Sp6
>
> > I have reported this bug some time ago and I gave solution for it for
> > MegaPOV but without sources I'm not sure it is exatly the same
> > problem.
>
> What was the solution for MegaPOV?

Have you checked link posted by me within first post ?
Solution was there.
Check again : http://news.povray.org/povray.unofficial.patches/7152/

> I suspect the problem is the same
> as it was there, and it's not at all nice.

Insted of forbiding proposed by me there could be also release of all
stacks and new alloc for them.

ABX


Post a reply to this message

From: Ron Parker
Subject: Re: bug within intersection stack (with crash)
Date: 1 Oct 2001 11:40:25
Message: <slrn9rh3ja.bn1.ron.parker@fwi.com>

>On 28 Sep 2001 23:57:13 -0400, ron### [at] povrayorg (Ron Parker)
>wrote:
>
>>On Wed, 26 Sep 2001 09:43:25 +0200, W?odzimierz ABX Skiba wrote:
>> >POV 3.5b4 on PII233 128 MB with NT4Sp6
>>
>> > I have reported this bug some time ago and I gave solution for it for
>> > MegaPOV but without sources I'm not sure it is exatly the same
>> > problem.
>>
>> What was the solution for MegaPOV?
>
>Have you checked link posted by me within first post ?
>Solution was there.
>Check again : http://news.povray.org/povray.unofficial.patches/7152

HTTP links aren't very useful if you're on a machine without a decent
web browser, as I often am.  These are even less useful, since there's
no way to find the article in my archive from the information in the URL.

-- 
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker


Post a reply to this message

From:
Subject: Re: bug within intersection stack (with crash)
Date: 1 Oct 2001 11:48:12
Message: <1t3hrtsv4oelns6k5bn5ge95g6d35v77a7@4ax.com>
On 1 Oct 2001 11:40:25 -0400, ron### [at] povrayorg (Ron Parker)
wrote:

>HTTP links aren't very useful if you're on a machine without a decent
>web browser, as I often am.  These are even less useful, since there's
>no way to find the article in my archive from the information in the URL.

sorry

Group: povray.unofficial.patches, povray.programming
From: Wlodzimierz ABX Skiba
Subject: max_intersections - possibility of bug ?
Date: 8 Jan 2001 04:39:06 EST

is this enough ?
sorry I "returned from doors" to answer you and I have no time to be
more precise

ABX


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: bug within intersection stack (with crash)
Date: 1 Oct 2001 12:21:29
Message: <3bb89809@news.povray.org>

Skiba <abx### [at] babilonorg>  wrote:

> Group: povray.unofficial.patches, povray.programming
> From: Wlodzimierz ABX Skiba
> Subject: max_intersections - possibility of bug ?
> Date: 8 Jan 2001 04:39:06 EST
>
> is this enough ?

Not really, message ID or xref are far more useful.  However, your message
can be found by subject line using telnet news.povray.org:119

200 news.povray.org DNEWS Version 5.5c3, S0, posting OK
group povray.unofficial.patches
211 7288 5 7452 povray.unofficial.patches selected
xpat subject 1-10000 max_intersections - possibility of bug ?
221 subject fields follow
5724 max_intersections - possibility of bug ?
.
quit
205 closing connection - goodbye!

So the xref number should be 5724 for your message in
povray.unofficial.patches.


    thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Ron Parker
Subject: Re: bug within intersection stack (with crash)
Date: 1 Oct 2001 12:36:39
Message: <slrn9rh6sp.bo3.ron.parker@fwi.com>
On Mon, 01 Oct 2001 12:21:26 -0400, Thorsten Froehlich wrote:

>Skiba <abx### [at] babilonorg>  wrote:
>
>> Group: povray.unofficial.patches, povray.programming
>> From: Wlodzimierz ABX Skiba
>> Subject: max_intersections - possibility of bug ?
>> Date: 8 Jan 2001 04:39:06 EST
>>
>> is this enough ?
>
>Not really, message ID or xref are far more useful.  However, your message
>can be found by subject line using telnet news.povray.org:119

Or in my archives by the same basic method:

[ron@fwi news]$ search -iindex/povray.programming subject=max_intersections
# results: 1
100 povray/programming/5011 2357 max_intersections - possibility of bug ?

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end 
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}


Post a reply to this message

From:
Subject: Re: bug within intersection stack (with crash)
Date: 22 Oct 2001 05:08:23
Message: <g1n7ttkevib8nv1savlus4485b50v3lcp3@4ax.com>

<abx### [at] babilonorg> wrote:

> On 1 Oct 2001 11:40:25 -0400, ron### [at] povrayorg (Ron Parker)
> wrote:
>
> > HTTP links aren't very useful if you're on a machine without a decent
> > web browser, as I often am.  These are even less useful, since there's
> > no way to find the article in my archive from the information in the URL.
>
> sorry
>
> Group: povray.unofficial.patches, povray.programming
> From: Wlodzimierz ABX Skiba
> Subject: max_intersections - possibility of bug ?
> Date: 8 Jan 2001 04:39:06 EST
>
> is this enough ?
> sorry I "returned from doors" to answer you and I have no time to be
> more precise

Sorry again
I was very late - I was hurry to bus
I spend 4 weeks on building my house and now I'm back and can see that
even if you found my article the bug is present within beta 6

If I can suggest: my method with forbidding changing of
max_intersection is not elegant (but works).
At time of parsing there is always base level on intersection stack
therefore it should be rather reallocated as requested

ABX


Post a reply to this message

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