So I have thought up of exporting through c++ by using the tcl function call.
Code:
char *tcl_command(char *fmt, ...);
So what I have done is chopped up my objects (by removing the objects that I don't want to export, and then calling the tcl_command).
Not exactly sure what the parameters for the tcl_command should be though
so far Ive tried this
Code:
tcl_command("ac3d","exporter_write_file","\"VRML2\"",\"file.wrl\");
that doesn't seem to work. Do I need to copy everything into one string?