POV-Ray : Newsgroups : povray.general : Help! Bezier patch conversion : Re: Help! Bezier patch conversion Server Time
5 Nov 2024 20:16:43 EST (-0500)
  Re: Help! Bezier patch conversion  
From: Tor Olav Kristensen
Date: 6 Feb 2003 08:02:52
Message: <Xns931A8F843DDECtorolavk@204.213.191.226>
"Nekar Xenos" <go_### [at] yahoocom> wrote in
news:web.3e4237b47b77a3b688ef65ff0@news.povray.org: 

> Thanks.
> 
> Does anyone know where I can find these macros?
> 
> -Nekar X
> 
> ABX wrote:
>>On Wed,  5 Feb 2003 08:33:57 EST, "Nekar Xenos"
>><go_### [at] yahoocom> wrote:
>>> ..dxf (Drawing Exchange Format)
>>
>>I think using macros Bezier patch can be easily converted to mesh
>>which can be outputed as dxf since it is a txt format. IIRC there
>>are ready macros for both purposes.

I once made a macro that generates a mesh for
a bezier patch.

(But I don't know if it is this macro ABX is
referring to.)

If you want to try it, you must look for
the BezierPatchFunction() macro in this post:

http://news.povray.org/povray.text.scene-files/22698/157269/

(This macro is not limited to making functions
for bicubuc patches from a 4x4 grid of points.
It can take any number of control points in
both directions.)

You will also need either one of Ingo's
"Meshmerizing Mesh Maker Macros" or one of my
old mesh macros. (Ingo's macros are nicely
documented. Mine are not.)

You can find Ingo's mesh web page here:

http://members.home.nl/seedseven/

If you want to use my mesh macros, you must
look for WriteParamMesh() or ParametricMesh()
in this post:

http://news.povray.org/povray.text.scene-files/23250/161948/


Tor Olav


Post a reply to this message

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