POV-Ray : Newsgroups : povray.general : 2D function to 3D tube : Re: 2D function to 3D tube Server Time
28 Mar 2023 16:44:10 EDT (-0400)
  Re: 2D function to 3D tube  
From: Bald Eagle
Date: 21 Dec 2022 16:50:00
Message: <web.63a37f2f560d61681f9dae3025979125@news.povray.org>
"Droj" <803### [at] drojde> wrote:

> The meshmaker.inc that comes with Povray 3.7 works definitely great.
> To make it a bit clearer where the problem is see:
> T_HeartCurve_00a1.png
> The glitch is somewhere in my Povray script.
> And I can't find out where.
> Any ideas?

I usually kinda suck at this unless I've been doing it for some period of time.

I'm just gonna guess that you need to emulate the way a torus is described

Wolfram gives:

and the parametric equations are

x = (c+acosv)cosu
y = (c+acosv)sinu
z = asinv

With c = major radius, a = minor radius, and probably swap y & z axes.

In the Isosurface Tutorial, Mike states that he has a scene that emulates a
sphere sweep and always makes the cross section perpendicular to the spline
axis.  So maybe you can find that file and see what he does.

I posted a zip of all the files here:

Post a reply to this message

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