Results 1 to 3 of 3

Thread: Shifting the entire scene?

  1. #1
    Junior Member Newbie
    Join Date
    May 2009
    Posts
    13

    Shifting the entire scene?

    Is there a way to shift the entire scene upwards or downwards? As in, shifting it in a way that it's like moving a 2D picture up/down so that the perspective doesn't change? Thanks!

  2. #2
    Senior Member OpenGL Pro dletozeun's Avatar
    Join Date
    Jan 2006
    Location
    FRANCE
    Posts
    1,367

    Re: Shifting the entire scene?

    Yes you can do it playing with the projection setup using the glFrustum or glOrtho functions for example. Swap bottom and top parameters.

  3. #3
    Junior Member Newbie
    Join Date
    May 2009
    Posts
    13

    Re: Shifting the entire scene?

    Thank you, that's exactly what I was looking for

Similar Threads

  1. How to rotate entire scene based on mouse events?
    By rakeshthp in forum OpenGL: Basic Coding
    Replies: 15
    Last Post: 10-20-2013, 10:16 PM
  2. noob question shifting the scene left or right?
    By bsabiston in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-17-2013, 03:23 AM
  3. How to rotate an entire scene?
    By Eymerich in forum OpenGL ES
    Replies: 3
    Last Post: 01-09-2008, 03:57 AM
  4. Point shifting
    By Dmitry Samoyloff in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 12-28-2000, 12:53 PM
  5. Highlight w/o redrawing entire scene
    By imported_ben in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-08-2000, 11:58 PM

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