Advertisement

Texture mapping a quadratic sphere

Started by February 13, 2001 11:16 PM
3 comments, last by ByteMe95 24 years ago
Hi everyone. Here''s the problem I need a sky background, but I want it to be around everywhere the camera turns. I set it up so that I draw a QUAD with a sky texture mapped to it in the background, and render that before I rotate the scene, and it works, but it doesnt look good when the camera moves since the sky is stationary. So I was thinking of having a sphere texture mapped with a sky texture, and then render everything else within the sphere so that the sky is all around, everywhere you look (Does this sound like a reasonalbe idea??? I''m new to all this) So I created the sphere, and mapped it as Nehe demonstrated, but it takes the one sky texture and maps the whole texture to the sphere, making it look blurry and, well, not good. I assume if I have it use the same texture say 10 times or more throughout the sphere, it''ll look well enough, but I have no idea how to texture map quadratics like that. Any ideas? Comments? Suggestions on any of this? Thanks ByteMe95::~ByteMe95() Cerebrum Software
ByteMe95::~ByteMe95()My S(h)ite
Skyboxes are more effective and easier to set up and understand compared to the spherical approach. I suggest you look up how to setup such a skybox on your preferred web search, the results can be quite appreciative.

And btw, they''re quadrics, not quadratics..

-- Wav
Advertisement
u dont need a sphere just a dome. btw its impossible to texture a sphere correctly youre gonna have distortions.
i agree a skybox is easier but theres one thiing it cant do as well as a dome/sphere and thats ''moving clouds''

http://members.xoom.com/myBollux
Wow, I just did like an hour search for skybox tutorials and fuond NOTHING. I hate the internet, what a waste of space.

Anyway, can anyone direct me to a good skybox tut?
thanks

ByteMe95::~ByteMe95()
Cerebrum Software
ByteMe95::~ByteMe95()My S(h)ite
http://www.gamasutra.com/features/visual_arts/19981023/skybox_01.htm

http://members.xoom.com/myBollux

This topic is closed to new replies.

Advertisement