2D Vectorgraphics

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Criamon
Posts: 9
Joined: Fri Mar 26, 2004 10:41 am

2D Vectorgraphics

Post by Criamon »

Hi there,

how to draw 2d vectorgraphics with irrlicht? Or is this madness?
I thought about doing this with irrlicht, cause of the possibility to switch the rendering engine. At the moment I use OpenGL for drawing complex 2d vector patterns (many lines), but due to problems I want to be able to use directx or a software renderer too.

I started to look at Draw2DLine, but got strange results (only drawing when using EDT_SOFTWARE). Then I switched to Draw3DLine and the results got even wierd (actually switching between EDT_SOFTWARE, EDT_DIRECTX8 and EDT_OPENGL produced totally different results).

What I also like to do is zoom/pan my drawings by changing the view/projection. But Draw2DLine never reacts to something like device->setTransformation.

Any hints for me?
Criamon
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

I did not plan to make 2d vectorgraphic drawing available with irrlicht, that's also a reason why draw2dline only works with the software renderer. I would recommend to switch to another engine, unless you don't want to modify and enhance the engine in that direction.
Post Reply