POV-Ray : Newsgroups : povray.general : Sudden POVRAY problem, invalid page fault : Re: Sudden POVRAY problem, invalid page fault Server Time
11 Aug 2024 19:29:11 EDT (-0400)
  Re: Sudden POVRAY problem, invalid page fault  
From: Ken
Date: 16 May 1999 01:53:04
Message: <373E4EF1.40CCFBE7@pacbell.net>
Bill DeWitt wrote:
> 
> Ken <tyl### [at] pacbellnet> wrote :
> >
> >   The first and most obvious question that comes to mind is if you have
> > tried rendering other files than the one you are working on currently.
> >
> 
>     Great. Now I feel silly. Thanks...

Oh your welcome :)
 
>     No, really... thanks! That was the problem.
> 
>     I cubed a clock...
> camera_location = (clock*clock*clock)* FinalRestingPlace
> ...and that seemed to be the problem I dropped it back to (clock*clock) and
> life was good again. I really want that cubed acceleration, so I will try
> cubing it in a declare and then using it.
> 
>     I hate weird things that happen for unknown reasons....

  So I am GUESSING what is happening here, if you want to know why Pov
is crashing on you, is that you have your camera location at
(clock*clock*clock) and the scene is starting at clock = 0. This places
the camera then at xyz = 0.
  You end up with a divide by zero error when the camera location and the
look at are at the same location. Before you can get an error warning
from the program the system steps in and issues an invalid page fault
instead. You could avoid this with something like:

camera_location = (clock*clock*-0.000001+clock)* FinalRestingPlace

  That little amount of offset from the origin is enough to avoid the
divide by zero problem and everything becomes one with the universe
again.

  But then again I might have read one too many messages on this server and
I have gone totaly daft. You make the call.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

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