Re: [Gambas-user] the math behind full screen rotation

2011-03-30 Thread Kevin Fishburne
On 03/30/2011 02:53 AM, Doriano Blengino wrote: > Kevin Fishburne ha scritto: >> >> In a half-drunken stupor I managed to correct the issue by trial and >> error. Hell of a miracle. Here's the abbreviated working code: >> > I think it is more dangerous to not understand why some code works, > inste

Re: [Gambas-user] the math behind full screen rotation

2011-03-29 Thread Doriano Blengino
Kevin Fishburne ha scritto: > > In a half-drunken stupor I managed to correct the issue by trial and > error. Hell of a miracle. Here's the abbreviated working code: > I think it is more dangerous to not understand why some code works, instead of don't understanding why some code does not work

Re: [Gambas-user] the math behind full screen rotation

2011-03-28 Thread Kevin Fishburne
On 03/27/2011 03:22 PM, Kevin Fishburne wrote: > On 03/26/2011 03:49 AM, Doriano Blengino wrote: >> Il 26/03/2011 04:08, Kevin Fishburne ha scritto: >>> On 03/24/2011 12:05 AM, John Spikowski wrote: >>> On Wed, 2011-03-23 at 23:03 -0400, Kevin Fishburne wrote: > That will probabl

Re: [Gambas-user] the math behind full screen rotation

2011-03-27 Thread Kevin Fishburne
On 03/26/2011 03:49 AM, Doriano Blengino wrote: Il 26/03/2011 04:08, Kevin Fishburne ha scritto: On 03/24/2011 12:05 AM, John Spikowski wrote: On Wed, 2011-03-23 at 23:03 -0400, Kevin Fishburne wrote: That will probably work, but there should be a mathematical way to compensate for not crop

Re: [Gambas-user] the math behind full screen rotation

2011-03-26 Thread Doriano Blengino
Il 26/03/2011 04:08, Kevin Fishburne ha scritto: > On 03/24/2011 12:05 AM, John Spikowski wrote: > >> On Wed, 2011-03-23 at 23:03 -0400, Kevin Fishburne wrote: >> >> >>> That will probably work, but there should be a mathematical way to >>> compensate for not cropping the image twice, or

Re: [Gambas-user] the math behind full screen rotation

2011-03-25 Thread Kevin Fishburne
On 03/24/2011 12:05 AM, John Spikowski wrote: > On Wed, 2011-03-23 at 23:03 -0400, Kevin Fishburne wrote: > >> That will probably work, but there should be a mathematical way to >> compensate for not cropping the image twice, or even once. As long as >> the entire image is preserved by the rotation

Re: [Gambas-user] the math behind full screen rotation

2011-03-23 Thread John Spikowski
On Wed, 2011-03-23 at 23:03 -0400, Kevin Fishburne wrote: > That will probably work, but there should be a mathematical way to > compensate for not cropping the image twice, or even once. As long as > the entire image is preserved by the rotation function (it is) and it > behaves in a predictab

Re: [Gambas-user] the math behind full screen rotation

2011-03-23 Thread Kevin Fishburne
On 03/23/2011 09:13 AM, Benoît Minisini wrote: >> I'm trying to implement full screen rotation in an overhead-perspective >> game. The angle of the screen is locked to the angle of the player. If >> the player turns then the screen also turns, meaning the player is >> always facing "up". Here is an

Re: [Gambas-user] the math behind full screen rotation

2011-03-23 Thread Benoît Minisini
> Just when I thought I could see the sun I was cast down again into > darkness. I've been working on this problem for several days with > limited success. > > I'm trying to implement full screen rotation in an overhead-perspective > game. The angle of the screen is locked to the angle of the play

[Gambas-user] the math behind full screen rotation

2011-03-21 Thread Kevin Fishburne
Just when I thought I could see the sun I was cast down again into darkness. I've been working on this problem for several days with limited success. I'm trying to implement full screen rotation in an overhead-perspective game. The angle of the screen is locked to the angle of the player. If t