Game Engine Programming 027.2 - UV mapping the UV Sphere | C++ Game Engine

Published September 04, 2021
Advertisement

Last time, we wrote a function that successfully generates a mesh for a UV sphere. We also made a user control which we can use to set the properties of the sphere, such as segmentation and size. Today, I'll continue and add a control for the smoothing angle, so that we can have smooth UV spheres. I'll also compute the UV coordinates and use those to texture the sphere.

(Red Episode)

Support Game Engine Series: https://patreon.com/gameengineseries

Discord: https://discord.gg/75ZmXwz

by Arash Khatami

-------------------------------------------------------------

#PrimalEngine #GameEngineSeries #GameEngineProgramming #TheGameEngineProgrammingSeries

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!
Advertisement