Re: Automatic rotation of panoramas
Status: Alpha
Brought to you by:
cwalther
|
From: Christian W. <cwa...@gm...> - 2010-06-02 20:10:13
|
> Namely, the camera slows down exponentially as it rotates. This is > because the local variables "autoPan_speedAZ" and "autoPan_speedEL" > are updated every repitetion, so that the camera doesn't lose track > of its target if the user moves the view themselves. Is there a way > to make up for the decrease in speed? Decreasing autoPan_iterCount by 1 in every iteration (i.e. counting the remaining number of iterations) might be a way. Just make sure you don't divide by zero, keep it above some positive minimum value. -Christian |