POV-Ray : Newsgroups : povray.beta-test : Memory not released during animations when pigment_pattern is used Server Time
1 Nov 2024 17:21:40 EDT (-0400)
  Memory not released during animations when pigment_pattern is used (Message 1 to 1 of 1)  
From: Gilles Tran
Subject: Memory not released during animations when pigment_pattern is used
Date: 9 Apr 2002 13:14:39
Message: <3cb3217f$1@news.povray.org>
beta16.icl.win32, WinNT SP6
In the code below, memory use increases (10%) with each frame.
pigment_pattern seems to be causing that : just use the regular "gradient y"
line to see the normal behaviour.
I discovered that when Povray ran out of memory when rendering an animation.

G.

camera {
  location  -z*60
  direction z*8
  right     image_width/image_height*x
  look_at   0
}

#declare i=0;
#while (i<1000)
    sphere{0,2
        texture{
            pigment{
//                gradient y
                pigment_pattern{gradient y}
                color_map{
                    [0 rgb x+y]
                    [1 rgb x]
                }
            }
            finish{ambient 1}
         }
        translate z*i*50
        translate x*(-5+10*clock)
    }
    #declare i=i+1;
#end
--

**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

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