POV-Ray : Newsgroups : povray.unofficial.patches : Questions about mesh2 : Questions about mesh2 Server Time
2 Nov 2024 13:18:00 EDT (-0400)
  Questions about mesh2  
From: Nieminen Juha
Date: 4 Oct 1999 04:09:34
Message: <37f860be@news.povray.org>
I just sent meshcomp v2.0 to Colefax. It has, among others, mesh2 output
feature.
  Although it should output working mesh2 files, some questions arised when
doing it:
  Is it true that you can't mix triangles and smooth triangles in the same
mesh2? Currently the program outputs two mesh2's if there were both types
of triangles in the input.
  Have the vertex vectors and normal vectors to be separated? In the PCM
format the same vector can be used for a vertex and for a normal (when
optimizing). If I output to a mesh2 I apparently have to separate vertices
from normals. This of course means that the optimizing of normal vectors
is useless when outputting to mesh2 (well, not completely useless since
you may have two normal vectors pointing at the same direction but with
different lengths and the optimizing process can unify them, but usually
normal vectors are already of equal length, so it's more rare that this
would happen).


-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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