OpenGL bindings for libnds

mudrik

Member
OP
Newcomer
Joined
Nov 18, 2022
Messages
18
Trophies
0
Age
31
XP
167
Country
Turkey
Hi all!

libnds 3D API is very similar to OpenGL, but it's not quite the same. Yet, at a first sight it wouldn't seem too difficult to create a wrapper library to increase compatibility, in order to make porting of existing games easier.
Has anyone studied the possibility of realizing such a wrapper? Or do you know if there is already a project for it? A quick search online didn't lead to any results.
 
  • Like
Reactions: NotImpLife

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
I saw one to go more in for directX approaches once.

Anyway I am not aware of such a project and doubt there will be -- DS stuff like this is mostly considered a finished affair at this point. This also says nothing of such things being possible -- the DS 3d hardware (which I know a lot more about) is rather limited compared to most things openGL will have and I would have to ask if the limitations you see in the library are caused by hardware limitations rather than programmer laziness, lack of concern or the like.
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,034
Country
United States
The libnds OpenGL wrapper is fairly good for simple usage. But the ds 3d is quirky enough that in almost ever case creating something to target the ds hardware directly is going to be a better solution.
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
If you read the following sources very, very carefully, you'll figure out pretty quickly how OpenGL 1.0 ports (WIN32 [Visual Studio 2012] to GX 3D hardware (ToolchainGenericDS + VideoGL), including how OpenGL accelerated DisplayLists API through NDS GX FIFO!) can be pulled off:

this

then

this (Which consists of a single codebase shared between WIN32 GLUT [OpenGL API] and NDS GX 3D VideoGL library, even using a single light per scene.)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Sicklyboy @ Sicklyboy:
    I got rid of my local music collection years ago when I subscribed to Google Play Music. Big regerts
  • Sicklyboy @ Sicklyboy:
    I'm planning to start building it back up though. Plus, Usenet automation around music downloading has gotten so much better since then
  • Psionic Roshambo @ Psionic Roshambo:
    I used to use high end headphones and speakers JBL back when they made good speakers lol X-Fi Fatality edition sound card on PCI with XP back when Windows had good sound....
  • SylverReZ @ SylverReZ:
    @Sicklyboy, Using a Fiio DAC and Betron headphones.
    +1
  • Sicklyboy @ Sicklyboy:
    I use AKG K7XX headphones for daily use, but Meze 99 Classics when I want to *enjoy* the music
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I mean built in sound on mobo's has gotten way better but still XP handled sound better and X-Fi was still better than onboard audio even to this day
  • Psionic Roshambo @ Psionic Roshambo:
    Hell not sure what was going on but for like a few weeks MP3's sounded muffled, some driver or Windows update fixed it. Thank god lol
  • Sicklyboy @ Sicklyboy:
    Oh boy Massdrop has $1100 IEMs. Want, but not at that price lmao. https://drop.com/buy/campfire-audio-andromeda-emerald-sea-iem
  • Sicklyboy @ Sicklyboy:
    I'd sooner buy the Meze 109 Pro if I was dropping that much on headphones. I don't even like buds/IEMs
  • Sicklyboy @ Sicklyboy:
    I got the Google Pixel Pro buds, they're good enough for when I need portable audio. And some really cheap IEMs that Dankpods recommends, I think the KZ ZSN Pro
    +1
  • K3Nv2 @ K3Nv2:
    I'd stick with cheapo Chinese $10 ones quality is actually becoming on pair with name brand since name Brand usually quads the price up anyway loose one bud that's another $200
  • Sicklyboy @ Sicklyboy:
    My Pixel Pro buds shit the bed a month or two ago. My wireless charger (which they do support Qi charging) absolutely COOKED them. Caused some problem that caused the case to heat up to 180F+
  • Sicklyboy @ Sicklyboy:
    They were like 9 months out of warranty but I hit up Google support anyway and told them how hot they were getting and they replaced them with new ones because they wanted these for failure analysis lol
  • Psionic Roshambo @ Psionic Roshambo:
    lol wireless charging
  • K3Nv2 @ K3Nv2:
    Yeah that's why I can't bring myself to even spend $100 on wireless earbuds
  • Psionic Roshambo @ Psionic Roshambo:
    I think it's a cool idea but damn
  • Sicklyboy @ Sicklyboy:
    Apparently the case has a problem with >15W wireless chargers. Google design fault, that one.
  • K3Nv2 @ K3Nv2:
    I could live with wireless charging if the damn standard case doesn't block connection
  • Xdqwerty @ Xdqwerty:
    how is wireless charging possible?
  • K3Nv2 @ K3Nv2:
    Dbz said everyone has raging energy senses
    +1
  • cearp @ cearp:
    you mean generally, how does the concept work?
    +1
  • K3Nv2 @ K3Nv2:
    Copper conducting electricity or something
  • Sicklyboy @ Sicklyboy:
    @Xdqwerty, power through a coil of wire causes an electromagnetic field to be generated. Another coil of wire can be set up to harness the power from that electromagnetic field and turn it into usable energy for charging a device
    Sicklyboy @ Sicklyboy: @Xdqwerty, power through a coil of wire causes an electromagnetic field to be generated. Another...