I’m new to OpenGL and I’m trying to create a small spinning top. I want it to eventually fall by changing its rotation angle, but right now I’m focused on its rotation speed.
I’m having a hard time figuring out how to change the angle so that it’ll look like it starts rotating in high speed and the speed slowly dwindles.
My Timer method in C#: Interval is set for 10msecs.
private void timerRUN_Tick(object sender, EventArgs e)
{
cGL.angle = //to implement a good decreasing function
cGL.Draw();
}
I’m new to OpenGL and I’m trying to create a small spinning top. I want it to eventually fall by changing its rotation angle, but right now I’m focused on its rotation speed.
I’m having a hard time figuring out how to change the angle so that it’ll look like it starts rotating in high speed and the speed slowly dwindles.
My Timer method in C#: Interval is set for 10msecs.
private void timerRUN_Tick(object sender, EventArgs e)
{
cGL.angle = //to implement a good decreasing function
cGL.Draw();
}
I’d appreciate any help
Thank you.[/QUOTE]
I’ve stumbled upon the same problem recently and I couldn’t make it out
I hope someone else will help us here.