News for hackers. Stuff that matters.
Re:Exploring FPGA Graphics by WillFlux on Monday September 12, 2022 @06:38AM (#32808184)
Hello, I'm the author of the Project F blog. I've almost finished a complete overhaul of this series: animation and double-buffering are coming in October.

I'd be happy to field any questions you have.

Re:Exploring FPGA Graphics by anfractuosity on Monday September 12, 2022 @06:54AM (#32808299)
Nice work :) I think implementing a VGA controller controller seems a lot nicer in Verilog/VHDL than on an MCU.

The Ti chip you're using for DVI looks interesting too, not heard of that before.

It looks like you're going to use the FPGAs BRAM for double buffering? I started implementing double buffering for led strips in VHDL, but need to get back to finishing the SPI controller for it.

Re:Exploring FPGA Graphics by WillFlux on Monday September 12, 2022 @07:06AM (#32808376)
Thanks :)

The TI TFP410 chip is on the 1BitSquared DVI Pmod board: https://docs.icebreaker-fpga.org/hardware/pmod/dvi/

I've also got designs that generate DVI on the FPGA with TMDS encoding (no external IC required). I've never polished or written them up, but you can see an example here:

* https://github.com/projf/projf-explore/blob/main/graphics/fp...

* https://github.com/projf/projf-explore/blob/main/lib/display...

I'm using BRAM for framebuffers as it allows me to focus on the graphics rather than memory controllers and access. BRAM gives you dual ports and true random I/O; DRAM is much more complex.

Re:Exploring FPGA Graphics by nspattak on Monday September 12, 2022 @07:49AM (#32808751)
Just here to say thanks for this, it looks awesome and is well in my reading list :)
Re:Exploring FPGA Graphics by sitkack on Monday September 12, 2022 @01:36PM (#32813844)
metagripe, the font you are using is too thin, top 10% of hard to read websites.

> "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;

Re:Exploring FPGA Graphics by WillFlux on Monday September 12, 2022 @02:25PM (#32814627)
If you'd link to a screenshot of what you see, that would be helpful.

I have noticed the font renders thinner on Windows.

I plan to look at the design over the winter: some things could definitely be improved.

Re:Exploring FPGA Graphics by sitkack on Tuesday September 13, 2022 @12:35AM (#32820676)
Firefox on OSX, https://i.imgur.com/G0fuP1C.png

BTW the article is wonderful, thank you for making it. I have an Arty board but I will be running through it in Verilator.

Re:Exploring FPGA Graphics by WillFlux on Tuesday September 13, 2022 @11:50AM (#32825901)
Thank you. I can't promise to get to the new design until early 2023 as I have many hardware designs I want to finish this year.

Once you've got a design working in Verilator, I strongly recommend running it on an actual board if you can: nothing beats the feeling of running on hardware :)

Re:Exploring FPGA Graphics by kleiba on Monday September 12, 2022 @08:02AM (#32808866)
Nice! How about a chapter on ray-tracing?
Re:Exploring FPGA Graphics by WillFlux on Monday September 12, 2022 @08:06AM (#32808899)
Oh, I’ll get to that :D
Re:Exploring FPGA Graphics by boltzmann-brain on Monday September 12, 2022 @04:16PM (#32816287)
do you think with a customized analog board, CRT displays could have a function similar to G-Sync? what would be involved?