Importing into openscenegraph ( osg )

Hello everyone, we have a tool developed using opencascade in our company. I am trying to export a model with its textures in order to import into openscenegraph. I haven't found a way so far, does anyone have any suggestion?

So far, i tried to integrate the VRML exporter code found in the ImportExport MFC example into our software, but it crashes at the line below and i can't debug it.

ofstream writer(aFileName);
writer writer.close();

I am stuck. Please help. Thank you in advance.

Pawel's picture

Hi Ender Erel,

maybe this helps: http://www.opencascade.org/org/forum/thread_15882/

Pawel

erelender's picture

Thank you. Rebuilding in VS2008 solved my crash.