1 / 5

3D Pool similation

3D Pool similation. -- Jia Ming Simon Ma CMPS 162. Description on project. Eight-ball game : 1 cue (white) ball 15 object balls (including 7 striped balls 7 solid balls 1 black ball)

mead
Télécharger la présentation

3D Pool similation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 3D Pool similation --Jia Ming Simon Ma CMPS 162

  2. Description on project • Eight-ball game : 1 cue (white) ball 15 object balls (including 7 striped balls 7 solid balls 1 black ball) • Two players take turn to hit either solid balls or the striped balls. • The ultimate goal is to pocket the black ball after pocketing other 7 assigned color balls.

  3. Ball movement Linear motion • Only affected by fiction from the table, so constantly deceleration motion. Follow the rule : v(t) = v(0) + a*t (Velocity = initial Velocity + acceleration * time) Animation of ball motion • Keep updating position as well as drawing • Time based

  4. Collision 1)Reflection Happens when a ball hits the edge of table. Changes the direction, keeps the magnitude. 2)Ball collision • All collisions are elastic • Calculate the velocity after Collision • For multi-ball collision, do each calculation individually, and sum the result.

  5. Progress • Finished: • 3D rotational camera • Table and balls model • Initial setup for ball position and UI • What to do next : • Physics function • Collision • Ball movement • Pocket identification • Better graphic • Create and map the texture of each pool ball

More Related