Convert X3Db files into OBJ files. #263

Closed
xxdaggerxx opened this Issue Dec 29, 2013 · 5 comments

Comments

Projects
None yet
3 participants
@xxdaggerxx

Hi, is there a way to export x3db files to OBJ files?

@yjung

This comment has been minimized.

Show comment
Hide comment
@yjung

yjung Dec 29, 2013

Contributor

Yes, just use the aopt tool, which comes with Instant Reality: http://www.instantreality.org/downloads/
In the x3dom docs there is also a tutorial.

Contributor

yjung commented Dec 29, 2013

Yes, just use the aopt tool, which comes with Instant Reality: http://www.instantreality.org/downloads/
In the x3dom docs there is also a tutorial.

@yjung yjung closed this Dec 29, 2013

@xxdaggerxx

This comment has been minimized.

Show comment
Hide comment
@xxdaggerxx

xxdaggerxx Dec 29, 2013

Hi, what i mean is to programmatically convert it. Is there a JavaScript library i can use for example?

Hi, what i mean is to programmatically convert it. Is there a JavaScript library i can use for example?

@cecilemuller

This comment has been minimized.

Show comment
Hide comment
@cecilemuller

cecilemuller Dec 30, 2013

@yjung I don't recall seeing OBJ in the output formats of aopt? Or did you mean he'd convert binary X3D to XML-encoding X3D, and then convert to OBJ with XSLT ?

@yjung I don't recall seeing OBJ in the output formats of aopt? Or did you mean he'd convert binary X3D to XML-encoding X3D, and then convert to OBJ with XSLT ?

@cecilemuller cecilemuller referenced this issue in mrdoob/three.js Dec 30, 2013

Closed

Importing X3D objects into three.js #4239

@yjung

This comment has been minimized.

Show comment
Hide comment
@yjung

yjung Dec 30, 2013

Contributor

It is a bit hidden but possible (however, obviously all scene-graph information gets lost):
aopt -i test.XXX -e test.obj (where XXX is any supported file format, incl. x3db)
The -e option uses the OpenSG writer backend, therefore all file formats that are supported by OpenSG are supported here.

Contributor

yjung commented Dec 30, 2013

It is a bit hidden but possible (however, obviously all scene-graph information gets lost):
aopt -i test.XXX -e test.obj (where XXX is any supported file format, incl. x3db)
The -e option uses the OpenSG writer backend, therefore all file formats that are supported by OpenSG are supported here.

@cecilemuller

This comment has been minimized.

Show comment
Hide comment
@cecilemuller

cecilemuller Dec 30, 2013

Ahh nice to know, thanks Yvonne :)

Ahh nice to know, thanks Yvonne :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment