Hello guys,
Does B3D format supports smoothing faces? My mesh is always flat.
B3D smooth faces
-
- Posts: 260
- Joined: Thu Apr 17, 2008 1:38 pm
- Location: Brasopolis - Brazil
B3D smooth faces
Professional Software Developer and Amateur Game Designer
Re: B3D smooth faces
B3D should have vertex normals. So you can smooth those before export.
In theory you can also call recalculateNormals from the MeshManipulator, but it's less control that way (as it run then on all faces).
In theory you can also call recalculateNormals from the MeshManipulator, but it's less control that way (as it run then on all faces).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 260
- Joined: Thu Apr 17, 2008 1:38 pm
- Location: Brasopolis - Brazil
Re: B3D smooth faces
Thanks Master,
I'll try to discover why it not worked. By the way, what is the best way to export an skeletal animated mesh from Blender to Irrlicht?
There is another software or technique people are using nowadays?
I'll try to discover why it not worked. By the way, what is the best way to export an skeletal animated mesh from Blender to Irrlicht?
There is another software or technique people are using nowadays?
Professional Software Developer and Amateur Game Designer
Re: B3D smooth faces
Sorry, I don't know. My guess is there might not be an easy solution right now. Sadly it's been over a decade since I last tried exporting an animation from Blender. Back then b3d still worked. Maybe .X still works? If Blender still has exporter for that. My own projects over the last years were all with static objects, so this is something where I depend on other people improving the engine if there are problems.
edit: Using assimp library might work. Forum has some info about it somewhere.
edit: Using assimp library might work. Forum has some info about it somewhere.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 260
- Joined: Thu Apr 17, 2008 1:38 pm
- Location: Brasopolis - Brazil
Re: B3D smooth faces
I never heard about Assimp, but looks promising! Thanks for the tip!
Professional Software Developer and Amateur Game Designer