A method for generating a lightfield simulation, said method implemented in a controller for controlling a projection system, said method comprising: driving a phase modulating spatial light modulator with a first set of drive values (506, 506) to place said phase modulating SLM in a first phase state (508, 508(6.1)) at a first time; generating a lightfield simulation (510, 510(6.1)) of a lightfield generated by said phase modulating SLM at said first time based at least in part on said first phase state of said phase modulating SLM; driving said phase modulating SLM with a second set of drive values (506, 506) that cause said phase modulating SLM to transition from said first phase state of said phase modulating SLM to a second phase state (508, 508(7.1)) of said phase modulating SLM at a second time; generating a lightfield simulation (510, 510(7.1)) of a lightfield generated by said phase modulating SLM at said second time based at least in part on said second phase state of said phase modulating SLM; characterized by: modeling said transition of said phase modulating SLM from said first phase state to said second phase state by generating a transition function (702, 706), said transition function being indicative of a relationship between time and a phase delay imparted on an incident lightfield by a pixel of said phase modulating SLM, and determining a value of said transition function at a third time; determining a third phase state (508) of said phase modulating SLM at said third time based at least in part on said model of said transition of said phase modulating SLM, said third time occurring between said first time and said second time; and generating a lightfield simulation (510) of a lightfield generated by said phase modulating SLM at said third time based at least in part on said third phase state of said phase modulating SLM. driving a phase modulating spatial light modulator with a first set of drive values (506, 506) to place said phase modulating SLM in a first phase state (508, 508(6.1)) at a first time; generating a lightfield simulation (510, 510(6.1)) of a lightfield generated by said phase modulating SLM at said first time based at least in part on said first phase state of said phase modulating SLM; driving said phase modulating SLM with a second set of drive values (506, 506) that cause said phase modulating SLM to transition from said first phase state of said phase modulating SLM to a second phase state (508, 508(7.1)) of said phase modulating SLM at a second time; generating a lightfield simulation (510, 510(7.1)) of a lightfield generated by said phase modulating SLM at said second time based at least in part on said second phase state of said phase modulating SLM; modeling said transition of said phase modulating SLM from said first phase state to said second phase state by generating a transition function (702, 706), said transition function being indicative of a relationship between time and a phase delay imparted on an incident lightfield by a pixel of said phase modulating SLM, and determining a value of said transition function at a third time; determining a third phase state (508) of said phase modulating SLM at said third time based at least in part on said model of said transition of said phase modulating SLM, said third time occurring between said first time and said second time; and generating a lightfield simulation (510) of a lightfield generated by said phase modulating SLM at said third time based at least in part on said third phase state of said phase modulating SLM.