1. A computer-implemented method of rendering an object in a virtual view, the method comprising: determining a variation of an occlusion measure of the object over time, the occlusion measure being an evaluation of an occlusion of the virtual view by the object, the variation of the occlusion measure determined based on a trajectory of the object; determining a transition effect for the object based on the variation of the occlusion measure, the transition effect being a visual effect; and applying the determined transition effect to render the object, the determined transition effect being applied according to a position of the object as the object moves along the trajectory.