POV-Ray : Newsgroups : povray.text.scene-files : CSG to Mesh Server Time
22 Dec 2024 14:35:05 EST (-0500)
  CSG to Mesh (Message 1 to 1 of 1)  
From: Josh
Subject: CSG to Mesh
Date: 3 Jun 2004 12:02:29
Message: <40bf4b95@news.povray.org>
Here for your use, is my code that creates a mesh from a CSG.  Be warned it
is only an approximate mesh.

The attached file is set up to generate a mesh of a Cylinder-Sphere CSG.
When you run it, it generates a "Result.pov" file on your disk.  If you run
the "result.pov" file it will show the resulting Mesh.

There are a few parameters you can alter, and I hope I've detailed them
enough for you to understand.


Post a reply to this message


Attachments:
Download 'ObjectToMesh.pov.txt' (7 KB)

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