Results 1 to 4 of 4

Thread: Camera Path

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member
    Join Date
    Apr 2012
    Location
    Düsseldorf im Rheinland
    Posts
    38

    Camera Path

    OpenGL code for simple game-setup

    You can control a player [blue triangle] with keyboard
    ( w = move forward; d and a = rotate left/right ) like a vehicle.

    And there is a enemy-robot-vehicle [yellow triangle] which
    follow a path on the playground. ( right now --> linear interpolation )

    The Camera can be fixed [ press 6 ], can follow the player [ press 7 ]
    or focus the robot [ press 8 ]

    Rotate the playground [ press 1 ], change camera distance [ press 1 or 2 ] and camera
    position [ press 3 or 4 ]

    improvements: other interpolation like Centripetal Catmull-Spline, 3D-movement support, scripted camera, real 3d-Character

    screen.jpg

    Stay tuned.
    Attached Files Attached Files

Bookmarks

Posting Permissions

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