POV-Ray : Newsgroups : povray.general : Mesh smoothing Server Time
25 Dec 2024 13:42:45 EST (-0500)
  Mesh smoothing (Message 1 to 7 of 7)  
From: growse
Subject: Mesh smoothing
Date: 8 May 2003 20:50:05
Message: <web.3ebafaa75948a0eecf020a570@news.povray.org>
Say I have a regular surface like a box, is there an easy simple way to just
smooth and round off the edges?

Thanks


Post a reply to this message

From: Warp
Subject: Re: Mesh smoothing
Date: 8 May 2003 21:14:01
Message: <3ebb00d9@news.povray.org>
growse <pov### [at] growsecom> wrote:
> Say I have a regular surface like a box, is there an easy simple way to just
> smooth and round off the edges?

  Do you mean that you have a box as a *mesh*?

  If so, then I think this might be what you are looking for:
http://enphilistor.users4.50megs.com/sss.htm

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Andrew Rowson
Subject: Re: Mesh smoothing
Date: 9 May 2003 06:52:43
Message: <3ebb887b$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3ebb00d9@news.povray.org...
> growse <pov### [at] growsecom> wrote:
> > Say I have a regular surface like a box, is there an easy simple way to
just
> > smooth and round off the edges?
>
>   Do you mean that you have a box as a *mesh*?
>
>   If so, then I think this might be what you are looking for:
> http://enphilistor.users4.50megs.com/sss.htm
>
> --
> #macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb
x]
> [1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
> -1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// -
Warp -

Thanks, I'll give it a go.


Post a reply to this message

From: John VanSickle
Subject: Re: Mesh smoothing
Date: 9 May 2003 15:56:43
Message: <3EBC07F8.76A7AC5E@hotmail.com>
Warp wrote:
> 
> growse <pov### [at] growsecom> wrote:
> > Say I have a regular surface like a box, is there an easy simple way to just
> > smooth and round off the edges?
> 
>   Do you mean that you have a box as a *mesh*?
> 
>   If so, then I think this might be what you are looking for:
> http://enphilistor.users4.50megs.com/sss.htm

Not terribly useful in its present form.  I'm working on an update.
In any event, subdivision surfaces are not intended for smoothing
the edges of polyhedrons, but rather are for designing organic shapes.

Regards,
John


Post a reply to this message

From: Gena Obukhov
Subject: Re: Mesh smoothing
Date: 10 May 2003 02:05:33
Message: <3EBC94E6.DAFCDA5D@mail.com>
John VanSickle wrote:

> In any event, subdivision surfaces are not intended for smoothing
> the edges of polyhedrons, but rather are for designing organic shapes.

Is it possible to use your algorithm for making smooth transition
from trunk to branch, from branch to twigs in mesh trees saved
from POV-Tree? I think the most difficult part is to find intersections
because for example branches and trunk are separate meshes.

Gena.


Post a reply to this message

From: John VanSickle
Subject: Re: Mesh smoothing
Date: 10 May 2003 09:17:25
Message: <3EBCFBE0.851FA662@hotmail.com>
Gena Obukhov wrote:
> 
> John VanSickle wrote:
> 
> > In any event, subdivision surfaces are not intended for smoothing
> > the edges of polyhedrons, but rather are for designing organic
> shapes.
> 
> Is it possible to use your algorithm for making smooth transition
> from trunk to branch, from branch to twigs in mesh trees saved
> from POV-Tree? I think the most difficult part is to find
> intersections because for example branches and trunk are separate
> meshes.

The macros take a hull that has already been designed, and refines it
by replacing each face with a set of smaller faces.  The edges are
divided and the orginal points are moved slightly as well.  When this
is repeated a few times, the result is a curved surface.  With the
right hull, you can make almost anything.

For a tree macro, the macros should be fed a rough hull of the tree
(which is fairly easy to build); the marso would then make a smooth
tree.

Regards,
John


Post a reply to this message

From: Hugo Asm
Subject: Re: Mesh smoothing
Date: 11 May 2003 07:20:35
Message: <3ebe3203$1@news.povray.org>
> Say I have a regular surface like a box, is there an easy
> simple way to just smooth and round off the edges?

A better word than "smoothing" in this case would probably be "bevelling".
If you're working with CSG, this one seems very useful:

http://news.povray.org/povray.binaries.images/30021/

If you're working with meshes, I suggest using a modeller because it gives
me much more flexibility than coding. Try Wings3D, it's freeware, powerful
and really user friendly:

www.wings3d.com


Regards,
Hugo


Post a reply to this message

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