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 5 of 5

Thread: example how to rate arround a object

  1. #1
    Intern Newbie
    Join Date
    Sep 2010
    Posts
    36

    example how to rate arround a object

    Hi all

    will somebody have a simple example to rotate and translate the camera around an object using as buttons of mouse, for example rotate around a cube?


    Thanks

  2. #2
    Member Regular Contributor
    Join Date
    Mar 2007
    Location
    CA
    Posts
    418

    Re: example how to rate arround a object

    Take a look at gltzpr

    There is a demo program: zprdemo.c

    which on linux compiles as
    Code :
    g++ zprdemo.c zpr.c -lGL -lGLU -lglut
    on windows just use your compiler accordingly.

  3. #3
    Intern Newbie
    Join Date
    Sep 2010
    Posts
    36

    Re: example how to rate arround a object

    Hi
    marshats

    Thanks by o link, but I don't access it.

    Please, could you copy the link again?

    Thanks very much.

  4. #4
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: example how to rate arround a object


  5. #5
    Intern Newbie
    Join Date
    Sep 2010
    Posts
    36

    Re: example how to rate arround a object

    I am sorry, somehow my network does not allow me to access it, I'll review.


    Thanks

Posting Permissions

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