Irrlicht and texture atlas support

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
Cube_
Posts: 1010
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Irrlicht and texture atlas support

Post by Cube_ »

Since my voxel world has a huge triangle count I was wondering, what is the state of atlas support in irrlicht, in particular to mipmappig, is irrlicht's mipmapping code somewhat aware that texture atlases are a thing? (if they aren't then I'm in for quite a headache trying to shoehorn that in so I can use the 4tap algorithm, which is more or less required to use greedy meshing with a texture atlas without weird mipmapping artifacts).

somewhat unrelated, does irrlicht have built in support for anisotropic filtering or would I have to hack that in myself as well? (I'm already going to have to hack in antialiasing, given that irrlicht probably doesn't support DLAA or TAA... I might be able to do that through shaders though)
"this is not the bottleneck you are looking for"
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Irrlicht and texture atlas support

Post by CuteAlien »

Filtering is a material option. Not sure what exactly you mean by texture atlas. There are uv-coordinates obviously. And if you have several textures together you have to be careful to avoid bleeding betweem then (so yes - you can get mipmapping artifacts).
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
Cube_
Posts: 1010
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: Irrlicht and texture atlas support

Post by Cube_ »

right, so the texturing support wasn't specifically designed to be aware of atlases, ah well I'll just have to manually create the mipmaps then.
"this is not the bottleneck you are looking for"
Post Reply