POV-Ray : Newsgroups : povray.binaries.utilities : Mesh extruder macro Server Time
5 Jul 2024 14:42:10 EDT (-0400)
  Mesh extruder macro (Message 1 to 6 of 6)  
From: Gilles Tran
Subject: Mesh extruder macro
Date: 26 Feb 1999 13:00:51
Message: <36D6E1B7.AEF31DE@inapg.inra.fr>
Here is the mesh extruder macro I was talking about in my answer to
Ingo. It takes a spline and extrudes it along another one. It is
possible to change the resolution of the mesh, and there is a preview
mode that uses spheres.
Hint : modifiy the macro and replace the triangles by primitives, and it
works a little like the famous (and much better done of course) mesh
deformation macros by Chris Colefax.
I hope it's clean (and clear) enough though.
Have fun
Gilles Tran


Post a reply to this message


Attachments:
Download 'extsplin.pov.txt' (8 KB)

From: Ken
Subject: Re: Mesh extruder macro
Date: 26 Feb 1999 13:21:26
Message: <36D6E59C.B08D61ED@pacbell.net>
Gilles Tran wrote:
> 
> Here is the mesh extruder macro I was talking about in my answer to
> Ingo. It takes a spline and extrudes it along another one. It is
> possible to change the resolution of the mesh, and there is a preview
> mode that uses spheres.
> Hint : modifiy the macro and replace the triangles by primitives, and it
> works a little like the famous (and much better done of course) mesh
> deformation macros by Chris Colefax.
> I hope it's clean (and clear) enough though.
> Have fun
> Gilles Tran

  If I understand correctly where you say "It takes a spline and
extrudes it along another one." to mean I can define a shape with
a set of 3D coordinates and then extrude that shape along a predefined
path, be it a spline path, or any other set ot 3D points I wish to feed
it. Is this correct ?

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Gilles Tran
Subject: Re: Mesh extruder macro
Date: 26 Feb 1999 13:56:39
Message: <36D6EECB.4912753F@inapg.inra.fr>
That's what exactly what it does.
Feed it a shape array of 3D points and a path array 3D points and you have a
nice smooth shape, pipe-like, or drape-like, depending on whether the shape is
closed or not. I didn't try it on closed path though.
Since I'm no math wizard, I don't know exactly what kind of spline is used (I
borrowed the spline macro from someone named Steve Sloan, as credited in the
macro).
If you look at the "Hunters" picture I posted in pov.binaries on Jan 9, 1999,
the branches and background were made with a modified version of the macro,
where I had replaced the triangles with small discs to simulates "scales".
Another possible modification of the macro is to tinker with the part that
creates the 3D points (replacing the spline shape or spline path by an
equation, for instance).

Gilles Tran

Ken wrote:

> Gilles Tran wrote:
> >
> > Here is the mesh extruder macro I was talking about in my answer to
> > Ingo. It takes a spline and extrudes it along another one. It is
> > possible to change the resolution of the mesh, and there is a preview
> > mode that uses spheres.
> > Hint : modifiy the macro and replace the triangles by primitives, and it
> > works a little like the famous (and much better done of course) mesh
> > deformation macros by Chris Colefax.
> > I hope it's clean (and clear) enough though.
> > Have fun
> > Gilles Tran
>
>   If I understand correctly where you say "It takes a spline and
> extrudes it along another one." to mean I can define a shape with
> a set of 3D coordinates and then extrude that shape along a predefined
> path, be it a spline path, or any other set ot 3D points I wish to feed
> it. Is this correct ?
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net


Post a reply to this message

From: Ken
Subject: Re: Mesh extruder macro
Date: 26 Feb 1999 14:12:53
Message: <36D6F1A9.F4215C1F@pacbell.net>
Gilles Tran wrote:
> 
> That's what exactly what it does.
> Feed it a shape array of 3D points and a path array 3D points and you have a
> nice smooth shape, pipe-like, or drape-like, depending on whether the shape is
> closed or not. I didn't try it on closed path though.
> Since I'm no math wizard, I don't know exactly what kind of spline is used (I
> borrowed the spline macro from someone named Steve Sloan, as credited in the
> macro).
> If you look at the "Hunters" picture I posted in pov.binaries on Jan 9, 1999,
> the branches and background were made with a modified version of the macro,
> where I had replaced the triangles with small discs to simulates "scales".
> Another possible modification of the macro is to tinker with the part that
> creates the 3D points (replacing the spline shape or spline path by an
> equation, for instance).
> 
> Gilles Tran

  The older Pov modeler PovCad had a function available that allowed you
to extrude along a path. I found it very handy for creating complex
curve geometries like all of the inside and outside curves in a picture
frame, the contours of a car body, furniture and carpet mouldings just
to name a few. This process done proceeduraly, internal to pov, adds a whole
new demension to it that has never been seen before. I see the future of
this program brighter now than ever before and it can only get better with
the passage of time.

 Thank you for your contributions.

P.S. -- The tree macro that you posted finaly appeard on the Pov Objects
collection about a week ago. There are both versions yours with no leafs
and the one I modified that added leaves. In the week it has been on line
it has been down loaded nearly 50 times and the number keeps growing daily.
Things like this are a real hit with everybody. If you have anymore little
gems like that hidden away they would be very appreciated by the community :)

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: ingo
Subject: Re: Mesh extruder macro
Date: 26 Feb 1999 14:49:11
Message: <36d6fab7.0@news.povray.org>
Tanks a lot Gilles,

ingo

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

Gilles Tran heeft geschreven in bericht <36D### [at] inapginrafr>...
>Here is the mesh extruder macro I was talking about in my answer to
>Ingo. It takes a spline and extrudes it along another one. It is
>possible to change the resolution of the mesh, and there is a preview
>mode that uses spheres.......


Post a reply to this message

From: Gilles Tran
Subject: Re: Mesh extruder macro
Date: 27 Feb 1999 10:55:35
Message: <36D815E0.5166D9EB@inapg.inra.fr>
I used PovCad a couple of times in the past and yes it was very handy. The idea for
the spline macro actually came from Rhino, that has all these wonderful surface
creation tools (like most modellers I guess). Someone with more time on his/her
hands than me (and more programming talent) could turn the macro in a real mesh
creation utility.
Thanks for pointing out the huge success of our tree macro ! I've got other things
cooking (no "gems", though, I'm no Chris Colefax, but objects and little macros)
that I'll make available when my site update is ready (give me a month). I'll be
happy to share them with the Pov Collection.

Gilles Tran

Ken wrote:

>   The older Pov modeler PovCad had a function available that allowed you
> to extrude along a path. I found it very handy for creating complex
> curve geometries like all of the inside and outside curves in a picture
> frame, the contours of a car body, furniture and carpet mouldings just
> to name a few. This process done proceeduraly, internal to pov, adds a whole
> new demension to it that has never been seen before. I see the future of
> this program brighter now than ever before and it can only get better with
> the passage of time.
>
>  Thank you for your contributions.
>
> P.S. -- The tree macro that you posted finaly appeard on the Pov Objects
> collection about a week ago. There are both versions yours with no leafs
> and the one I modified that added leaves. In the week it has been on line
> it has been down loaded nearly 50 times and the number keeps growing daily.
> Things like this are a real hit with everybody. If you have anymore little
> gems like that hidden away they would be very appreciated by the community :)
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net


Post a reply to this message

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