0

This question deals with how to convert .osg to .obj but I am using the WebGL version. The osgconv cant handle the .osgjs extention. I cannot find any tools with regular search.

Typing osgconv model.osgjs model.obj doesnt work.

Souradeep Nanda
  • 3,116
  • 2
  • 30
  • 44

1 Answers1

1

The osgjs plugin is intended only for exporting osg scenes towards osgjs and as such supports only writing, not reading.
See implementation here.

rickyviking
  • 846
  • 6
  • 17
  • Is there any way to extract back the model files? I can see a `.fbx` written inside the `.osgjs` which looks like a `.json` file to me. – Souradeep Nanda Oct 24 '17 at 15:39
  • 1
    Files .osgjs are indeed json, and are intended for the osgjs library which is a porting of osg for webgl (a completely separate project). As the plugin is write only, there is no automatic way to covert the models back through osgconv. The .fbx reference you see is probably just referring to some names of the original file converted to osgjs? – rickyviking Oct 24 '17 at 18:45