POV-Ray : Newsgroups : povray.general : 3.71 patch for binary "mesh3" format : Re: 3.71 patch for binary "mesh3" format Server Time
23 Apr 2024 09:41:36 EDT (-0400)
  Re: 3.71 patch for binary "mesh3" format  
From: jr
Date: 23 Aug 2017 10:43:03
Message: <599d9477$1@news.povray.org>
hi,

On 23/08/2017 12:54, Bald Eagle wrote:
> "Why are triangle meshes in ASCII format? They are huge! A binary format would
> be a lot smaller. If POV-Ray can read binary images, why couldn't it read binary
> mesh data?
> It's not as simple as you may think.
> You can't compare binary mesh data with image files. ...

an easy compromise coming to mind is storing the ASCII mesh data
compressed and POVRay decompressing on read; and there are many
well-supported free libraries for the job: gzip, zlib, etc

handling floats in binary, compatibly across platforms, is .. hard.


Post a reply to this message

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