LoadTexture() can't load cube-map

Archives Forums/Blitz3D Bug Reports/LoadTexture() can't load cube-map

Danny(Posted 2007) [#1]
When you want to load a Cubic environment Map using LoadTexture(texturefile$,128) it always returns a 0 for texture handle!!

Even though GfxDriverCaps3D() returns 110 - suggesting it should work.

This can't be right, can it?! Also, where can I find a bit more explanation on when/how to use cubic environment maps. I can guess the difference with a spherical environment map, but some practical use/example would help!

-Danny.

WindowsXP MCE SP2, NVidia GeForce go7600, 1Gb ram, T5500 (duo core 1.66Ghz centrino proc), Blitz 1.98


Shodan(Posted 2007) [#2]
Cubemap must be stripe of 6 pictures in one file. The correct order is left,front,right,behind,up,down.
the pictures must have a square size with power of two.

The description can be found in B3D-Help V 1.88 under 3D - Category/Texture/SetCubeFace