|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Is this causing a divide by zero error or ? It gets past parsing but
when is gets to building bounding slabs it crashes Pov violently.
camera{location<0,20,20>look_at 0}
light_source{<0,50,100> rgb 1}
#declare Y = 0;
#while (Y < 50)
#declare X = 0;
#while (X < 50)
sphere {
<X, Y, sin(X/Y)>, 0.1
pigment {color rgb<(sin(X/Y) + 1)/2, 0, 0>}
}
#declare X = X + 1;
#end
#declare X = 0;
#declare Y = Y + 1;
#end
--
Ken Tyler
http://home.pacbell.net/tylereng/index.html
I know you are but what am I ? <Unknown child>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sun, 08 Aug 1999 17:28:21 -0700, Ken <tyl### [at] pacbellnet> wrote:
>Is this causing a divide by zero error or ? It gets past parsing but
>when is gets to building bounding slabs it crashes Pov violently.
The crash is not a divide by zero error. I'm not sure what it is, but
it might be a stack fault. It crashes somewhere deep within the
Visual C++ runtime library for me, in the process of doing a malloc
under a pile of calls to sort_and_split. In short, I have no idea
what you did here. :)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ron Parker wrote:
>
> On Sun, 08 Aug 1999 17:28:21 -0700, Ken <tyl### [at] pacbellnet> wrote:
>
> >Is this causing a divide by zero error or ? It gets past parsing but
> >when is gets to building bounding slabs it crashes Pov violently.
>
> The crash is not a divide by zero error. I'm not sure what it is, but
> it might be a stack fault. It crashes somewhere deep within the
> Visual C++ runtime library for me, in the process of doing a malloc
> under a pile of calls to sort_and_split. In short, I have no idea
> what you did here. :)
Do you think it's a bug and maybe someone should report it ? You could
probably word it in programmerese better than I if you feel it is worth
bringing to the teams attention.
--
Ken Tyler
http://home.pacbell.net/tylereng/index.html
I know you are but what am I ? <Unknown child>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I think the arrows(<=========<<<<<<<) will show the problem.
Change #declare X=0; to #declare X=.00001 and it works fine.
Ken wrote:
> Is this causing a divide by zero error or ? It gets past parsing but
> when is gets to building bounding slabs it crashes Pov violently.
>
> camera{location<0,20,20>look_at 0}
>
> light_source{<0,50,100> rgb 1}
>
> #declare Y = 0; <=========<<<<<<<
> #while (Y < 50)
> #declare X = 0;
> #while (X < 50)
> sphere {
> <X, Y, sin(X/Y)>, 0.1 <=========<<<<<<<
> pigment {color rgb<(sin(X/Y) + 1)/2, 0,
> 0>}<=========<<<<<<<
> }
> #declare X = X + 1;
> #end
> #declare X = 0;
> #declare Y = Y + 1;
> #end
>
> --
> Ken Tyler
> http://home.pacbell.net/tylereng/index.html
> I know you are but what am I ? <Unknown child>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Arthur Flint wrote:
> I think the arrows(<=========<<<<<<<) will show the problem.
> Change #declare X=0; to #declare X=.00001 and it works fine.
I can't even read the code right. Change #declare Y=0; to #declare
Y=.00001 and it works fine.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ken <tyl### [at] pacbellnet> wrote:
: #declare Y = 0;
: <X, Y, sin(X/Y)>, 0.1
You should always avoid this kind of divisions.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nieminen Mika wrote:
>
> Ken <tyl### [at] pacbellnet> wrote:
>
> : #declare Y = 0;
> : <X, Y, sin(X/Y)>, 0.1
>
> You should always avoid this kind of divisions.
Can I assume this is because before the count is incremented there is
a zero value for the division ?
--
Ken Tyler
See my 700+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sun, 08 Aug 1999 17:28:21 -0700, Ken <tyl### [at] pacbellnet> wrote:
>I know you are but what am I ? <Unknown child>
The quote is Paul Reubens (Pee-wee Herman), probably from the movie
"Pee-wee's Big Adventure". As you may recall, Mr. Reubens was sort of
blacklisted after an incident in an adult movie house involving no one else
but himself. He has washed his hands of that whole affair and has been
working steadily in recent years.
--
Alan
--------------------------------------------------------------------
http://www.povray.org - Home of the Persistence of Vision Ray Tracer
news.povray.org - where POV-Ray enthusiasts around the world can get
together to exchange ideas, information, and experiences with others
--------------------------------------------------------------------
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Alan Kong wrote:
>
> On Sun, 08 Aug 1999 17:28:21 -0700, Ken <tyl### [at] pacbellnet> wrote:
>
> >I know you are but what am I ? <Unknown child>
>
> The quote is Paul Reubens (Pee-wee Herman), probably from the movie
> "Pee-wee's Big Adventure".
I'll grant that Pee-Wee may have used the line but it is by know means his
creation. I know this because I used it myself as a child and that predates
the Pee-Wee character by at least a couple of years :)
> As you may recall, Mr. Reubens was sort of blacklisted after an incident
> in an adult movie house involving no one else but himself. He has washed
> his hands of that whole affair and has been working steadily in recent years.
>
> --
> Alan
Oh you mean Mr. Trenchcoat. I seem to remember something about that.
--
Ken Tyler
See my 700+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Arthur Flint wrote:
> Arthur Flint wrote:
>
> > I think the arrows(<=========<<<<<<<) will show the problem.
> > Change #declare X=0; to #declare X=.00001 and it works fine.
>
> I can't even read the code right. Change #declare Y=0; to #declare
> Y=.00001 and it works fine.
Ken,
Your code let me play some and I will post a picture in the p.b.i.
I think this is sort of what you were after.
Mr. Art
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |