Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 1 of 1

Thread: 3D ball kicking on the curve

Hybrid View

  1. #1
    Newbie Newbie
    Join Date
    Nov 2012
    Posts
    2

    Question 3D ball kicking on the curve

    Hello,everyone..
    I have assignment and I can't solve it Please can you help me:


    This is the assignment:
    [Specification
    In this assignment you should work on your old interface[I have built the interface ] to add the following features:
    1- Using mouse Function you should let the user to choose where to put the ball (once the user clicks the mouse anywhere inside the playground you should draw a ball there) .
    2- Let the user draw the Kick curve then the ball should go through this curve (Note here you should define the starting and end points).



    To Draw the kicking curve you will wait until the user specify the path of the curve using mouse click ( note here that you will wait for 4 points i.e 4 clicks from the user ).
    • The first click to specify where to draw the Ball.
    • Clicks from 2 to 5 to specify the path of the curve (P1, P2, P3 and P4).
    • Once completed, your program should draw the kicking curves passes through the specified points (Ball ,P1,P2,P3 and P4)



    • Now your curve is ready and your program should have a menu with the following items:
    1- Kick the ball (fast mode): your ball moves on the kicking curve quickly.
    2- Kick the ball (Medium speed mode): your ball moves on the kicking with Medium speed.
    3- Kick the ball (slow mode): your ball moves on the kicking with low speed.

    Hint : use the Timer Function to control the move speed .
    3- Your interface should be implemented in 3D environment .





    ]
    Last edited by Maisshannaq; 11-24-2012 at 07:10 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •