The DXF file format is a beautiful format for parsing, but artistic graphical packages rarely export splines to dxf, but rather breaks them into sublines. Does anyone know of a moderately popular ASCII graphic format, that idealy properly saves bezier splines?
Oddball Software
http://zap.to/oddball
Parsing ASCII graphic formats
The iges (.iges or .igs) format is very popular among professional CAD packages, and it is also ascii based. Although it carries an awful lot of information it is very easy to extract objects of a particular kind such as lines, arcs,splines,nurb surfaces etc etc.
Take a look at this line from an iges file:
110,-0.9,2.4,1.5,-1.01481,2.37717,1.5;
object 110 is a line, followed by sx,sy,sz,ex,ey,ez.
You''ll have to look very hard for information on this subject because it is one of those professionally managed data formats. But I do have a list of object descriptions/id numbers somewhere if you need it.
BTW If you do crack this format let me know!!
Matt
Take a look at this line from an iges file:
110,-0.9,2.4,1.5,-1.01481,2.37717,1.5;
object 110 is a line, followed by sx,sy,sz,ex,ey,ez.
You''ll have to look very hard for information on this subject because it is one of those professionally managed data formats. But I do have a list of object descriptions/id numbers somewhere if you need it.
BTW If you do crack this format let me know!!
Matt
February 12, 2000 08:06 AM
Greetings!
Softimage''s XSI file format is wonderfull to read and very easy to parse. Plus, the code for a parser is provided with the SDK so you can easily adapt it to your game engine and optimize it if you only need to import certain types of geometry. You can get more info at www.softimage.com, go to Products and Softimage 3D SDK.
Cheers,
Michel Bastien
mbastien@sympatico.ca
Softimage''s XSI file format is wonderfull to read and very easy to parse. Plus, the code for a parser is provided with the SDK so you can easily adapt it to your game engine and optimize it if you only need to import certain types of geometry. You can get more info at www.softimage.com, go to Products and Softimage 3D SDK.
Cheers,
Michel Bastien
mbastien@sympatico.ca
quote:
Original post by Joshua Schpok
The DXF file format is a beautiful format for parsing, but artistic graphical packages rarely export splines to dxf, but rather breaks them into sublines. Does anyone know of a moderately popular ASCII graphic format, that idealy properly saves bezier splines?
Oddball Software
http://zap.to/oddball
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement