POV-Ray : Newsgroups : povray.general : mesh "copies"? Server Time
26 Apr 2025 11:32:42 EDT (-0400)
  mesh "copies"? (Message 1 to 3 of 3)  
From: ingo
Subject: mesh "copies"?
Date: 20 Apr 2025 05:15:00
Message: <web.6804ba2e54d85bf817bac71e8ffb8ce3@news.povray.org>
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


Post a reply to this message

From: Alain Martel
Subject: Re: mesh "copies"?
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

From: ingo
Subject: Re: mesh "copies"?
Date: 20 Apr 2025 08:50:00
Message: <web.6804ecc179a7d05a17bac71e8ffb8ce3@news.povray.org>
Alain Martel <kua### [at] videotronca> wrote:

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

Thanks Alain

ingo


Post a reply to this message

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