On Thu, Aug 21, 2014 at 6:50 PM, Vlad Bogolin <vladbogo...@gmail.com> wrote:

>> Other possibly relevant bits (was looking for this, didn't find it 'til
>> now...)
>>
>> http://stackoverflow.com/questions/12640698/qt-c-drawing-efficiently
>> http://qt-project.org/doc/qt-4.8/qpainter.html#drawPolygon
>> https://qt-project.org/doc/qt-4.8/qpainter.html#drawConvexPolygon
>>
> The stackoverflow drawing method (always draw a QImage and make all other
> drawings in the image's buffer) which is says there that it's quite fast, is
> actually almost the same as the one used in the framebuffer and I think it
> shouldn't be very hard to adapt to the Qt drawing routines.
>
> As it comes to choosing one from the above two methods, I don't know exactly
> which one would be better. What do you think?

Well, if you're already familiar with similar techniques from the
framebuffer work (and it doesn't require you to wade through the
TinyGL code) my suggestion would be to take a stab at the latter
method first.  If you find that doesn't work you can always fall back
on the TinyGL code, but if it works the second method using only
already-standard Qt methods would probably be easier, cleaner and
simpler.  That said, you are now very experienced in matters
libdm/libfb + Qt - which approach would you prefer?

Cheers,
CY

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to