New games every week!
Projecting
Blog
6th December 2019
Struggled SO HARD to figure out Projection Mapping, late last night.
The damn thing kept me awake for hours, until about 3:30am, as I tried desperately to google for an answer, but couldn't quite word what it was that I wanted. -=-=- The SoCoder logo is drawn in 2D, but looks (to the best of my artistic inabilities) like it's on a sphere. Last night, I wanted to make a "proper" rotating 3D sphere with the logo appearing on it, but in order to do that, I need to make a 2D square texturemap of the 2D sprite.! Obviously, just placing the 2D square texture with the "normal" logo on it, onto a sphere, ends up getting overly curved, as it wraps around the sphere. Instead I need to project the 2D texture of a 2D image of a 3D sphere, onto a 2D texture to wrap around a 3D sphere. .. or something.. I think!! I couldn't wrap my head around how to word that, so instead, tried my best to "guess" how to wrap it. .. It didn't go well! A Wonky Ball!! I'll probably be retrying this at some point, today. Views 29, Upvotes 3
Daily Blog
New games every week!
|