Re: [Algorithms] image map to degree (angle)
Brought to you by:
vexxed72
|
From: Tom S. <tom...@ya...> - 2008-12-16 10:41:41
|
the image is a Equirectangular the image is viewed in panorama viewer is there a way to use interpolation to map x,y to pan,tilt angles is there any interpolation code I can look at ----- Original Message ---- From: Jim Offerman <jof...@ni...> To: Game Development Algorithms <gda...@li...> Sent: Tuesday, 16 December, 2008 7:01:44 PM Subject: Re: [Algorithms] image map to degree (angle) There is only one angle in a 2D situation... the pan / tilt concept only makes sense in a 3D space. Are you, perhaps, looking for a way to determine the polar coordinates? If so, check this out: http://en.wikipedia.org/wiki/Polar_coordinates Jim. -- Jim Offerman Nixxes Software www.nixxes.com > -------- Original Message -------- > Subject: [Algorithms] image map to degree (angle) > From: Tom Sparks <tom...@ya...> > To: GDA...@li... > Date: 12/16/2008 6:41 AM > > > > I am using the HTML image map ( http://www.maschek.hu/imagemap/imgmap ) to define the location > > I need to be able to translate the x,y to Pan ( -180 and 180 degrees) and tilt ( -90 and 90 degrees) angles > I am using php > > > Start your day with Yahoo!7 and win a Sony Bravia TV. Enter now http://au.docs.yahoo.com/homepageset/?p1=other&p2=au&p3=tagline > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list > > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ GDAlgorithms-list mailing list GDA...@li... https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list Archives: http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list Start your day with Yahoo!7 and win a Sony Bravia TV. Enter now http://au.docs.yahoo.com/homepageset/?p1=other&p2=au&p3=tagline |