Results 1 to 4 of 4

Thread: Infinite Zoom

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2005
    Posts
    24

    Infinite Zoom

    How do some 3D modelers make zooming in/out appear almost infinite?
    And the rate of zooming appears almost constant, e.g. objects don't suddenly explode, and zooming doesn't stop to a crawl.

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

    Re: Infinite Zoom

    Often it is not a zoom but more a forward/backward travelling. Adjust the increment to be a fixed percentage of the current distance to view target.

  3. #3
    Junior Member Newbie
    Join Date
    Dec 2005
    Posts
    24

    Re: Infinite Zoom

    How should this look if I zoom toward the origin (0,0,0)?

    In some 3D modelers, it feels like it goes on forever. The only noticeable thing is the grid resizing itself over and over again.

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

    Re: Infinite Zoom

    You have camera position, and aiming point (such as 0,0,0).
    Compute distance between both.
    Now advance camera by 10% of distance, along the [position,origin] vector. Whatever the distance, it will feel like a continuous zoom, exactly what you want to do.

Similar Threads

  1. Replies: 0
    Last Post: 01-06-2015, 09:42 AM
  2. Change zoom from dolly to "real" zoom
    By Rainer Wahnsinn in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-01-2013, 05:48 PM
  3. Infinite zoom
    By Jeffg in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-05-2011, 02:41 PM
  4. zoom in and zoom out with gl4java and Java
    By vamsee kanth in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-03-2004, 02:32 AM
  5. Replies: 0
    Last Post: 03-15-2001, 02:41 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