Blender + Open 3D viewer

178 views
Skip to first unread message

Fausby

unread,
Feb 15, 2012, 2:24:17 PM2/15/12
to open-3d-viewer-discuss
Hello.

Congratulations, nice work.
I have some questions.

What revision of webgl-loader have to use with open-3d-viewer?

I use the last revision, 77. In my experiments I export my 3D models
with blender to obj marking this options:

- Apply Modifiers
- Include Edges
- Include Normals
- Include UVs
- Write Materials
- Objects as OBJ Groups

(fine?)

Obj compression to utf8 just gives me a warning, "s unknown keyword",
s is smooth shading, although it see soft in open-3d-viewer then.

The real problem is with textures. In "js file" I see "map_Kd
name.tga" instead of color, no errors anywhere, but then don't see the
3D model with texture. It see with white material.

I also tried the 50 revision of webgl-loader, I got more warnings,
with "mtllib, usemtl, s, ..." and other problems. Maybe I don't know
what options I have to mark to export obj.

Won

unread,
Feb 15, 2012, 6:29:45 PM2/15/12
to open-3d-vie...@googlegroups.com
I wonder if it is as simple as the fact that TGA isn't supported by the browser? Try converting it to JPG and updating the JSON?

If you are willing to send me the OBJ/MTL, attach it to a bug:

Fausby

unread,
Feb 16, 2012, 9:23:42 AM2/16/12
to open-3d-viewer-discuss
I tried in PNG with the same results, I will try with JPG, thanks, but
then alfa transparency not suported.

Won

unread,
Feb 16, 2012, 12:30:24 PM2/16/12
to open-3d-vie...@googlegroups.com
Yeah, it is difficult to tell what is going on without seeing your data.

-Won

Fausby

unread,
Feb 16, 2012, 2:30:33 PM2/16/12
to open-3d-viewer-discuss
With JPG, the problem continuos.
I do very simple example, I leave it in http://code.google.com/p/webgl-loader/issues/detail?id=27
Reply all
Reply to author
Forward
0 new messages