Results 1 to 3 of 3

Thread: Position camera to view an entire 3d object

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2000
    Posts
    5

    Position camera to view an entire 3d object

    I wan to fit a 3d arbitrary model (loaded from file) into screen. That is, i want to translate the camera position until the model can be viewed in its full extension.
    I suppose that the translation factor can be extracted from frustum dimensions and model dimensions, but i'm not good at mathematics and i need it "for yesterday", you understand...

  2. #2
    Junior Member Newbie
    Join Date
    Oct 2000
    Posts
    5

    Re: Position camera to view an entire 3d object

    Incredibily, I resolved it by myself.
    Thanks anyway

  3. #3
    Senior Member Regular Contributor
    Join Date
    Oct 2005
    Posts
    137

    Re: Position camera to view an entire 3d object

    Care to help others on how you did it???

Similar Threads

  1. Replies: 0
    Last Post: 05-24-2013, 08:11 PM
  2. Object rendering at constant size from camera view
    By Norris in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-31-2011, 10:01 AM
  3. Put Camera at Moving's Object's Position
    By dellatorre in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 01-17-2010, 08:57 PM
  4. A view that displays my entire model?
    By anime.igala.net in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 07-20-2008, 11:13 AM
  5. Camera Position / Camera Angle / Camera Target Position
    By bobGL in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-02-2007, 09:28 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