Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
does anyone have any ideas how i could make a simple animation with opengl showing three models being assembled...i tried and have been getting weird results...not done animations before and its been very confusing ..no good tutorials online...

i tried using the idle function to change the values of the x position of one of the models but...it just keeps flying despite the conditions i place on them

could anyone please give a short snippet of how i could achieve this..that would be very helpfull...or direct me to a good tutorial...


thanks alot
Posted
Updated 23-Jul-11 3:03am
v2

1 solution

Can we see you code madubuko - it may just be that x is getting incremented a lot faster than you think - and thus the object just flies off screen (you could be getting a lot > than 100 frames per second)

martin
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900