Re: Automatic rotation of panoramas
Status: Alpha
Brought to you by:
cwalther
|
From: Christian W. <cwa...@gm...> - 2010-06-06 07:35:45
|
> That does work, but if I happen to drag the panorama away from the > target path for too long the counter runs past zero and pipmak > freezes, like you said. But I'm not sure how to solve that > particular part of the problem:) Can you advise? As I said, keep the counter from running to zero. In fact, to avoid overshooting, you should clamp it to 1: autoPan_iterCount = autoPan_iterCount - 1 if autoPan_iterCount < 1 then autoPan_iterCount = 1 end -Christian |