POV-Ray : Newsgroups : povray.binaries.utilities : Mesh extruder macro Help Server Time
23 Dec 2024 12:16:37 EST (-0500)
  Mesh extruder macro Help (Message 1 to 2 of 2)  
From: ingo
Subject: Mesh extruder macro Help
Date: 25 Feb 1999 14:16:22
Message: <36d5a186.0@news.povray.org>
The last month I've been trying to put together a macro that makes it
possible to create a mesh by extruding a shape (spline) along a path
(spline).
For this I use a part of Spline includefile by Chris Colefax, adapted to use
arrays. And an includefile by Gilles Tran, I found on my disk (adapted to
use splines instaed of equatons), but have no idea where it came from.
The basic thing works a little, but I ran into a major problem. I have
trouble calculating the last two triangles on shape_spline, also on the last
three rows of triangles along the pathsegments. So if you cange the amount
of triangles to calculate the hight of the object changes and the is always
a gap in the shape.
The macro's and a demo file with comments are attatched.


Can somebody help me on this,
I feel like a dog chasing it's own tail,
running around in circles,

ingo
--
Met dank aan de muze met het glazen oog.


Post a reply to this message


Attachments:
Download 'Extrude.zip' (3 KB)

From: Gilles Tran
Subject: Re: Mesh extruder macro Help
Date: 26 Feb 1999 11:59:39
Message: <36D6D35D.A9D75888@inapg.inra.fr>
Oh, I made a better version of this one lately, if you can just wait until
tomorrow...
Gilles Tran

ingo wrote:

> The last month I've been trying to put together a macro that makes it
> possible to create a mesh by extruding a shape (spline) along a path
> (spline).
> For this I use a part of Spline includefile by Chris Colefax, adapted to use
> arrays. And an includefile by Gilles Tran, I found on my disk (adapted to
> use splines instaed of equatons), but have no idea where it came from.
> The basic thing works a little, but I ran into a major problem. I have
> trouble calculating the last two triangles on shape_spline, also on the last
> three rows of triangles along the pathsegments. So if you cange the amount
> of triangles to calculate the hight of the object changes and the is always
> a gap in the shape.
> The macro's and a demo file with comments are attatched.
>
> Can somebody help me on this,
> I feel like a dog chasing it's own tail,
> running around in circles,
>
> ingo
> --
> Met dank aan de muze met het glazen oog.
>
>                   Name: Extrude.zip
>    Extrude.zip    Type: Zip Compressed Data (application/x-zip-compressed)
>               Encoding: x-uuencode


Post a reply to this message

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