Results 1 to 3 of 3

Thread: Mouse Navigation

  1. #1
    Senior Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    653

    Mouse Navigation

    Whats the quickest way of doing mouse navigation? *not*

    mouse_move(x, y)
    {
    glrotatef(1, x, y, 0);
    }

    As in I want it to navigate the world in the same way as any vrml viewer or similar

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    653

    Re: Mouse Navigation

    sorted it.

    cheers

  3. #3
    Senior Member Regular Contributor nickels's Avatar
    Join Date
    Feb 2000
    Location
    Colorado
    Posts
    284

    Re: Mouse Navigation

    Many viewers use:
    *Left click is trackball (search for trackball. Someone gave me code for one on here once).
    *<Shift> left click translates (Easy to implement, just translate the object the same way the mouse is going in x, y).

Similar Threads

  1. fps navigation
    By silicon_chipper in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-25-2007, 01:15 AM
  2. Cone Navigation
    By Kumar K in forum OpenGL: General
    Replies: 1
    Last Post: 04-21-2004, 08:55 PM
  3. Cone Navigation
    By Kumar K in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 04-21-2004, 05:31 AM
  4. mouse navigation in GLUT
    By che in forum OpenGL: General
    Replies: 1
    Last Post: 12-11-2003, 12:58 PM
  5. Navigation
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 03-27-2003, 07:31 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
  •  
Proudly hosted by Digital Ocean