LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

QT, fast!! pixel (color) mixing

Posted 06-21-2013 at 08:22 AM by rainbowsally
Updated 06-21-2013 at 08:32 AM by rainbowsally

Today's feature
  • super fast color mixing ('lerp') for QT4
  • PRINT_AND_DO macro to show function and execute it.
  • 8 bit fixed point math.
  • A snippet of working code from the next lq-qt/mc2 lib.

Behind the scenes we are working on getting qwt lib to play nice with Designer. We're apparently over the hump with dials, which were very tricky!!

And so it's break time.

Let's talk a bit about fast color mixing, which isn't always an issue but can be when you are...
Member
Posted in Uncategorized
Views 2675 Comments 0 rainbowsally is offline
Old

Life In The Computer Mad Science Zone

Posted 06-20-2013 at 10:08 AM by rainbowsally
Updated 08-06-2014 at 07:17 AM by rainbowsally (bum code)

[Update: June 20, 2013 - corrected name in lqToPixel.]

Progress report.

We found a bug in the incremental backup program uploaded recently.

[Update June 24, 2013, see Gazi's bug fix below and here's a version that uses C/C++ to do it from a compiled executable.
http://rainbowsally.org/rainbowsally...staller.tar.gz. It has an uninstaller if you can find where it installs. :-) ~/bin/src/LQ_Projects Original post...
Member
Posted in Uncategorized
Views 11147 Comments 3 rainbowsally is offline
Old

lqMiniTerm (version 2)

Posted 06-15-2013 at 09:07 AM by rainbowsally
Updated 08-06-2014 at 07:18 AM by rainbowsally

Today's Feature
  • A new version of the lqMiniTerm (introduced in the horrible sockets experiments). :-) (If you missed those, count yourself lucky. ;-) )

Unfortunately, for the GUI stuff the file sets are getting rather large. It's only 12K as a gzipped tar but uncompressed it's big enough to make the blog choke, even as an sfxz compressed self extractor.

But it's worth taking a peek at this because there are a few features in it that work (that's important... that it works,...
Member
Posted in Uncategorized
Views 749 Comments 0 rainbowsally is offline
Old

More simple C and color mixing tests

Posted 06-11-2013 at 12:30 AM by rainbowsally

Today's Feature
  • Here's another pixel (color) mixing toy. The best yet.

Back a couple of blog pages
http://www.linuxquestions.org/questi...lamping-35557/
we were playing with color mixing and data clamping and all kinds of junk including comparing routines to mix colors by a floating point ratio.

This is mixcolors.c - named the same as the other version we were playing with and...
Member
Posted in Uncategorized
Views 863 Comments 0 rainbowsally is offline
Old

uitool stand-alone version (2013-06-10).

Posted 06-10-2013 at 04:11 PM by rainbowsally
Updated 08-06-2014 at 07:19 AM by rainbowsally

uitool stand-alone version (2013-06-10).

My apologies, previous versions had hidden lq-qt/mc2 lib dependencies. So I took the time to assemble only the needed functions into a lib include file, hiding my mc2 installation to make sure it didn't link by accident, and voila!

This is only a preview, but it's a stand alone app and it's full-featured as of this writing. This one truly has no mc2 dependencies.

In the test folder, the command:
Code:

...
Member
Posted in Uncategorized
Views 1299 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 10:55 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration