Sample Code: Set Optimized Camera Position and Camera Target Ratio in 3DF Part Viewer
Language: C++
Ideally, the camera should be set up such that the “distance from the camera position to the camera target should be 2.5 times the field width” – per our docs under “Camera Set Up Guidelines”:
To that end, our forum post contains a brief code sample that can be executed as an extra slot code in the HOOPS 3DF Part Viewer.