# algorithm that openGL uses to construct 3D surface from vertices

a 3D model is a collection of points, and basically a 3D software has algorithm to find out how those points connect to make surfaces.

I'm searching for what those algorithms are called, that can use a set of points and properly fill in the dots to create the accurate 3D model from the set of points to create the 3D object intended.

Please mention the name of the algorithm if it's a general approach, if it's file specific then please assume for .obj files. Any links or references would also be highly appreciated.

• Usually you build the faces manually. Jan 21 at 21:04
• @joojaa , in .obj files, we can see a list of vertices only, how would a 3D software which imports obj files know how to connect those points? Jan 22 at 3:05
• no at the end of the obj file there is a list if faces that use the points. Jan 22 at 6:00
• I figured that earlier and edited the answer below. Thanks for the reply. Jan 22 at 6:24
• search for rasterization, and you'll find the answer. Jan 24 at 14:07

For OBJ files in particular, polygons are specified with a list of vertices using the f command as described here.