POV-Ray : Newsgroups : povray.programming : Df3 file bigger than 1024^3 : Df3 file bigger than 1024^3 Server Time: 27 Mar 2017 08:30:09 GMT
  Df3 file bigger than 1024^3  
From: arm2arm
Date: 29 Aug 2006 09:55:00
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-2008 Persistence of Vision Raytracer Pty. Ltd.