Ah thanks - wayback is a good idea! Looks pretty simple actually. Though still needs some testing, especially with the changes in mouse handling. I'll probably still try to finish some other open stuff first - got already 2 open branches with half-finished stuff (one about sdl2 and the other with changes in the animation system). Thought as this one is pretty short and useful... will see.
And as for ttf has solution, I'd recommend using the one my code snippet repository (see my .sig - search for ttf there). It's the same as in that thread, but with several fixes (I've used that one already a few times).
SDL2 and Irrlicht 1.9
Re: SDL2 and Irrlicht 1.9
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: 25
- Joined: Sun Jan 12, 2025 3:31 pm
- Location: New Zealand
Re: SDL2 and Irrlicht 1.9
Thank you very much for looking into that, i just looked into the TTF it seems quite simple according to the forum thread i should only need to include the two files CGUITTFont.h and CGUITTFont.cpp (with freetype linked aswell) into my project to get multi-byte TTF fonts rendering?CuteAlien wrote: Wed Jan 22, 2025 10:24 pm Ah thanks - wayback is a good idea! Looks pretty simple actually. Though still needs some testing, especially with the changes in mouse handling. I'll probably still try to finish some other open stuff first - got already 2 open branches with half-finished stuff (one about sdl2 and the other with changes in the animation system). Thought as this one is pretty short and useful... will see.
And as for ttf has solution, I'd recommend using the one my code snippet repository (see my .sig - search for ttf there). It's the same as in that thread, but with several fixes (I've used that one already a few times).
Also just curious what changes are you making to the animation system? One of the other things i did end up putting together myself was being able to create tangents for IAnimatedMesh on MeshManipulator class.
And yeah fingers crossed that you can fit in the borderless window patch into latest svn would be very nice for anyone wanting to make borderless window full screen games in DX9 (like myself). I also run 99% of my games i play in borderless fullscreen aswell.
Re: SDL2 and Irrlicht 1.9
Basically yes - add those 2 files and link to freetype. You also have to set the font. Check ttf.cpp in my repository for an example how to use it.
Animation system has bugs with transitions (viewtopic.php?t=53070). Won't have many changes otherwise (interface will get an isTransitioning function).
If you talk about skinned meshes, then ISkinnedMesh has a function convertMeshToTangents().
And yes, borderless windows are the way to go for games by now. The old solution in Irrlicht is rather bad these days. I haven't needed is myself so far simply because for the last years I worked on applications which were all windowed.
Animation system has bugs with transitions (viewtopic.php?t=53070). Won't have many changes otherwise (interface will get an isTransitioning function).
If you talk about skinned meshes, then ISkinnedMesh has a function convertMeshToTangents().
And yes, borderless windows are the way to go for games by now. The old solution in Irrlicht is rather bad these days. I haven't needed is myself so far simply because for the last years I worked on applications which were all windowed.
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: 25
- Joined: Sun Jan 12, 2025 3:31 pm
- Location: New Zealand
Re: SDL2 and Irrlicht 1.9
Thank you again ill look into getting that TTF example working, Ah interesting about the animation, Yes what i was referring to is the convertMeshToTangets() function only seems to work on IMesh nodes and doesn't work with IAnimatedMesh nodes? I did hack in a function that made it work though but was wondering if you plan to add official support for that?CuteAlien wrote: Thu Jan 23, 2025 10:35 am Basically yes - add those 2 files and link to freetype. You also have to set the font. Check ttf.cpp in my repository for an example how to use it.
Animation system has bugs with transitions (viewtopic.php?t=53070). Won't have many changes otherwise (interface will get an isTransitioning function).
If you talk about skinned meshes, then ISkinnedMesh has a function convertMeshToTangents().
And yes, borderless windows are the way to go for games by now. The old solution in Irrlicht is rather bad these days. I haven't needed is myself so far simply because for the last years I worked on applications which were all windowed.
Re: SDL2 and Irrlicht 1.9
Function works with skinned meshes - so basically with bone animations. For others - it's open. No plan for that so far.
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