C++

  • Thread starter Deleted User
  • Start date
  • Views 1,083
  • Replies 2
D

Deleted User

Guest
OP
I was wondering if you can use just OpenGL to develop games without any additives such as GLFW thanks
 

SirGouki

Member
Newcomer
Joined
Nov 20, 2016
Messages
8
Trophies
0
Age
38
XP
115
Country
United States
Yes, you can code straight in OpenGL with C++, you just have to have, and include properly, all of the headers for it. People have literally been coding games in OpenGL and C++ without an in between for decades. Now, considering you had to ask this, I feel I'd better warn you. OpenGL is not a Game library, its a Graphics Library, and it will *only* handle 3d and 2d graphics. It will not make it easier to handle input, audio, networking or anything else. OpenAL is an Audio library. If you're looking for something in C++ that makes the entire process easier, I'd instead recommend SFML or SDL2. SFML and SDL both use OpenGL for graphics, and SFML even supports direct calls to the OpenGL library, while still using its other available functionality.

Edit: Also, you need to keep the discussion going in the threads you've already created (you've got at least 2 threads about OpenGL and using it for 3DS homebrew development that are within a few days of each other, and now that I've seen that, I'm assuming that this was part of that same line of questioning), and when you make a new topic, do not just put things like C++ or OpenGL, put things like "How do I code for the 3DS using OpenGL?" so people more immediately know what you're looking for. This will make it easier for people to see whether they can actually answer you or not. I am not editing my original answer, because it answers the question you asked and gives some advice. But SFML and SDL2, as far as I know, do not work with 3DS, you'd be better off finding a library specifically targeting the 3DS. The way you ask questions, open threads, and the questions you ask all tell me you are rather new to this, and I'd suggest you do a lot more reading about OpenGL, C++ and how homebrew gets ported to/made for the 3DS first.
 
Last edited by SirGouki,
D

Deleted User

Guest
OP
Yes, you can code straight in OpenGL with C++, you just have to have, and include properly, all of the headers for it. People have literally been coding games in OpenGL and C++ without an in between for decades. Now, considering you had to ask this, I feel I'd better warn you. OpenGL is not a Game library, its a Graphics Library, and it will *only* handle 3d and 2d graphics. It will not make it easier to handle input, audio, networking or anything else. OpenAL is an Audio library. If you're looking for something in C++ that makes the entire process easier, I'd instead recommend SFML or SDL2. SFML and SDL both use OpenGL for graphics, and SFML even supports direct calls to the OpenGL library, while still using its other available functionality.

Edit: Also, you need to keep the discussion going in the threads you've already created (you've got at least 2 threads about OpenGL and using it for 3DS homebrew development that are within a few days of each other, and now that I've seen that, I'm assuming that this was part of that same line of questioning), and when you make a new topic, do not just put things like C++ or OpenGL, put things like "How do I code for the 3DS using OpenGL?" so people more immediately know what you're looking for. This will make it easier for people to see whether they can actually answer you or not. I am not editing my original answer, because it answers the question you asked and gives some advice. But SFML and SDL2, as far as I know, do not work with 3DS, you'd be better off finding a library specifically targeting the 3DS. The way you ask questions, open threads, and the questions you ask all tell me you are rather new to this, and I'd suggest you do a lot more reading about OpenGL, C++ and how homebrew gets ported to/made for the 3DS first.

Okay thank you I will do this next time
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    i like that idea
    +1
  • Veho @ Veho:
    What's the same thing?
    +1
  • The Real Jdbye @ The Real Jdbye:
    before or after a hit
    +1
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
    +1
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
    +1
  • Veho @ Veho:
    It's a tradeoff.
    +1
  • The Real Jdbye @ The Real Jdbye:
    no i mean, before a hit is after the previous hit
    +1
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    +1
  • BakerMan @ BakerMan:
    I hope it's not a week.
  • K3Nv2 @ K3Nv2:
    It's standard so doctors can get a idea about what's going on
  • BakerMan @ BakerMan:
    understood
  • BakerMan @ BakerMan:
    well, i'm glad he seems to be doing fine, and ig i'm going to start spewing goofy shit again
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
    K3Nv2 @ K3Nv2: Turns out you can't sprinkle methamphetamine on McDonald's French fries