PDA

View Full Version : automatic texture-coordinate generation



gemelli_d
07-08-2004, 01:55 AM
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.

ZbuffeR
07-08-2004, 02:48 AM
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.

gemelli_d
07-08-2004, 03:17 AM
that's a bad news but thanks !