Here is my approach:
Create a solar system at JD0=2443568.0. The axes of the visualization are arranged according to the ecliptic with positive X axis in the direction of the vernal equinox and other axes according to the right-hand rule. Earth is positioned at t=JD0. (image)
Using ephemeris from the NASA/JPL Small Body Database, move Cacus to its position in orbit at JD0. (image)
Move the camera to Earth's position at JD0 and point it at the asteroid. (image)
My final rendering does not match the projection from DAMIT. I understand that there are factors like light-time correction that I'm not including, but it looks completely different.
What is wrong with my approach to rotating the asteroid on its spin axis?
(The work-in-progress visualization is online here)