Re: Automatic rotation of panoramas
Status: Alpha
Brought to you by:
cwalther
|
From: James C. W. <jfc...@ya...> - 2010-06-07 17:15:00
|
Oh, I see. Didn't think it'd be that simple:) It works perfectly now. Thanks! -James CW --- On Sun, 6/6/10, Christian Walther <cwa...@gm...> wrote: From: Christian Walther <cwa...@gm...> Subject: Re: Automatic rotation of panoramas To: "Content creation for the Pipmak Game Engine" <pip...@li...> Date: Sunday, June 6, 2010, 3:35 AM > 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 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Pipmak-Users mailing list Pip...@li... news://news.gmane.org/gmane.games.devel.pipmak.user https://lists.sourceforge.net/lists/listinfo/pipmak-users |