On 8 Jul 2002 09:21:57 -0400, Warp <war### [at] tag povray org> wrote:
> > To save memory usage ?
>
> Does a texture take less memory if some of its blocks are not specified?
Does your question means that we return to opinion that ior should be part of
texturing ? ;-)
> I haven't looked at the source code, but a texture might be fixed-sized.
Unless definion not include variable-sized content. For example (considering
interior):
SCENE : box{ -100 100 }
PEAK MEM : 117.776
SCENE : box{ -100 100 interior{ ior .5 } }
PEAK MEM : 117.776
SCENE : #declare Interior = interior{ ior .5 media{} }
: box{ -100 100 interior{ ior .5 } }
PEAK MEM : 117.776
SCENE : #declare Interior = interior{ ior .5 media{} }
: box{ -100 100 interior{ Interior } }
PEAK MEM : 118.100
ABX
Post a reply to this message
|