Wings 3D Development Forum
Save texture map as SVG? - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6)
+--- Thread: Save texture map as SVG? (/showthread.php?tid=162)



Save texture map as SVG? - Selezen - 01-30-2013

Is it possible to export a texture map from the UV mapper as SVG?

I do a lot of simple model texturing and creating card models from Wings, and the first thing I have to do for high-res output is trace the bitmap output in Inkscape.

If Wings had a plugin for this it would save me hours of work.

Is it possible?


RE: Save texture map as SVG? - Wegg - 02-01-2013

That'd be cool actually. A resolution independent .svg uv output.


RE: Save texture map as SVG? - Selezen - 02-01-2013

(02-01-2013, 04:08 PM)Wegg Wrote: That'd be cool actually. A resolution independent .svg uv output.
I don't know if "resolution independent" would be appropriate, because the greater use of that would be to allow easy creation of a texture from the output UV file. Since the bitmaps are (I assume) created by extrapolating the pixel position of each line, the SVG polygons could be created in a similar fashion. I'm not exactly sure how similar the process could be though.

The lengthy part of texture creation in Inkscape has always been locating the exact pixel co-ordinates for a change of direction in a line, especially in circles (or cylinder ends).

Inkscape has a "bitmap trace" function that may be a good starting point for the concept if it helps. It's not great though, because it generates a shape that is all one vector polygon, sometimes with thousands of nodes in it that all have to be separated out.