POV-Ray : Newsgroups : povray.beta-test : Re: crash when smooth heightfield : Re: crash when smooth heightfield Server Time
29 Jul 2024 12:21:28 EDT (-0400)
  Re: crash when smooth heightfield  
From: Thorsten Froehlich
Date: 11 May 2002 19:56:04
Message: <3cddaf94@news.povray.org>
In article <3cdd6463@news.povray.org> , Felix Wiemann <Fel### [at] gmxnet>
wrote:

> peter wrote:
>> attached heightfield makes RC4 win binary crash on my intel pentium
>> machine. only happens when I use smooth option
>
> Maybe it would be a great idea to supply some code which can't only be
> executed on your own system.

All the include files were unnecessary :-(

I have been able track this down to a very odd way of parsing height_fields.
Even more interesting, even the docs showed this odd way.  A check in the
sample scenes showed no use of the odd "feature" so it will be gone in the
next beta as will be the problem:

Essentially the "smooth" is not supposed to be outside the height_field.  In
the scene it was in the object block, which was what caused the problem.  So
next time the parser will catch it as an error.  Moving the smooth into the
height_field block solves the problem.

Oh, and did I mention that this bug has been around at least since 3.1?  Well,
it actually has been around since smooth height_fields were introduced as far
as I can tell.  Anybody remember when they were introduced?


    Thorsten


BTW, the original post with its big attachment has been removed.

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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