How to create a tweening effect to morph the alphabet A to the alphabet Z using OpenGl/Glut and C++ ?

Recommended Answers

All 2 Replies

Sounds like an assignment to me.

Here is a library that might help.

As for code, you might be on your own until you can prove you have code.

Well you need to draw the A and the Z as a list of points. It will be easier for you if the list contains the same number of points. Keep the list as a single line, easy with Z but you'll have to double back with A.

Then linearly interpolate each A point to each Z point, then send the list of points to OpenGL as a polyline

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.