POV-Ray : Newsgroups : povray.general : Imagemap sharing? : Imagemap sharing? Server Time
31 Jul 2024 18:20:15 EDT (-0400)
  Imagemap sharing?  
From: Vaclav Cermak
Date: 27 Oct 2006 04:13:16
Message: <4541bf9c$1@news.povray.org>
Hello,

   I have similar scene:

#declare Pig = pigment {
   image_map { ... something }
}
#declare Tex = texture {
   pigment {Pig}
   ...
}

#declare Poly = polygon {
    ...
    texture {Tex}
}

... a lot of Polys used later in the scene ...

I seems, that image_map is copied for every "Poly" placed into the scene 
and it leads to high memory requirements ... Is any way how to have only 
one instance of image_map into the scene?

Thanks

Vaclav


Post a reply to this message

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