Why is the model part of the animation cropped by the camera?

Question : When I moved the model parts, the model was cropped by the camera’s near clipping plane?

Answer:

It is not possible to set the near plane of the camera for a 3D annotation. In order to avoid this effect a solution is to set the camera differently:

  • Set a position farther away of the object
  • Increase the camera zoom factor

For example: In the default sample AnimWorkinstruction, the function CreateMotionCameraInit

// MOTION CAMERA
CreateMotionCameraInit(ppMotion, idxMotion,
	365.935852, 286.484344, 218.981415,
	14.348255, 10.195333, -58.078251,
	-0.390901, -0.354405, 0.849470,
	10, kA3DPDFOrthographicMode, 1.0/(2*149),
	207.025665, 116.211060, 144.481506, //camera's position
	17.669889, 10.242504, -62.340408,
	-0.390901, -0.354405, 0.849471,
	10, kA3DPDFOrthographicMode, 1.0/(2*164), //zoom factor
	dInitTimeOffset,
	dTimeDuration);
dInitTimeOffset += dTimeDuration;