Menu

Move camera to fit desired object to screen

Help
2017-01-27
2017-01-27
  • shine world

    shine world - 2017-01-27

    I need to understend how to move camera distance to fill the screen with an object.
    This is a common function in graphics program:

    Camera.fit(cube)
    

    How to do ?
    Thank you very much

     
  • LefjuCabro

    LefjuCabro - 2017-03-29

    Hello,

    Try TGLCamera.ZoomAll(aSceneBuffer: TGLSceneBuffer)

    Lefju

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.