Skip to main content
gamedev.net
🔒 Locked

texture problems

Started by rubberkidney 0 replies 200+ views
Original Post
rubberkidney
rubberkidney
Im applying a moon texture to a sphere, the texture goes on fine for the most part, but theres a band around the model that looks like the texture is all bunched up, does anyone know how to fix this?
S1CA
S1CA
1) show us a screenshot.

2) it''s impossible to perfectly map a square texture onto a spherical object without some amount of stretching or scrunching (either of the image in the texture or of the texture itself). Try and wrap a piece of paper around a tennis ball - you''ll see what I mean.

3) it sounds like bad texture coordinates or a bad map. Take a look at the BumpEarth sample in the DirectX SDK to see how to generate a sphere with good texture coordinates - make sure you also take a look at the texture map they use (earth.bmp) - notice it''s warped/squashed towards the top and bottom...)

--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.