Input data format

101 views
Skip to first unread message

Miriam Melnick

unread,
Aug 23, 2012, 3:14:12 PM8/23/12
to open-3d-vie...@googlegroups.com
Hi -

I am wondering what the data format is for open-3d-viewer? I read some notes from the OpenWorm developers but I am not quite clear. How does one get from a 3D model in a CAD program to a working open-3d-viewer implementation?

Details would be greatly appreciated.

Thanks,

Miriam Melnick

Nico Weber

unread,
Aug 23, 2012, 3:26:26 PM8/23/12
to open-3d-vie...@googlegroups.com
Hi Miriam,

we use http://code.google.com/p/webgl-loader/ for model loading. That
library includes a binary to convert .obj files to the custom file
format we use. (Sadly, that tool outputs .js files instead of .json
files, but maybe that could be changed.)

Nico

Won

unread,
Aug 23, 2012, 4:53:44 PM8/23/12
to open-3d-vie...@googlegroups.com
Actually, it does open .json files now, although the head version has drifted somewhat from open-3d-viewer compatibility. I'll try to update o3v soon.

Miriam, if you have some sample data that you would like to o3v-ize, I could make sure it all works.

-Won

Miriam Melnick

unread,
Aug 24, 2012, 6:30:22 PM8/24/12
to open-3d-vie...@googlegroups.com

Thanks.

I am aiming to make the process as easy as possible for other developers. I want my port to include simple instructions for doing the conversion. 
I am out of town for several more days but can then look at webgl-loader.

Thanks.

Mani N C

unread,
Aug 25, 2012, 2:06:31 AM8/25/12
to open-3d-vie...@googlegroups.com
I am starting to work on Android version of 3D viewer. But android app is no longer compatible with webgl-loader output. I would like to start working on making it compatible with it. I will try to make it easily reusable with any OBJ model. Can some one point me to document or notes which talks about current webgl-loader output format ? 

BTW, I also tried using r50 webgl-loader to generate JSON files from OBJ file, But loader couldn't generate it.  

--
Mani Chandrasekar

Reply all
Reply to author
Forward
0 new messages