POV-Ray : Newsgroups : povray.programming : Mesh Single Precision? : Re: Mesh Single Precision? Server Time
28 Jul 2024 12:28:46 EDT (-0400)
  Re: Mesh Single Precision?  
From: Wlodzimierz ABX Skiba
Date: 29 Jun 2001 08:43:16
Message: <3b3c77e4@news.povray.org>
Geoff Wedig wrote in message <3b39c23a@news.povray.org>...
> I've found that the vertices of meshes are stored as single-precision
> values.
> ...
> So, anyone know why this is the way it is?


I don't know source for meshes but I've idea that it is automatically converted
to single float to save memory by eliminating (equal after conversion)
neigbours. Perhaps it is some kind of variable EPSILON value. But it is just
idea becouse I don't know anything about storing vertices of mesh.

--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31


Post a reply to this message

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