Results 1 to 3 of 3

Thread: Extent of construction

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2008
    Location
    Silicon Forest
    Posts
    2

    Extent of construction

    I am looking for a way to determine the largest dimensions of my construction so that I can center it in the display window. BeginQuery and EndQuery looks like it might work, but it looks a little cumbersome. Is there another way?

  2. #2
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,931

    Re: Extent of construction

    Compute the bounding box and center on it.

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

    Re: Extent of construction

    this may help you.

Similar Threads

  1. how to get the horizontal plane extent ?
    By yanasdf789 in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-08-2014, 09:14 PM
  2. how to get the horizontal plane extent ?
    By yanasdf789 in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-08-2014, 09:13 PM
  3. sphere construction
    By supreeth in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 05-20-2012, 10:54 PM
  4. To what extent does OpenGL do occlusion culling?
    By Matthew4693434 in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 06-29-2010, 12:49 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