LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-30-2022, 06:33 AM   #16
WindowMaker
LQ Newbie
 
Registered: Apr 2022
Distribution: Debian
Posts: 12

Rep: Reputation: 1
Exclamation Alternate interpretation


This question is complicated; it could be interpreted in multiple ways.

You asked how to make programs/libraries which either...
  1. Do the lowest-level graphics operations possible on PC-style hardware with VGA-compatible graphics?
  2. Do the lowest-level graphics operations while still be practically usable on today's systems?
  3. Implements high-level drawing primitives on memory buffer, regardless of the actual graphics display mechanism in-use?
I will not say "don't reinvent the wheel", because auto engineers would have to learn about how wheel are engineered and manufactured at some point. And if you're an auto engineer that would like to improve the wheel, then you got to reinvent the wheel, or at least parts of it.

At first glance, your question might read as interpretation #1 or #2; but I have re-read that again, and finally figured that you probably meant interpretation #3 (the drawing primitives).

In this case, you might want to look for college textbooks, course notes, or tutorials along that line which taught computer engineers (and probably software engineers) how computer graphics work; and you just go read the algorithm parts, and skip the hardware stuff. I hadn't dabbed too much in the subject when I was in formal education, so I cannot suggest a specific book, sorry.

This is one of such tutorials that came up in my web search.

But if you have specific drawing primitives you would like to learn about, there are certain web search keywords you could use as well: usually "algorithm", "draw" followed by the graphics primitive you would like to learn. For example (DuckDuckGo):For drawing text... that one is another complicated subject. The most primitive way of drawing text is just that you draw an image of each letter (a la "bitmap font") next to each other; which is still used in certain applications, like 2D videogames. Doing text rendering like modern graphics toolkits did is not what a beginner in computer graphics should even try to pry on. (Hint: it involves drawing solid-fill bezier curves, subpixel dithering tricks, live-interpretation of font-provided bytecode, and typesetting)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound and Graphics not working in Intel D101GGC with ATI graphics and Realtek audio sanu1 Linux - Hardware 2 12-28-2008 07:29 PM
graphics programmes and wacom graphics tablets? bigjohn Linux - Newbie 9 05-29-2005 05:03 PM
getting graphics card to be used instead of integrated graphics Shaun32 Fedora - Installation 5 02-18-2005 03:33 PM
where to find S3 graphics pro savage DDR graphics jcolon Linux - Hardware 5 02-16-2005 04:53 PM
Graphics issues with Intel 82856G Graphics Adapter herrmag Linux - Newbie 1 08-09-2004 02:52 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:38 PM.

Main Menu
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