POV-Ray : Newsgroups : povray.binaries.images : Rounding edges Server Time
26 Apr 2024 00:20:27 EDT (-0400)
  Rounding edges (Message 1 to 6 of 6)  
From: Bathurstfreak
Subject: Rounding edges
Date: 3 Nov 2004 22:05:00
Message: <web.41899b1a5d8e9ecf70d1465a0@news.povray.org>
What would be the most effective way to round the edges in this model, it is
currently the intersection union and subtraction of various common shapes.
Can someone do a fillet macro for the next version of povray?


Post a reply to this message


Attachments:
Download 'prototype.jpg' (16 KB)

Preview of image 'prototype.jpg'
prototype.jpg


 

From: scott
Subject: Re: Rounding edges
Date: 4 Nov 2004 09:27:50
Message: <418a3c66$1@news.povray.org>
Bathurstfreak wrote:
> What would be the most effective way to round the edges in this
> model, it is currently the intersection union and subtraction of
> various common shapes. Can someone do a fillet macro for the next
> version of povray?

Check out the Round_* macros in the help file, these will help a bit.  But
depending on how complex your CSG is it can get very complex very quickly
having to keep track of how all the rounds are working!


Post a reply to this message

From: Bill Hails
Subject: Re: Rounding edges
Date: 7 Nov 2004 13:45:35
Message: <418e6d4e@news.povray.org>
Bathurstfreak wrote:

> What would be the most effective way to round the edges in this model, it
> is currently the intersection union and subtraction of various common
> shapes. Can someone do a fillet macro for the next version of povray?

Bevelling in csg is not trivial for anything more complex than right-angles.
I had some limited success with a recent(!) pic
http://thyme.homelinux.net/Gallery/kotoji.html
I can post the macro I came up with if you're interested, it just deals
with bevelling intersecting cylinders.

-- 
Bill Hails
http://thyme.homelinux.net/


Post a reply to this message

From: Bathurstfreak
Subject: Re: Rounding edges
Date: 8 Nov 2004 01:40:00
Message: <web.418f148070f1156d70d1465a0@news.povray.org>
> Bevelling in csg is not trivial for anything more complex than right-angles.
> I had some limited success with a recent(!) pic
> http://thyme.homelinux.net/Gallery/kotoji.html
> I can post the macro I came up with if you're interested, it just deals
> with bevelling intersecting cylinders.

Cheers, Bevelling was not the issue at the moment, the wheel arches are made
up of several (now) rounded cylinders bevelled together, however rounding
off the intersection of two spheres that make up the middle of the fuselage
is now my challenge, I even tried using blobs, but that didn't work too
well, I am hesitant to use bicubic or other types of patches because of the
issues they create where patches are joined together. Also my headlights
create enough code to significantly slow rendering times for the final
animation.

Nice lantern though, is the slight subtraction in the arch-stand on the left
side meant to be there?


Post a reply to this message


Attachments:
Download 'prototype.jpg' (23 KB)

Preview of image 'prototype.jpg'
prototype.jpg


 

From: ingo
Subject: Re: Rounding edges
Date: 8 Nov 2004 10:18:37
Message: <Xns959BA5EA3C8E3seed7@news.povray.org>
in news:web.418f148070f1156d70d1465a0@news.povray.org Bathurstfreak
wrote: 

> however rounding
> off the intersection of two spheres that make up the middle of the
> fuselage is now my challenge,

In the standard distribution of POV-Ray there is a macro:
#macro r_ConnectSpheres (r_S1, r_S2, Dist, r_Con, S1, S2)

It is hidden in the scenes/advanced/cats/coolcat.inc file

Maybe it works for what you want,

Ingo


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Rounding edges
Date: 8 Nov 2004 12:45:59
Message: <418fb0d7$1@news.povray.org>
Bathurstfreak wrote:
>>Bevelling in csg is not trivial for anything more complex than right-angles.
>>I had some limited success with a recent(!) pic
>>http://thyme.homelinux.net/Gallery/kotoji.html
>>I can post the macro I came up with if you're interested, it just deals
>>with bevelling intersecting cylinders.
> 
> 
> Cheers, Bevelling was not the issue at the moment, the wheel arches are made
> up of several (now) rounded cylinders bevelled together, however rounding
> off the intersection of two spheres that make up the middle of the fuselage
> is now my challenge, I even tried using blobs, but that didn't work too
> well, I am hesitant to use bicubic or other types of patches because of the
> issues they create where patches are joined together.
...


My BetweenTori() macro in this file can connect spheres and
tori smoothly:

http://home.no/t-o-k/POV-Ray/CSG-Fung.txt

Here's some images that were made with this macro:

http://home.no/t-o-k/POV-Ray/CSG-Fung.jpg
http://home.no/t-o-k/POV-Ray/CSG-Glass_Ball.jpg
http://home.online.no/~t-o-k/POV-Ray_Images/CSG_Inside_It.jpg
http://home.online.no/~t-o-k/POV-Ray_Images/CSG_Cut_In_It.jpg
http://home.online.no/~t-o-k/POV-Ray_Images/CSG_Smooth_Tori.jpg
http://home.online.no/~t-o-k/POV-Ray_Images/CSG_Smooth_Tori_Cut.jpg

And it could have been used to make theese images:

http://home.online.no/~t-o-k/POV-Ray_Images/CSG_Sphere_Bumps.jpg
http://home.online.no/~t-o-k/POV-Ray_Images/CSG_Lens_Surface.jpg


If the topology of your object allows you to use quadrilateral
meshes, then you can stictch together several of POV-Ray's
bezier patches, like I have done in these images:

http://home.online.no/~t-o-k/POV-Ray_Images/Bezier_Patches_Stitched.jpg
http://home.online.no/~t-o-k/POV-Ray_Images/Bezier_Patches_Stitched_.jpg
http://home.online.no/~t-o-k/POV-Ray_Images/Bezier_Patches_Torus.jpg
http://home.online.no/~t-o-k/POV-Ray_Images/Bezier_Patches_UV-mapped.jpg
http://home.online.no/~t-o-k/POV-Ray_Images/Bezier_Patchwork.jpg
http://home.online.no/~t-o-k/POV-Ray_Images/Bezier_Patchwork_Ctrl_Grid.jpg
http://home.online.no/~t-o-k/POV-Ray_Images/Bezier_Patchwork_Top_View.jpg

-- 
Tor Olav
http://subcube.net
http://subcube.com


Post a reply to this message

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