Load a Vector Image?

Blitz3D Forums/Blitz3D Programming/Load a Vector Image?

CopperCircle(Posted 2007) [#1]
Hi, I need to get a Vector Image into Blitz, does anyone know of a dll or way to open any of these files in Blitz?

dxf, emf, eps, ai, er, fig, svg, epd, dr2d

Thanks.


bytecode77(Posted 2007) [#2]
there are no libraries for that...
you gotta do that yourself. wikipedia helps :)
http://en.wikipedia.org/wiki/DXF

arent 'vector images' bumpmaps?


Subirenihil(Posted 2007) [#3]
Aren't 'vector images' bumpmaps

No, they aren't. I think what you are thinking of are 'normal maps'.

'Vector images' are made of lines and curves.
'Raster images' are made of points.

Vector images are made up of functions, not pixels. A vector image is like a painting, there are no pixels, it's all smooth curves and lines. A bitmap is a raster image, it's just a bunch of dots called pixels.

All images are displayed as raster images, because monitors are raster. That's what the 1024x768 is all about - defining how many pixels wide and tall the screen is.


IPete2(Posted 2007) [#4]
CopperCircle,

There was - a little while ago - a Flash plugin for B3d, made by (I think) a Russian crew.

This would allow swf vectors and bitmap animations made in Flash to be used inside B3d, there was a cpu hit though. If you do a search on the forums I did post an example for people to view.

[Edit in fact I found it - here it is: www.smartscreenuk.com/blitzflash.zip ]


CopperCircle(Posted 2007) [#5]
Thanks IPete2 thats great.