<div class="gmail_quote">2009/12/4 Stefan Majewsky <span dir="ltr"><<a href="mailto:majewsky@gmx.net" target="_blank">majewsky@gmx.net</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;">
Am Freitag, 4. Dezember 2009 13:13:30 schrieb Ian Wadham:<br>
<div>> Just to remind everybody ... there are three reasons to prefer KGameCanvas<br>
> over QGV ... speed, speed and speed. I do not know if QGV is yet fast<br>
> enough all the time to run KGoldrunner. It always was fast enough most of<br>
> the time, but you cannot tolerate hiccups of a substantial fraction of a<br>
> second, while QGV decides to go off and do some housekeeping, if your game<br>
> is running to a 50 msec timescale.<br>
<br>
</div>I've never experienced such "hiccups" since Qt 4.5, and 4.6 is even better in<br>
this regard. Remember that QGV is the base for the Widgets-NG framework that<br>
people at Nokia are building. If my information is correct, the long-term plan<br>
is to replace the current widgets by something based on QGV.<br></blockquote><div> </div><div>In my example, QGV is actually faster than KGC because:<br> - the scene is separated from the view, so it doesn't have to be redrawn on every resize (or maybe I was just using it wrong)<br>
- there is QGraphicsSvgItem, which is a quite nice considering KDE Games themes are mostly svg files. <br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
> If KGCanvas were ever to depart, I might consider going to 2-D OpenGL.<br>
> I found out when writing Kubrick that OpenGL is blisteringly fast compared<br>
> to any offerings based on Qt (such as QGV and KGCanvas). I think that is<br>
> why OpenGL is behind Qt paint engine and composite graphics trickery in<br>
> KDE 4 windows.</div></blockquote><div> </div><div>But Kubrick is in 3D, while both QGV and KGC are made for 2D drawing. <br></div></div><br>-- <br>Lenoba je mati Modrosti.<br>