🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Problems != Good Sleep

posted in noaktree leaves
Published October 22, 2007
Advertisement
I couldn't let it go. I'm usually in bed by now but I couldn't get this nagging problem out of my mind.

My previous solution was way too complicated. And no it turns out I WAS missing vertices. So I added those, reconfigured the face maker thingy, then calculated u coord like so (1.0f/slices * current_slice) * u_tile; The v was something like ((current_z - low_z) / (high_z - low_z)) * v_tile;

Ta-da!



My normal calculations aren't yet taking the new verts into consideration so there is a hard shaded line down the side. I think I can sleep with that one though. [smile]
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement