Algorithm for creating rounded edges and corners in a three-dimensional grid

Starting with a 3D mesh, how would you give a rounded appearance to the edges and corners between the polygons of this mesh?


Not wanting to interfere with other approaches, here's how I approach the problem now:

Given the grid for a regular polyhedron, I can give the edges of the grid a rounded shape by scaling each polygon along its plane and connecting the edges using cylinder segments so that each cylinder touches each polygon, where it corresponds to this polygon.

Here is an example with a cube:

Cube

Here's the cube after scaling its polygons:

Cube after scaling polygons

Here's the cube after joining the edges of the polygons using cylinders:

Cube with rounded edges

I am having problems with how to deal with the angles between polygons, especially in cases where there are more than three edges in each corner. I also need an algorithm that works for all closed polyhedrons instead of the usual ones.

+3
source share
4 answers

I am posting this as an answer because I cannot put images in comments.

Cattle point

Here is an image of two brothers camping:

sattlepoint http://img831.imageshack.us/img831/7398/tent.png

( , ), . , , . , . , . Svante.

3D-, . , . , .

alt text http://img802.imageshack.us/img802/8628/selfintersection.png.

, , .

- . (, , ). . , .

, , , . , . , . , , .

NURBS

. : nurbs , . nurb- . , , NURB . nurbs-.

. nurbs - . . ( ), .

+2

, ?

, CAGD, Non-Uniform Rational B-Splines (NURBS), .

- . NURBS , , .

+1

, , . , , , .

+1
0

Source: https://habr.com/ru/post/1759681/


All Articles