POV-Ray : Newsgroups : moray.win : NURBS, etc : Re: NURBS, etc Server Time
29 Jul 2024 18:25:09 EDT (-0400)
  Re: NURBS, etc  
From: Twyst
Date: 11 Aug 1998 14:46:17
Message: <35d08369.0@news.povray.org>
Lutz Kretzschmar wrote in message <35c### [at] 19417421410>...
>Hi Erik, you recently wrote in moray.win:
>
>> Also, what about getting Moray to export real meshes
>> to povray instead of turning it all into a huge set of triangles which
>> takes forever to parse?
>What's the difference between a mesh and 'a huge set of triangles'?


A mesh object is more memory efficient, especially when it's being re-used.
For example, it might take 2k of memory for the initial mesh, then all other
copies of the mesh are simply "pointers" to the original. Whereas the same
object as a set of triangles would require 2k for each object.

It's also a bit faster, considering the way unions work.

It's as simple as replacing
union

<triangle data>
}

with
mesh

<triangle data>
}

>- Lutz
>  email : lut### [at] stmuccom
>  Web   : http://www.stmuc.com/moray


Post a reply to this message

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