POV-Ray : Newsgroups : povray.general : mesh "copies"? : Re: mesh "copies"? Server Time
26 Apr 2025 11:45:32 EDT (-0400)
  Re: mesh "copies"?  
From: Alain Martel
Date: 20 Apr 2025 07:39:10
Message: <6804dcde$1@news.povray.org>
Le 2025-04-20 à 05:11, ingo a écrit :
> creating thousands of "copies" of a mesh is relative cheap in POV-Ray memory
> wise. How is it done?
> 
> Just a new "object" that is a pointer to the original mesh plus a transformation
> matrix?
> 
> ingo
> 
> 
> 
Pretty much. The mesh itself exist only once.
So, a pointer to the mesh, a transform matrix, and an optional 
texture/interior/finish if those are not included in the definition of 
the mesh or are replaced.


Post a reply to this message

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