PDA

View Full Version : Some Images don't work as skydomes


3p1ph4ny
October 16th, 2007, 05:45 AM
First of all, great work =)

I'm having issues setting certain images as skydomes. Some work, and some don't. When an image doesn't work as a skydome, I just get the default grey->black fade.

An example of an image that doesn't work as a skydome: http://upload.wikimedia.org/wikipedia/commons/2/20/MontBlanc2c.jpg

Any ideas?

coz
October 16th, 2007, 07:31 AM
Hey guy,
yep that image doesn't work here either.the resolution is probably too high for the video card, That image is 7564x2415 at 150dpi, way too big, so, open that image in Gimp then under the Image menu click scale image and in the width resolution block change that to 2432 and scale it. It will look like you really cut the image down and you did however it will work after that.
What you may want to do is to experiment with the width resolution for Scale image. instead of reducing it as drastically as i did down to 2432 width , try changing the width resolution incrimentally to see what the highest resolution can be tolerated by your card, but take the dpi down to 72 at some point , its really all you need for skydome. When changing the width resolution under the Image menu /Scale image the height resolution will change also unless you click the chain link to the right of the resolution boxes. if you want the image to be scaled proportionally do not unlink that chain.
coz

3p1ph4ny
October 16th, 2007, 09:10 PM
Yeah, I figured that it might be problems with the image resolution. You don't happen to know how I can figure out what the maximum image size I can use would be do you?

Thanks!

adamk
October 16th, 2007, 09:17 PM
$ glxinfo -l | grep MAX_TEXTURE_SIZE

Whatever that value is set to is the maximum image resolution that can be used.

Adam

3p1ph4ny
October 17th, 2007, 05:15 PM
Cool, thanks! Marked as solved.