Game Development Community

SVG file format and Torque

by Simon Love · in Torque Game Engine · 07/27/2005 (1:31 pm) · 3 replies

Howdy!

I am a big fan of open-source software, Blender, The Gimp, Buzz, Openoffice, etc. Yesterday I was trying to find an adobe illustrator equivalent and fell on Inkscape, an open-source vector drawing program. So far, it's pretty neat, especially the price tag :)

As I started learning its intricacies, I found out that it saves files under the SVG format, which is basically XML. See where I'm going with this? I know there are ressources to read XML somewhere in the depths of the forums, and I know some people have been waiting for a Flash-gui for torque.

SVG's don't seem to handle animations and all that, but maybe vector graphics is something someone, somewhere would want to use.

Would an SVG GUI interface be possible? And can anybody think of cool stuff this tech would provide the torque community? Just wondering :)

About the author

I am here to help. I've worked at every imaginable position in game development, having entered the field originally as an audio guy.


#1
07/27/2005 (1:44 pm)
Quote:
SVG's don't seem to handle animations and all that
SVG actually handles animations quite well

What good would a vector based graphics package be if it didnt.. ;)

It was one of my projects a while back to explore SVG, and integrate into one of our projects
(day job...non game related) and I was quite impressed
SVG is xml yes.. but, to do anything other than simple animations (like the above link) it relies heavily on a javascript document object model, which could be considered its strong point...

A better alternative is .SWF using GameSWF an open source library for parsing and rendering SWF movies. There is a wonderful resource in the private area explaining how to impliment this in Torque based apps..
#2
08/10/2005 (10:55 am)
Thanks for the reply, Kevin. Sorry about the late answer, though, indie dev tends to make linear time go by faster somehow...

I still wonder why no one implemented this in an actual product...i.e. a final game.
#3
08/10/2005 (12:42 pm)
You may find this useful:

svgl.sourceforge.net


its an opengl lib for rendering svg .. Its unix but you may be able to port easily