OGRECave / ogre

scene-oriented, flexible 3D engine (C++, Python, C#, Java)
https://ogrecave.github.io/ogre/
MIT License
3.85k stars 959 forks source link

Does OGRE support texture packing? #3085

Open sercero opened 3 months ago

sercero commented 3 months ago

Something like this: Blender - Texture Channel Packing

paroj commented 3 months ago

yes, it does: https://github.com/OGRECave/ogre/blob/a98c9ee8a6b93f9cf2d0d1efdaf4e0b7002d3c74/Samples/Simple/include/Terrain.h#L519-L521

however, it is more efficient to do this at export time with e.g imagick: https://ogrecave.github.io/ogre/api/latest/tut__terrain_sky_fog.html#bt3MergingTextures

sercero commented 3 months ago

Does it make sense to add this to blender2ogre, do you think?

paroj commented 3 months ago

I got the impression you can do this directly in blender without any exporter support, no?

sercero commented 3 months ago

I don't know.

If you look at the video it seems that they guy has to make a special setup in Blender in order to pack the textures.