POV-Ray : Newsgroups : povray.bugreports : height_field crashes povwin 3.1g : height_field crashes povwin 3.1g Server Time
9 Jun 2024 02:27:44 EDT (-0400)
  height_field crashes povwin 3.1g  
From: Peter Santo
Date: 7 Aug 1999 11:41:21
Message: <37AC52D1.A06C762B@pool.informatik.rwth-aachen.de>
Hello!

I have a reduced scene containing a height_field that would cause povwin
to crash (so I suppose, it's a bug).

I strongly suspect a division by zero error in the height_field code,
since the error can be avoided if you slightly change the perspective or
use Jitter when antialiasing output.

My setup:
Official Version 3.1g.watcom.win32
Win98 de 4.10.1998
Pentium II 300 MHz
64 MB RAM

Here is the scene:
------------start-----------
#declare Set_to_zero = 0.01;

camera
{
  location  -z*2
  direction z
  right     x
  up        y
  look_at   Set_to_zero
}

light_source
{
  <10, 4, -20>
  color rgb 1
}


height_field
{
  tga "hf.tga"
  texture {
    pigment {
      color rgb 1
    }
  }
  rotate x * 270
  translate <-0.5, -0.5, 0>
}
-------------end------------

INI and Command Line Options:
Original quickres.ini, 160x120, AA 0.3
-j


povray will crash if 1) the variable Set_to_zero is zero and 2) you
disable antialiasing jitter.

I posted the height_field tga (12 kB) to the binaries.images.group
(Xref: news.povray.org povray.binaries.images:16962, this message is a
reply to it)

/PETER/

-- 
Peter Santo (PUMP development)
Visit: http://www.mp3pump.de
linux quote of the week: 
It _is_ user-friendly.  It is not ignorant-friendly and idiot-friendly.


Post a reply to this message

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