Currently I am implementing zooming in orthographic projection. and I am scaling sa below.
But it's zooming with respect to (0,0,0) point. so my when zooming its not proper for visualization.Code :glScalef(zoomFactor,zoomFactor,zoomFactor);
How can I zoom the model with respect to its center point.
e.g if the center point is (cx,cy,cz) then how can scale the model with respect to this point.
Any help would be highly appreciated. Thanks Sujan