POV-Ray : Newsgroups : povray.general : Are there any utilities that convert a povray object to a povray mesh2? : Re: Are there any utilities that convert a povray object to a povray mesh2? Server Time
5 Aug 2024 18:20:39 EDT (-0400)
  Re: Are there any utilities that convert a povray object to a povray mesh2?  
From: Warp
Date: 6 Aug 2002 17:44:47
Message: <3d50434f@news.povray.org>
Christopher James Huff <chr### [at] maccom> wrote:
> No. You could probably use an unofficial version of POV that has Warp's 
> patch to tessellate the object and write the mesh to a file, though. 

  The problem with the tesselation process is that it gives a really
inaccurate result for sharp edges. I don't know if there's some tesselation
algorithm which works good with sharp edges (ie. tries to find them and
make triangle edges to follow them).

  On the other hand, perhaps he was looking at another approach: To have
some mesh creation engine to which you could say things like "create a
box here", "now difference a sphere of this resolution from the box" and
it would create the mesh from this information (in a similar way as Moray
creates its wireframe previews).

-- 
#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.