POV-Ray : Newsgroups : povray.unofficial.patches : i_dat3d & *.df3 : Bug: Re: i_dat3d & *.df3 Server Time
2 Sep 2024 00:16:55 EDT (-0400)
  Bug: Re: i_dat3d & *.df3  
From: david sharp
Date: 28 Jul 2000 18:56:57
Message: <39820fb9$1@news.povray.org>
ingo <ing### [at] homenl> wrote in message
news:8F7FD9A61seed7@204.213.191.228...
> 1. Is there a limit to the size of a df3 file that can be used with
> "i_dat3d"? A 100^3 file parses ok. A 150^3 file gives the error:
>
> #declare Func={"data_3d_3",<1> library "i_dat3d",
> "pytest.df3",<150,150,150,5>  <----- Error
> ..\box_erode.pov:62 error: out of memory, cannot allocate -4764052 bytes
> for Lib.

The cause is a bug in the initialization.
The MegaPOV 0.5 source level fix is to change line 1216 in isosurf.c from

        char df3header[6];
to

        unsigned char df3header[6];


Post a reply to this message

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