Hello!
I was recently trying to delve deeper into the world of 3D Dreamcast graphics and decided to check out the numerous different options available. I was working solely with the PVR for a bit until I (quite embarrassingly) couldn't figure out how to set up the camera and perspective (that's an issue for another time, though!).
I was looking into OpenGL, despite a lot of people around here saying it's slow and clunky, and also alternatively stumbled upon the parallax tutorials. I wanted to give parallax a shot, so I compiled two of the examples (delay_cube and rotocube to be exact). Unfortunately when I went to test them in NullDC, I got this really annoying flickering or flashing effect.
Minor seizure warning (it looks worse when running in real time than it does in the gif), but here it is if anyone cares to see
I'm running Windows and compiling through MSYS2 (making sure to run it as MINGW32. I had previously been using Cygwin but OpenGL tests were crashing in NullDC, leaving me to discover my toolchain was broken. Figured I might as well start fresh so I transferred over to MSYS2 from there). I also tried compiling through a Linux version of the toolchain that I setup in a virtual machine, and got similar results.
Is this just an issue with Parallax? Is this a NullDC issue (I don't physically have a dreamcast with me to test this on, unfortunately)? Or did I mess something up?
Any help or suggestions would be appreciated! Thanks!
NullDC Flicker when Compiling Parallax Examples
-
- DCEmu Crazy Poster
- Posts: 33
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Sat Aug 04, 2018 11:36 am
- Has thanked: 2 times
- Been thanked: 7 times
- BlueCrab
- The Crabby Overlord
- Posts: 5666
- Joined: Mon May 27, 2002 11:31 am
- Location: Sailing the Skies of Arcadia
- Has thanked: 9 times
- Been thanked: 69 times
- Contact:
Re: NullDC Flicker when Compiling Parallax Examples
It is an most likely an issue with NullDC. There are other emulators out there you could try, such as Reicast (the successor to NullDC) or Demul.
That said, testing things in an emulator is usually not the best approach, since it's already difficult enough to debug Dreamcast code without having the additional potential of the emulator being the one causing the bugs you might be seeing.
That said, testing things in an emulator is usually not the best approach, since it's already difficult enough to debug Dreamcast code without having the additional potential of the emulator being the one causing the bugs you might be seeing.
-
- Insane DCEmu
- Posts: 145
- Joined: Tue May 02, 2017 3:11 pm
- Has thanked: 3 times
- Been thanked: 34 times
Re: NullDC Flicker when Compiling Parallax Examples
FWIW I see the same flickering on NullDC running under WINE on Linux. I thought it might have been a bug in my OpenGL library but apparently not!
-
- DCEmu Crazy Poster
- Posts: 33
- Joined: Sat Aug 04, 2018 11:36 am
- Has thanked: 2 times
- Been thanked: 7 times
Re: NullDC Flicker when Compiling Parallax Examples
That did it! Thank you! I was having trouble finding alternative Dreamcast emulators to test it on. Reicast ended up having the exact same problem, but Demul seems to work perfectly fine for both the rotocube and delay_cube example! Only downside is that Demul seems to have quite a bit more lag than NullDC, but at least there's no flicker!
Ironically I'm not getting any flicker with OpenGL in NullDC (though I'm testing libGL before trying out your GLdc library), just with Parallax. Very strange, though!