View Full Version : Sphere mapping
05-29-2001, 04:27 PM
I have a sphere I am using around my world as a sky. Problem is, mapping a sky texture to it looks really yucky. I imagine the texture needs to be created in such a way it will map to a sphere nicely.
So, is there a way to make OpenGL map the texture properly for a sphere using the api, and if not, does anyone know of a program that will take a texture, and make it sphere map-able?
05-29-2001, 04:51 PM
Click on the Search link in this forum and look for "skybox" or "sky box".
05-29-2001, 07:50 PM
Thank you for the reply, but what I have happening with spheres right now is this:
I have 2 spheres. Outer and inner. Outer sphere has an opaque cloud image, and inner has a semi transparent cloud image. Outer one rotates on z a little slower than the inner one. Finished effect is a double layer of clouds. Looks aweseom except for the gibbled textures being all stretched on the spheres.
Is this kind of effect still achievable with sky boxes?
no unless u rotate the box.
an example of how to texture a sphere (and a lot of other good stuff) http://astronomy.swin.edu.au/pbourke/
05-30-2001, 05:58 AM
Thanx Zed, I'll check it out. =)
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.