Svg loader ?

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
elander
Posts: 193
Joined: Tue Oct 05, 2004 11:37 am

Svg loader ?

Post by elander »

Has anyone already made a usable svg loader for Irrlicht? This would be very cool to build game guis from Inkscape.

Inkscape is the most used svg editor for linux and it comes with an option to edit the xml file and change the id names of path objects which is very useful (i would say essential) for making a game gui.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You can easily export from inkscape to png, so just define your GUI from png elements.
elander
Posts: 193
Joined: Tue Oct 05, 2004 11:37 am

Post by elander »

I'm interested in an api to render svg graphics directly whic much better than working with images. It's possible to define rectagles with a textured image in svg but that's not the point.
Masdus
Posts: 186
Joined: Tue Aug 26, 2003 1:13 pm
Location: Australia

Post by Masdus »

I've been looking at implementing a SVG loader, but its not a simple task. The 2D drawing functions of irrlicht are not enough to support all the features of SVG, so it would take alot of additions to the engine to get everything working.
elander
Posts: 193
Joined: Tue Oct 05, 2004 11:37 am

Post by elander »

Its possible to aproximate curves and filed regions with just straight lines and triangles. Too bad about not having suport for glyph fonts but i think there is a truetype extension somewhere.
Post Reply