Hello, I have a question about the meshes that handles Irrlicht.
I wanted to know how I can do to make Irrlicht can accept a DFF mesh. This is possible?
The DFF format to which I refer is using the GTA SA.
I hope your answer. Regards and Thanks.
DFF Mesh into Irrlicht
Re: DFF Mesh into Irrlicht
Irrlicht doesn't support it, you have to write your own mesh-loader for that format. To see how to write meshloader check the code of existing ones (thought I don't know if DFF is documented somewhere, otherwise that's pretty tricky).
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
Re: DFF Mesh into Irrlicht
Ok, I understand. I have a codes snippets an application that uses DFF meshes(https://github.com/alemariusnexus/gtatools).
Any advice you can give me to create my mesh-loader? Anyway, thank you.
Any advice you can give me to create my mesh-loader? Anyway, thank you.
Re: DFF Mesh into Irrlicht
Check how existing meshloaders work. There's a bunch in Irrlicht (in source/Irrlicht, all called C...MeshFileLoader) - maybe look at the smallest one.
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