POV-Ray : Newsgroups : povray.binaries.images : Capriccio18 : Re: Capriccio18 Server Time
13 Aug 2024 05:52:17 EDT (-0400)
  Re: Capriccio18  
From: Gilles Tran
Date: 18 Jun 2003 05:18:08
Message: <3ef02e50@news.povray.org>

3EF008ED.B6C0BBA9@mail.com...
> I've created the macro for making tile roof.
> Each tile is a mesh but it doesn't work as I expected.
> Whenever I increase the number of tiles allocated
> memory is increasing too. I'm just wondering
> what's wrong?

Changing the number of faces doesn't affect the memory use, so instanciation
works as it should.
I guess it's the texture statement as it's defined for each tile. Removing
all the individual statements cuts the memory use in half.
One possibility to solve this would be to use the cells pattern to cover the
entire mesh instead of texture each tile independently. Just scale the
pattern to match the tile size.
Great macro by the way, it should be very handy.

G.

--

**********************
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.