POV-Ray : Newsgroups : moray.win : Mesh coordinates and animation : Re: Mesh coordinates and animation Server Time
24 Jun 2021 14:46:07 EDT (-0400)
  Re: Mesh coordinates and animation  
From: clipka
Date: 7 May 2009 08:55:01
Message: <web.4a02da03c4c8e8b8f708085d0@news.povray.org>
"Reactor" <rea### [at] hotmailcom> wrote:
> I'm not sure if I understand your meaning completely - when you say 'generating'
> I tend to think of it as producing the coordinates for the mesh, whereas the
> script is intended to read any pre-existing valid mesh2.  That said, the
> transformation of the points are produced within SDL in response to the clock
> variable or the user's desire.
>
> That is to say, the external tool would modify the mesh2 declaration, for
> example changing vector literals in the vertex_vector list into expressions
> that produce a displaced vector with respect to clock (or whatever else the
> users specifies).

Yes, that's of course possible.

I'd consider this "auto-generating", which I'd define as "computing the actual
mesh vertices at script parse time [or earlier]".

Or, rather, even "meta-auto-generating", as you'd be auto-generating the code to
auto-generate the mesh vertices ;)


Post a reply to this message

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