Hi,
I'm new to Irrlicht. I created this sofa, reading a tutorial, using blender and exported it as .dae.
I tried to load the mesh into Irrlicht in the Hello World example. But I'm getting this weird output.
I'd appreciate any help. Thanks in advance.
regards,
Shubho
Loading .dae mesh in Hello World
-
- Posts: 36
- Joined: Sat Feb 06, 2010 11:52 am
Hi,
I tried it out with the mesh viewer. Same results. I loaded the .dae file, then I loaded the texture file zebra.png.
I've tried it both with opengl and d3d. The results are the same.
Any advice on what I should do? I even tried it out with .b3d format.
Thanks in advance.
regards,
Shubho
This is the output for .dae file:
This is the output for .b3d file:
I tried it out with the mesh viewer. Same results. I loaded the .dae file, then I loaded the texture file zebra.png.
I've tried it both with opengl and d3d. The results are the same.
Any advice on what I should do? I even tried it out with .b3d format.
Thanks in advance.
regards,
Shubho
This is the output for .dae file:
This is the output for .b3d file:
did you apply subsurf modifier before exporting?
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
-
- Posts: 36
- Joined: Sat Feb 06, 2010 11:52 am
Then it's a problem with the model, it's nothing to do with the Hello World program.Shubho wrote:I tried it out with the mesh viewer. Same results.
Try a simpler version of the model, and keep on simplifying it until it works. Or use a different model format. Or use a different 3D modeller.
But until you have something that works in Mesh Viewer, don't even think about using it with your own Irrlicht program.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
The dae loader might already work in the latest Irrlicht version (or SVN). Could also be a problem with certain unsupported geometry, though.
The b3d file seems to lack texture coords (as the dae file), that's why the texture is not shown (or only very partial). This is a problem with not having a proper unwrap of the coords.
The b3d file seems to lack texture coords (as the dae file), that's why the texture is not shown (or only very partial). This is a problem with not having a proper unwrap of the coords.