POV-Ray : Newsgroups : povray.general : Reading mesh2 data from file : Re: Reading mesh2 data from file Server Time
26 Sep 2021 05:33:06 EDT (-0400)
  Re: Reading mesh2 data from file  
From: ingo
Date: 4 Jul 2021 03:27:19
Message: <XnsAD5D602EDC952seed7@news.povray.org>
You have a look at meshmaker.inc in the \include folder. When mesh are 
generated all different parts, vertices, normals, uv-vectors are kept in 
different arrays. The there is a separate macro to assemble all data to a 
mesh. There are also macro's to write and read mesh data as an include 
file.
You can write the seperate data to a file and use the BuildWriteMesh2 to 
build the actual mesh2

Ingo

-- 
https://ingoogni.nl


Post a reply to this message

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