POV-Ray : Newsgroups : povray.general : Reading mesh2 data from file : Re: Reading mesh2 data from file Server Time
22 May 2024 00:28:29 EDT (-0400)
  Re: Reading mesh2 data from file  
From: clipka
Date: 3 Jul 2021 20:23:10
Message: <60e0ff6e$1@news.povray.org>
Am 03.07.2021 um 22:06 schrieb Kima:

> #include "vertices.inc" trick works like a charm. So silly of me that forgot
> #include can do the job. I agree we should minimise any unnecessary process, but
> I think reading two files (perhaps three, adding normals) is not a significant
> overhead.

Given the constraints of your process to create the data, it seems like 
a reasonable approach. Given typical mesh sizes, the overheard of 
opening two additional files (or even up to four, with normals and UV 
vectors) should indeed be benign compared to the overhead of actually 
parsing the data.


Post a reply to this message

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