POV-Ray : Newsgroups : povray.binaries.utilities : Online files converter : Re: Online files converter Server Time
10 Oct 2025 23:08:21 EDT (-0400)
  Re: Online files converter  
From: kurtz le pirate
Date: 9 Oct 2025 03:36:08
Message: <68e765e8@news.povray.org>
On 08/10/2025 23:41, yesbird wrote:
> On 09/10/2025 00:03, Kenneth wrote:
>> Does your analysis of Kurtz's file indicate duplicate *triangles*, or 
>> just
>> duplicate vertices? Kurtz is converting his STL file to plain mesh 
>> AFAIU (not
>> mesh2)-- and in such files there are necessarily many duplicate 
>> vertices, since
>> they are shared among some triangles. I'm guessing that your own mesh2
>> conversion code 'consolidates' those somehow-- resulting in fewer 
>> vertices
>> overall.
>>
>> My apologies; I was confusing your OBJ file discussion with STL file 
>> conversion.
> 
> I only answered the Kurtz's question about difference in of vertices in
> our results. There is no *.inc file in Kurtz's zip, so I grepped obj.


Sorry, I forgot the INC file.
Here now ;)



>> If so, is this consolidation or merging one of the 'efficiency' 
>> benefits of
>> POV-ray's own mesh2 construct, or is it an extra operation that you 
>> added to
>> your own conversion code?
> 
> My conversion process is following:
> 1. Calling OBJLoader() from Three.js library to load meshes into scene.
> 
> 2. Call standard Three.js mergeVertices() method for each mesh on load
> to build vertices index, that completely excludes duplicates.
> 
> 3. Call my POVExporter(), which traverses scene, selects meshes and
> saves data to model.ini as mesh2.
> 
> Very simple :)


-- 
kurtz le pirate
compagnie de la banquise


Post a reply to this message


Attachments:
Download 'pingouin.inc.zip' (873 KB)

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