Reliable way to make smooth 3D objects?

Is there a way to make 3D objects in Processing that don’t appear as polygonal?

Currently I make 3D shapes by using functions such as beginShape(TRIANGLE_STRIP), but I would like to learn the more technical aspects. If there’s any resources on this please point me to em.

The difference would be similar to this image:

7sklR

Except instead of spheres I’m trying to create more abstract shapes

Edit: I solved it. Turns out the vertices must also have the same normals

https://processing.org/reference/normal_.html

2 Likes

Increase the number of segment if you can sacrifice performance

for a simple sphere it would be sphereDetail()
but I understand, that’s not your goal

https://www.processing.org/reference/sphereDetail_.html

1 Like

Also check out the curved primitives in the Shapes3D library, like Ellipsoid and LatheStock. They give you more options for non-poly geometric constructions.

1 Like