POV-Ray : Newsgroups : povray.programming : Df3 file bigger than 1024^3 : Df3 file bigger than 1024^3 Server Time
16 Apr 2024 12:36:29 EDT (-0400)
  Df3 file bigger than 1024^3  
From: arm2arm
Date: 29 Aug 2006 05:55:00
Message: <web.44f40e4698b0d9e4b399450c0@news.povray.org>
Hello,
I tried to render df3 volume file with 2048x2048x512 data and
povray crushes. the reason was pointer index for map.It was out from integer
range in the df3 reading routine in the file:
pattern.cpp
/////////////
line 4288: void Read_Density_File(DENSITY_FILE *df)
{
  // int x, y, z, sx, sy, sz;
 long x, y, z, sx, sy, sz;//changed int to long
///////////////

This works for reading of df3 file, but after parsing it is crushing
/////////
0:00:00 Rendering line 1 of 240Segmentation fault
/////////////////////

Where I need to change (x, y, z, sx, sy, sz) to get the run for huge data?
Thanks

Arman.

+++++++++++++++++++++++++++++++++
Arman Khalatyan
Address:
Astrophysical Institute Potsdam,
An der Sternwarte 16,
D-14482 Potsdam, GERMANY
Phones: (+049) 0331 7499517(work)


Post a reply to this message

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