Qbasicnews.com

Full Version: graphics
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how do computer graphics work? i know there is 255 rgb but how's that wokr in tearms of a video processor and ASM. yeah it's vauge.
Well...There's video memory, right, which is a little screen inside your computer, except it doesn't display. It's memory. When you want to put a pixel, you poke a value into the right address corrosponding to the x and y position of the pixel you want placed.
The video memory is constantly being sent to the screen, and the screen sends the right amount of red, green, and blue...(photons? not sure)...to the actual glass/plastic whatever that is the face of your screen.
Well if it's a CRT it is a Cathode Ray Tube that uses an electron gun to excite electrons in the valences of the phosphorus atoms in the glass screen to produce photons.
Um, whatever. But that's how it works.
Afaik, video memory is pretty much the same as system memory, it's just inside a different circuit. From my understanding, their similarity is what allows shared video/system memory on motherboards that are constructed to support it.
Both use the same method of addressing =P.