POV-Ray : Newsgroups : povray.general : Curved Triangles : Curved Triangles Server Time
19 Nov 2024 05:45:20 EST (-0500)
  Curved Triangles  
From: Ben Chambers
Date: 14 Apr 2002 19:57:25
Message: <3cba1764@news.povray.org>
I've written a small demo program which takes a normal triangle (three 
vertices, three normals), and draws a smooth curve between them 
("smooth" being defined as a variable LOD).  The smooths are both 
continuous (no holes formed) and patch-able (two adjacent triangles, 
sharing an edge, will smoothly mesh together).  Because it operates 
with traditional triangle data (vertices & normals), it is extremely 
easy to switch between a discrete mesh and my LOD triangles.

Would anyone be interested in a POV-Ray macro to draw such things?  The 
syntax would be something like:

curved_triangle(v1, n1, v2, n2, v3, n3)

If so, let me know.

...Chambers


Post a reply to this message

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