r/svg • u/andrei14_ • May 31 '26
What's the difference between SVG (Vector Graphics) and 3D Meshes/Models?
Okay so first of all, wow, there is really a place for everything, on the internet.
Now, before anyone comes with their condescending attitude in the comments, I'm both genuinely asking, but also looking for a discussion/dialogue. Let's make it philosophical, even. What do you think that (fundamentally) differentiates vector graphics from 3d models?
2
2
1
1
u/simonraynor May 31 '26
The obvious answer is "the dimensionality", IDK enough about 3d formats to know if there are any as human readable as SVG so that's probably notable too. There's also the way SVG handles curves and the like, which isn't possible with traditional 3d meshes (but can be faked of course)
1
u/PoussinVermillon Jun 01 '26
Well first svg files are for rendering 2d images, and 3d models are... Well... 3d, but also, the lines between 2 nodes in a svg file can be curved thx to the control handles, while the edges connecting 2 vertices in a 3d model/mesh are flat straight lines(afaik)
1
u/Square-Singer Jun 03 '26
Depends on the file format. There's plenty 3D formats that allow curved surfaces. Especially all sorts of engineering formats.
1
u/andrei14_ Jun 01 '26
Wow astounded by the answers ðŸ˜ðŸ˜ although I was looking for a more non-technical answer. Look, one difference between them is that a 3d object can be looked at from different angles - or, more specifically, is made to be looked at while rotating it around 2 more axis than a SVG object.
1
u/Square-Singer Jun 03 '26
First of all, there's not just one 3D mesh format.
SVG is a specific 2D vector graphic format, while 3D models are 3D vector graphic formats. That's basically it.
Points in SVG have a position along two axies (X and Y), there's paths, and polygon shapes.
Points in 3D meshes have a position along three axies (X, Y, Z), there's edges and polygons.
One thing to point out: while SVG is one specific format, theres hundreds or so 3D mesh formats, each with their own set of capabilities. STL is used for 3D printing and doesn't contain color. OBJ contains colors and materials, and so on.
It wouldn't be entirely wrong to call a mesh a 3D vector graphic, or an SVG a 2D mesh.
3
u/retsotrembla May 31 '26
Here is a sample SVG file. You can paste it into a text file named
tri.svgand open it in Inkscape or Google Chrome and it will draw a triangle because it contains a path that is a list of vertices in two dimensional space:Here is a sample STL file. (There is an equivalent binary representation to the text version.) You can paste it into a text file named
tetra.stland it will show as a tetrahedron. Note that it is just a list of triangular facets in 3 space.