POV-Ray : Newsgroups : povray.general : interior statement. : Re: interior statement. Server Time
6 Aug 2024 06:19:05 EDT (-0400)
  Re: interior statement.  
From:
Date: 8 Jul 2002 09:39:31
Message: <d55jiu0koh7rihink0opv8loo1j5vghivu@4ax.com>
On 8 Jul 2002 09:21:57 -0400, Warp <war### [at] tagpovrayorg> 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

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