POV-Ray : Newsgroups : povray.programming : Mesh Single Precision? : Re: Mesh Single Precision? Server Time
28 Jul 2024 12:29:40 EDT (-0400)
  Re: Mesh Single Precision?  
From: David Buck
Date: 27 Jun 2001 09:27:27
Message: <3B39DF4B.3C0F5A0C@simberon.com>
It's not related to your question, but how are you doing the simulation?  How
small are your increments and why do they have to be small?

David Buck
Simberon Inc.

Geoff Wedig wrote:

> Well, I've gone and done it.  After avoiding taking the plunge for so long,
> I've gone and started writing my own patch.  In my patch, I'm attempting to
> deform meshes based upon simulations to allow a cloth-style simulation of
> non-rectangular surfaces.
>
> For the most part, it's going pretty well.  However, in working with it,
> I've found that the vertices of meshes are stored as single-precision
> values.  This has caused a lot of problems, since the precision of the
> simulation, which requires a lot of small increments, is compromised by
> this.  Does anyone out there who's worked in the code more than I know why
> meshes are stored this way?  I'd think that you'd want to store vertices as
> double precision for the same reason that you store the locations of other
> objects as doubles.
>
> So, anyone know why this is the way it is?
>
> Geoff


Post a reply to this message

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