I would write an exporter plugin in a made-up format instead of trying to parse wings files.
And force the triangulation in the exporter.
I have made an example of how to do that (a long time ago) here:
http://erlang.org/~dgud/wings/wpc_ex1.erl.html remove html from link for the source.
Which I use when a I want to play with opengl and wants to load models to test the code on.
And force the triangulation in the exporter.
I have made an example of how to do that (a long time ago) here:
http://erlang.org/~dgud/wings/wpc_ex1.erl.html remove html from link for the source.
Which I use when a I want to play with opengl and wants to load models to test the code on.