Center an object in OpenGl



  • I've made a 3D space where I put my 3d draw.
    After the object is drawed, I'need to centrate it, showing better the result.
    Actually the zoom in/out from the render area is on the origin of the axis, so how can I dinamically move the view on the object?
    thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.