POV-Ray : Newsgroups : povray.off-topic : instantiation in various 3d formats : Re: instantiation in various 3d formats Server Time
11 Oct 2024 09:19:52 EDT (-0400)
  Re: instantiation in various 3d formats  
From: Nicolas Alvarez
Date: 27 Oct 2007 13:25:33
Message: <4723748d$1@news.povray.org>

> Gilles Tran <gitran_nospam_@wanadoo.fr> wrote:
>> AFAIK, instantiation is not a property of the file format, but a feature of 
>> the renderer.
> 
>   If you tell the renderer "copy this mesh 1000 times over the scene" (but
> the mesh data is kept only once in memory), thus getting a nice scene, and
> then you want to save this scene into a file, how do you do that if the
> file format doesn't support saying "copy this mesh here" commands?
> 

Keeping it only once in memory is a feature of the renderer, which 
requires such a command on the file format. Having the triangle list 
only once in the input file is a feature of the file format. A (quite) 
stupid parser could duplicate data in memory even if it's not duplicated 
on the file!


Post a reply to this message

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