POV-Ray : Newsgroups : povray.advanced-users : Multi-usage of an object : Multi-usage of an object Server Time
28 Jul 2024 10:29:39 EDT (-0400)
  Multi-usage of an object  
From: McHannemann
Date: 19 May 2006 13:35:00
Message: <web.446e016163aa8a2192b08d80@news.povray.org>
I have the following problem:
I have a list of objects which I want to use several times,
a list with the positions is created and I create the object this way:

#while(counter < Number )
 object{List[position[counter]] transform Transfer[counter]}
 #declare counter = counter + 1;
 #if (mod(counter,10)=0)
  #debug concat(str(counter,0,0),"..")
 #end
 #if (mod(counter,100)=0)
  #debug "n"
 #end
#end

now to my question,
this way I create 50000 pieces of one object
and I get 800MB memory usage,


with nearly no memory consumption..what do I wrong in this case????

Help is very much appreciated,
Regards,

Thor


Post a reply to this message

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