DFF Mesh into Irrlicht

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Cesar
Posts: 2
Joined: Sun Jun 05, 2016 6:25 pm

DFF Mesh into Irrlicht

Post by Cesar »

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.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: DFF Mesh into Irrlicht

Post by CuteAlien »

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
Cesar
Posts: 2
Joined: Sun Jun 05, 2016 6:25 pm

Re: DFF Mesh into Irrlicht

Post by Cesar »

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.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: DFF Mesh into Irrlicht

Post by CuteAlien »

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
Post Reply