automatic texture-coordinate generation

hello, I’d like to generate automatic texture-coordinates for a detail texture. I tried various settings for glTexGen but the result is not good (the texture is applied as if it was a planar projection). Can a cubemap help getting correct UV in all 3 dimensions ?
thanks.

Automatic 2D texgen over any geometry is pretty hard.

Sure, cubemaps will help avoid singular points or extreme stretching, but you will probably have visual seams.

I think the best results is to set the coordinates manually and carefully. It is quite long though.

that’s a bad news but thanks !