POV-Ray : Newsgroups : povray.general : Some info required, please... : Re: Some info required, please... Server Time
5 Aug 2024 12:14:44 EDT (-0400)
  Re: Some info required, please...  
From: Warp
Date: 16 Sep 2002 15:32:03
Message: <3d8631b3@news.povray.org>
Christian <las### [at] hotmailcom> wrote:
> What kind of data strucrure is used to store vertex information? Are
> vertexes numbered or indexed or anything like that? Does this structure
> allows to manipulate internally the position of vertexes by external
> values? Or functions?

  Meshes are internally stored in a data structure which resembles a lot
how information is stored in the mesh2 format.

  In theory it could be possible to allow the user to modify the vertex
points of an existing mesh. However, it probably requires some extra
work, as modifying the vertices invalidates the octree structure of the
mesh and has to be calculated again.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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