Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cad_models [2013/01/07 12:20] – [List of available parsers] tenorth | cad_models [2013/03/24 16:55] – [List of available parsers] profanter | ||
---|---|---|---|
Line 64: | Line 64: | ||
Currently the following file formats are supported: | Currently the following file formats are supported: | ||
* [[#Collada Parser|Collada]]: | * [[#Collada Parser|Collada]]: | ||
+ | * [[#PLY Parser|Polygon File Format]]: *.ply | ||
=== Collada Parser === | === Collada Parser === | ||
Line 71: | Line 72: | ||
==== How to create a new parser? ==== | ==== How to create a new parser? ==== | ||
- | Check out ColladaParser for a sample implementation of a parser. | + | Check out ColladaParser for a sample implementation of a parser. |
- | Steps to create a new model parser: | + | |
- | + | ||
- | | + | |
* Add your parser to the extension list (In ModelParser.java) so a file extension will be assigned to your parser: | * Add your parser to the extension list (In ModelParser.java) so a file extension will be assigned to your parser: | ||
* Example: < | * Example: < | ||
- | * implement | + | * Implement |
- | * Store all data in Groups member of ModelParser parent. | + | * Store all data in the Groups member of the ModelParser parent |