Click here to Skip to main content
15,878,814 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Chinese spy balloon >> No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed. Pin
Jeremy Falcon3-Feb-23 8:49
professionalJeremy Falcon3-Feb-23 8:49 
GeneralRe: Chinese spy balloon Pin
Gerry Schmitz3-Feb-23 7:47
mveGerry Schmitz3-Feb-23 7:47 
GeneralRe: Chinese spy balloon Pin
jmaida3-Feb-23 9:51
jmaida3-Feb-23 9:51 
GeneralRe: Chinese spy balloon Pin
englebart7-Feb-23 14:25
professionalenglebart7-Feb-23 14:25 
GeneralWSO CCC OTD - 2023-02-03 Pin
FreedMalloc2-Feb-23 22:02
FreedMalloc2-Feb-23 22:02 
GeneralRe: WSO CCC OTD - 2023-02-03 Pin
OriginalGriff2-Feb-23 22:56
mveOriginalGriff2-Feb-23 22:56 
GeneralRe: WSO CCC OTD - 2023-02-03 - Winner Pin
FreedMalloc2-Feb-23 23:06
FreedMalloc2-Feb-23 23:06 
GeneralComputer Graphics Convolutions Pin
Brian L Hughes2-Feb-23 16:17
Brian L Hughes2-Feb-23 16:17 
Years ago I bought an Atari ST and had fun programming in Assembler making graphics utilities and stuff. The entire graphics interface consisted of single byte address of your buffer in memory that was passed to the OS. Coding was like the freedom of running naked on a tropical island. If you wanted to draw a line across the screen based on one of the 3 modes you'd have to figure out which exact byte and bit of the buffer to turn on and off to make it happen, it was challenging and fun. It was all up to you.

Now today I still have fun coding but I have to admit that things are a bit daunting. To draw that same line using an interface such as DirectX 2D RenderTarget you just call the DrawLine function. Ok, that's easy enough but it takes some serious research just to get the RenderTarget ComPtr initialized. Plus we are stuck with the methods of RenderTarget. Gone are the days where every pixel of the screen was at your code's disposal. DirectX is so complicated it's nearly impossible to figure out every nook and cranny. I'll probably never know why some of my printed characters in DirectX end up a bit garbled despite hours and hours of "googling" for the answer.

Of course if I want that same freedom of yesteryear I can write directly to a bitmap's buffer and bitblt it to a DC, just not as fast as directX. Yes I realize that every graphics card is different and without the drivers I'd be stuck handling graphics modes for every known graphics card on the market.

I don't know, it seems like the finer details DirectX is kind of hidden behind wall of complexity that is hard to breach. If I could figure out how to make a line march across a screen by turning bits on and off in a buffer 35 years ago one would think that I'd be able to code up and down the 3d pipe line and create complex shaders and stuff, but no, it's all just too complicated to even want to figure out anymore. The www seriously lacks examples of all directX features.

I guess I'm just a cranky old man now complaining about how things aren't as easy as it used to be. It's like today's machine isn't really a computer anymore, it's more a service with complicated contracts and laws that you have to sign off on to use. Soon I suppose it will just be a monitor connected to the cloud.

Yeah, I'll admit alpha channels and transparency are pretty cool. I suppose one day I'll have to post my entire RenderTarget .h and .cpp class files to the board and ask why my characters sometimes appear garbled, but not today. I think for now I'll just reminisce about the good old days when it all boiled down to a single address in memory.
GeneralRe: Computer Graphics Convolutions Pin
Shao Voon Wong2-Feb-23 19:18
mvaShao Voon Wong2-Feb-23 19:18 
GeneralRe: Computer Graphics Convolutions Pin
Shao Voon Wong2-Feb-23 20:10
mvaShao Voon Wong2-Feb-23 20:10 
GeneralRe: Computer Graphics Convolutions Pin
BillWoodruff3-Feb-23 2:21
professionalBillWoodruff3-Feb-23 2:21 
GeneralRe: Computer Graphics Convolutions Pin
Phil J Pearson3-Feb-23 4:41
Phil J Pearson3-Feb-23 4:41 
GeneralRe: Computer Graphics Convolutions Pin
Richard MacCutchan3-Feb-23 5:30
mveRichard MacCutchan3-Feb-23 5:30 
GeneralRe: Computer Graphics Convolutions Pin
Brian L Hughes3-Feb-23 19:40
Brian L Hughes3-Feb-23 19:40 
GeneralRe: Computer Graphics Convolutions Pin
jschell3-Feb-23 5:35
jschell3-Feb-23 5:35 
GeneralRe: Computer Graphics Convolutions Pin
Jeremy Falcon3-Feb-23 7:18
professionalJeremy Falcon3-Feb-23 7:18 
GeneralRe: Computer Graphics Convolutions Pin
Brian L Hughes3-Feb-23 13:14
Brian L Hughes3-Feb-23 13:14 
GeneralRe: Computer Graphics Convolutions Pin
Jeremy Falcon6-Feb-23 6:20
professionalJeremy Falcon6-Feb-23 6:20 
GeneralRe: Computer Graphics Convolutions Pin
Gerry Schmitz3-Feb-23 7:27
mveGerry Schmitz3-Feb-23 7:27 
GeneralRe: Computer Graphics Convolutions Pin
Brian L Hughes3-Feb-23 13:40
Brian L Hughes3-Feb-23 13:40 
GeneralRe: Computer Graphics Convolutions Pin
Kate-X2576-Feb-23 4:50
Kate-X2576-Feb-23 4:50 
GeneralRe: Computer Graphics Convolutions Pin
rtischer82776-Feb-23 2:23
rtischer82776-Feb-23 2:23 
GeneralRe: Computer Graphics Convolutions Pin
Brian L Hughes6-Feb-23 13:16
Brian L Hughes6-Feb-23 13:16 
GeneralRe: Computer Graphics Convolutions Pin
Gary Wheeler6-Feb-23 3:12
Gary Wheeler6-Feb-23 3:12 
GeneralRe: Computer Graphics Convolutions Pin
Peter Shaw6-Feb-23 6:23
professionalPeter Shaw6-Feb-23 6:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.