I had a similar problem... Eventually I moved on to GLscene...<br><br>Though obviously it's probably not at all what you want to do, but it's pretty easy to rotate things there. :-)<br><br>obj.rollangle := obj.rollangle + 90;<br>
<br>You can use an orthogonal camera if you don't want / need the perspective.<br><br>You can even let it "slowly" rotate using a cadencer, but let's not jump the gun here.<br><br>Regards,<br>-Reenen<br>
<br><div class="gmail_quote">2008/10/27 Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
<br>
On Mon, 27 Oct 2008, Vincent Snijders wrote:<br>
<br>
> 2008/10/27 Michael Van Canneyt <<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>>:<br>
> > Hi,<br>
> ><br>
> > How can I rotate a bitmap 90° counterclockwise ?<br>
> ><br>
> > Alternatively, how can I read/write the pixels in the bitmap ?<br>
> > I found ReadChannels/WriteChannels from RawImage, but they<br>
> > use a strange kind of position object which I don't understand :(<br>
><br>
> Maybe the lazintf example<br>
> (<a href="http://svn.freepascal.org/svn/lazarus/trunk/examples/lazintfimage/" target="_blank">http://svn.freepascal.org/svn/lazarus/trunk/examples/lazintfimage/</a>)<br>
> can help. It rotates an image.<br>
<br>
</div>Exactly what I needed. TLazIntfImage is the missing link :-)<br>
<br>
Thanks to everyone for the links !<br>
<font color="#888888"><br>
Michael.</font><br>_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lazarus.freepascal.org">Lazarus@lazarus.freepascal.org</a><br>
<a href="http://www.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://www.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>o__<br>,_.>/ _<br>(_)_\(_)_______<br>...speed is good<br>_______________<br>I believe five out of four people have a problem with fractions.<br>