POV-Ray : Newsgroups : povray.binaries.images : Coding smooth shapes in Pov Server Time
17 Aug 2024 12:18:37 EDT (-0400)
  Coding smooth shapes in Pov (Message 1 to 7 of 7)  
From: Hugo
Subject: Coding smooth shapes in Pov
Date: 15 Oct 2001 13:04:06
Message: <3bcb1706@news.povray.org>
Hello,

I'm developing some macros that I hope will make it easier for me to code
some "beautiful" shapes. Here's an example of splines, but I'm not finished.
My ideas are mostly about smooth extrusion, spline shapes, easy ways to go
from ordinary primitives into smooth stuff and seamlessly back to
primitives.. It's also about speedy rendering (using triangles here as you
can see) and I'd like the macros to be flexible and useful to other people
than myself.

I'm not great in math but I like to code and I think the POV newsserver is a
great source for help and inspiration. Nice people here. I'm asking about
your ideas. When you code your models and run into problems, what features
is it you miss? I'm not saying I can make something really great, but your
input could expand my ideas...


Hugo


Post a reply to this message


Attachments:
Download 'Spline_Meshes.JPG' (40 KB)

Preview of image 'Spline_Meshes.JPG'
Spline_Meshes.JPG


 

From: Trevor Quayle
Subject: Re: Coding smooth shapes in Pov
Date: 15 Oct 2001 13:24:39
Message: <3bcb1bd7$1@news.povray.org>
Very interesting idea here.  You may want to look at mesh2 which can allow
you to compact the object better and also allow for smoothing and even uv
mapping.  It can get very hair-pullingly frustrating developing the logic
for this kind of code though.  The mesh2 mobius macro I posted a while back
makes use of mesh2 and smoothing normals, but as I say, it gets frustrating
keeping track of what you are doing and finding the problems with your code.

-tgq


"Hugo" <hua### [at] post3teledk> wrote in message
news:3bcb1706@news.povray.org...
> Hello,
>
> I'm developing some macros that I hope will make it easier for me to code
> some "beautiful" shapes. Here's an example of splines, but I'm not
finished.
> My ideas are mostly about smooth extrusion, spline shapes, easy ways to go
> from ordinary primitives into smooth stuff and seamlessly back to
> primitives.. It's also about speedy rendering (using triangles here as you
> can see) and I'd like the macros to be flexible and useful to other people
> than myself.
>
> I'm not great in math but I like to code and I think the POV newsserver is
a
> great source for help and inspiration. Nice people here. I'm asking about
> your ideas. When you code your models and run into problems, what features
> is it you miss? I'm not saying I can make something really great, but your
> input could expand my ideas...
>
>
> Hugo
>
>
>


Post a reply to this message

From: JRG
Subject: Re: Coding smooth shapes in Pov
Date: 15 Oct 2001 13:37:18
Message: <3bcb1ece@news.povray.org>
Hi Hugo, you wrote:
> Hello,
>
> I'm developing some macros that I hope will make it easier for me to code
> some "beautiful" shapes. Here's an example of splines, but I'm not
finished.
> My ideas are mostly about smooth extrusion, spline shapes, easy ways to go
> from ordinary primitives into smooth stuff and seamlessly back to
> primitives.. It's also about speedy rendering (using triangles here as you
> can see) and I'd like the macros to be flexible and useful to other people
> than myself.
>
> I'm not great in math but I like to code and I think the POV newsserver is
a
> great source for help and inspiration. Nice people here. I'm asking about
> your ideas. When you code your models and run into problems, what features
> is it you miss?

Lofting, rail (and rails) sweeping, non linear tapering for prisms,
bevelling, fillet, skin...
You asked me :).

Those previews are REALLY promising! Looking forward to seeing further
developments.

--
Jonathan.


Post a reply to this message

From: ingo
Subject: Re: Coding smooth shapes in Pov
Date: 15 Oct 2001 15:04:47
Message: <Xns913BD66E3A99Bseed7@povray.org>
in news:3bcb1706@news.povray.org Hugo wrote:

> I'm developing some macros that I hope will make it easier for me
> to code some "beautiful" shapes. Here's an example of splines, but
> I'm not finished. 
> 

Started a simmiliar project last weekend after playing with Amapi. 
Sofar I've got a working Lathe and a buggy 'ruled surface'/multi spline 
mesh. Prism with spline controold scaling, 'Double Sweep' and 'Multi 
Sweep' are almost working.

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message


Attachments:
Download 'msm.jpg' (7 KB) Download 'lathe.jpg' (8 KB)

Preview of image 'msm.jpg'
msm.jpg

Preview of image 'lathe.jpg'
lathe.jpg


 

From: Mike Williams
Subject: Re: Coding smooth shapes in Pov
Date: 16 Oct 2001 01:27:53
Message: <L6OpTCA1H4y7Ewm9@econym.demon.co.uk>
Wasn't it Hugo who wrote:
>Hello,
>
>I'm developing some macros that I hope will make it easier for me to code
>some "beautiful" shapes. Here's an example of splines, but I'm not finished.

Have you looked into the possibility of using spline functions in
isosurfaces in v3.5? There's a few examples of how this could work at
the bottom of the <http://www.econym.demon.co.uk/isotut/more.htm> page
of my isosurface tutorial.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Hugo
Subject: Re: Coding smooth shapes in Pov
Date: 16 Oct 2001 04:02:14
Message: <3bcbe986@news.povray.org>
Thanks Mike for pointing me to your updated ISO toturial!  I hadn't noticed
the update about splines. Surely I'll look into this and add it to my plans
for.... something... I won't tell yet... :o)  I don't know if I'll succeed.
Thanks also to Trevor, Jonathan and Ingo who replied so far.  I'm sure Ingo
will succeed with his project, I have the feeling he is good at math and
maybe those macros could merge with mine - it depends on a few things, but
in general it's not necessary to have 2 files doing the same thing.  And it
might be that more people are trying to code something like this and their
input will be appriciated as well.

Hugo


Post a reply to this message

From: ingo
Subject: Re: Coding smooth shapes in Pov
Date: 16 Oct 2001 08:49:20
Message: <Xns913C96C87DEBDseed7@povray.org>
in news:3bcbe986@news.povray.org Hugo wrote:

> I'm sure Ingo will succeed with his project, I have the feeling he is
> good at math ...

Not!

>...and maybe those macros could merge with mine...

Posted the current, rather rough, version of the lathe macro in
p.b.s-f. 

Newsgroups: povray.binaries.scene-files
Subject: Lathe macro
Message-ID: <Xns### [at] povrayorg>
Date: 16 Oct 2001 08:45:20 -0400
Xref: news.povray.org povray.binaries.scene-files:2489


Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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