Inkscape - Make 2D vector graphics like HUDs (SVG, PNG ...)

Discuss the creation of various model formats for Quake engines, and related matters to modeling.
Post Reply
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Inkscape - Make 2D vector graphics like HUDs (SVG, PNG ...)

Post by Baker »

Inkscape is a free and open source 2D vector graphics application. There are scattered tutorials on it here and there. It is under active development.

http://www.inkscape.org/

Image

Image

Be sure to turn on gridlines and snap to grid and select the option to make the mousewheel zoom in and out.

Can add and combine shapes and takes maybe an hour of learning curve. Then it is easy.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
GiffE
Posts: 170
Joined: Sun Oct 08, 2006 3:39 pm
Location: USA, CT
Contact:

Re: Inkscape - Make 2D vector graphics like HUDs (SVG, PNG .

Post by GiffE »

I took a class on Adobe Illustrator, vector graphics are just plain fantastic. Also, as far as open source tools (as an alternative) go I find Inkscape is miles closer to Illustrator quality than GIMP is to Photoshop quality.

DP can't load a vector format (thats not ttf) can it?
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Inkscape - Make 2D vector graphics like HUDs (SVG, PNG .

Post by Baker »

GiffE wrote:I took a class on Adobe Illustrator, vector graphics are just plain fantastic. Also, as far as open source tools (as an alternative) go I find Inkscape is miles closer to Illustrator quality than GIMP is to Photoshop quality.
Inkscape sure is better than what GIMP is compared to what it aspires to be. But I always hold out hope for the future. :D

I did notice that Inkscape doesn't save PNG files with an alpha channel, which means I have to open the SVG Inkscape creates in GIMP and then save it as PNG to preserve the alpha channel.

[It would be cool if a Quake engine supported SVG ... an end to the "crappily rendered 2D graphics element" problem seen in all engines when the resolution doesn't match the ideal ... or so I imagine.]
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Urre
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon
Contact:

Post by Urre »

Someone add support for vector image format loading to DP please.
I was once a Quake modder
Spirit
Posts: 1065
Joined: Sat Nov 20, 2004 9:00 pm
Contact:

Re: Inkscape - Make 2D vector graphics like HUDs (SVG, PNG .

Post by Spirit »

Baker wrote:I did notice that Inkscape doesn't save PNG files with an alpha channel, which means I have to open the SVG Inkscape creates in GIMP and then save it as PNG to preserve the alpha channel.
Either your build is old or buggy or you did something wrong. Make sure the canvas is transparent (Document Properties).
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Sajt
Posts: 1215
Joined: Sat Oct 16, 2004 3:39 am

Post by Sajt »

Urre wrote:Someone add support for vector image format loading to DP please.
I wouldn't be surprised if this happened. I also wouldn't be surprised if it used another third-party library! But that's how she goes. An engine should support vector graphics, anyway, it's true. You should be able to load it up in the year 2080, with a 1048576 x 786432 pixel monitor and it should still look good.
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
dreadlorde
Posts: 268
Joined: Tue Nov 24, 2009 2:20 am
Contact:

Post by dreadlorde »

SVG would be nice if it wasn't just XML.
Ken Thompson wrote:One of my most productive days was throwing away 1000 lines of code.
Get off my lawn!
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Inkscape - Make 2D vector graphics like HUDs (SVG, PNG .

Post by Baker »

Spirit wrote:
Baker wrote:I did notice that Inkscape doesn't save PNG files with an alpha channel, which means I have to open the SVG Inkscape creates in GIMP and then save it as PNG to preserve the alpha channel.
Either your build is old or buggy or you did something wrong. Make sure the canvas is transparent (Document Properties).
Using current version, tried making the canvas transparent or even not. PNG files still appear to save with no alpha channel. :(

I can deal with it though by saving as SVG and converting it to PNG with GIMP.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Post Reply