POV-Ray : Newsgroups : povray.advanced-users : rectangles : Re: rectangles Server Time
30 Jul 2024 02:26:11 EDT (-0400)
  Re: rectangles  
From: Christoph Hormann
Date: 21 Jun 2000 01:42:55
Message: <395055E0.3E4623FC@schunter.etc.tu-bs.de>
Chris Huff wrote:
> 
> Perhaps you should try something like:
> 
> #declare Block =
> mesh {
>    triangle{<0.0,0.0,0.0>,<0.0,0.0,1.0>,<1.0,0.0,1.0>}
>    triangle{<0.0,0.0,0.0>,<1.0,0.0,0.0>,<1.0,0.0,1.0>}
> }
> 
> object {Block}
> object {Block}
> object {Block}
> ...

Of course that's what I did with all objects, sorry I did not write it
in that point.

> 
> This allows POV to use the same mesh data in separate objects. It may
> not cause much of an efficiency increase here, but in meshes with more
> triangles it can make a big difference.
> 

AFAIK with large meshes, mesh { triangle... } will also be much better
than union { triangle...}

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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