How to convert an .ai file to a .txt one to display it in OSG?

0 votes
No avatar asked by (120 points)
edited by

I want to display an .ai file in OSG created in Adobe Illustrator software. In OSG environment, I want to analyze this kind of files to get the points and function information in order to draw it.

We need to convert the .ai file to a text which is visible and then analyze and extract out the information involving points, functions and finally display them using the gathered data.

Thank your very much!

1 Answer

0 votes
answered by (100k points)
edited by

An .ai file contains graphical elements that, as you said, were created in Adobe Illustrator. Trying to convert an .ai file into a .txt one has no logical understanding because you can't do nothing with graphical elements in a text file, that is impossible.

As I can see, OSG deals with 3D elements which in this case, try and export the .ai file to these supported file formats:

3D database loaders include COLLADA, LightWave (.lwo), Alias Wavefront (.obj), OpenFlight (.flt), TerraPage (.txp) including multi-threaded paging support, Carbon Graphics GEO (.geo), 3D Studio MAX (.3ds), Peformer (.pfb), AutoCAd? (.dxf), Quake Character Models (.md2). Direct X (.x), and Inventor Ascii 2.0 (.iv)/ VRML 1.0 (.wrl), Designer Workshop (.dw) and AC3D (.ac) and the native .osg ASCII format.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...