简体   繁体   中英

Three.js won't load blender model

I am new to Blender (using 2.70a) and I made a mesh from a bezier curve. [File: http://ivybaumgarten.com/3d/models/wiggler5.blend ]

Exporting it to three.js format gives just a shell of an export with nothing inside: http://pastebin.com/aVNnjE5f

Exporting it as Collada contains something that looks promising ( http://pastebin.com/XFf7wMR8 ), but if I replace monster.dae from this example ( http://threejs.org/examples/webgl_loader_collada.html ) with my model, it doesn't show up. Exporting just a cube shows up fine.

In Blender, it also appears in Texture view, but when I switch over to Rendered, it's blank.

What am I doing wrong?

A friend pointed out that the export was empty because I hadn't selected anything before exporting. Selecting the model before exporting made the model show up in my three.js project.

I still don't know why Render is empty.

I don't know three.js and collada but if you want to export your mesh or a scene in order to show it through the Web via WebGL, I suggest you to use babylonjs . I have already done an export from 2.69 & 2.71 and it works well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM