• Advertisement

Archived

This topic is now archived and is closed to further replies.

Texture mapping a quadratic sphere

This topic is 6215 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
http://www.gamasutra.com/features/visual_arts/19981023/skybox_01.htm

http://members.xoom.com/myBollux

Share this post


Link to post
Share on other sites

  • Advertisement