smdk2410 lcd rotation problem

From: manas (anonymous_at_discussions.microsoft.com)
Date: 08/28/04


Date: Sat, 28 Aug 2004 03:11:21 -0700

yes the rotation does work, modifying only the registry
and the the defineing ROTATE will not work, you have to
modify the code, almost every function. follow the sample
display driver code. Easier to follow MQ200.
>-----Original Message-----
>Platform Builder 5.0
>
>Problem:
>According to the SMDK2410 display driver source code you
can enable rotation
>support by defining "ROTATE". Unfortunately this did not
have any effect on
>my "tiny kernel" image with touch/mouse/lcd support that
launches the
>default "hello world" application from eVC on startup.
Then I discovered
>that I needed to add the "angle" registry key entry
under
>"HKEY_LOCAL_MACHINE\System\GDI\Rotation" telling how the
screen should be
>rotated. Again, without effect. Then I concluded from
looking at other
>display drivers that the display driver itself should
retrieve this "angle"
>entry from the registry and use it, which the SMDK2410
display driver does
>not, so I added the necessary code. On my 3rd attempt
the mouse pointer was
>rotated but my hello world application was not. To be
more exact, the hello
>world application was only partly drawn, the bottom 80?
(320-240) or so
>scanlines were black/missing.
>
>Question:
>Can anyone confirm that the SMDK2410 display driver in
rotation mode work as
>desribed? Am I doing something wrong?
>
>
>.
>



Relevant Pages

  • Re: Newbie looking for info on basic graphics with Delphi.
    ... The wireframe itself is of course three-dimensional; for rendering ... \y/ over an angle phi is done by ... Even knowing *why* it can't really do anything else than rotate ... since rotation is about the model's origin, ...
    (comp.lang.pascal.delphi.misc)
  • Re: translation and rotation in Euclidean space
    ... In the second place a single rotation only requires a 2x2 matrix. ... do and wish to rotate and translate a scene it is helpful if you process ... a 2d rank tensor, say Lij, a vector is a 1st rank tensor say Xi and ...
    (sci.physics.relativity)
  • Re: newbie: rotating meshes
    ... The problems I noticed, were if you for example rolled the ship, then tried ... not the rolled x axis, which says to me that the math for matrix ... concatenation doesnt rotate the values of the matrix correctly is some ... which meant the y roation rotated the models x axis whereas the z rotation ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: translation and rotation in Euclidean space
    ... In the second place a single rotation only requires a 2x2 matrix. ... do and wish to rotate and translate a scene it is helpful if you process ... a 2d rank tensor, say Lij, a vector is a 1st rank tensor say Xi and ...
    (sci.physics.relativity)
  • Re: Object rotation
    ... > need to translate back to the origin first, then rotate, then translate to ... For example rotations are ALWAYS around an axis so if you ... then moves on the new x axis after the Z rotation. ...
    (microsoft.public.win32.programmer.directx.managed)