Page 1 of 1
B3D smooth faces
Posted: Sun May 01, 2022 6:41 pm
by Auradrummer
Hello guys,
Does B3D format supports smoothing faces? My mesh is always flat.
Re: B3D smooth faces
Posted: Sun May 01, 2022 9:53 pm
by CuteAlien
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).
Re: B3D smooth faces
Posted: Mon May 02, 2022 2:35 pm
by Auradrummer
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?
Re: B3D smooth faces
Posted: Mon May 02, 2022 5:32 pm
by CuteAlien
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.
Re: B3D smooth faces
Posted: Mon May 02, 2022 8:20 pm
by Auradrummer
I never heard about Assimp, but looks promising! Thanks for the tip!