Jump to content

  • Log In with Google      Sign In   
  • Create Account

Parsing ASCII graphic formats


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Joshua Schpok   Members   -  Reputation: 122

Like
Likes
Like

Posted 10 February 2000 - 03:31 PM

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

Sponsor:

#2 matibee   Members   -  Reputation: 204

Like
Likes
Like

Posted 11 February 2000 - 09:19 AM

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

#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 12 February 2000 - 02: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

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







Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS