Green Baron

Members
  • Content count

    2,209
  • Joined

  • Last visited

Community Reputation

1,656 Excellent

5 Followers

About Green Baron

  • Rank
    In my orbit the sun never sets

Recent Profile Visitors

4,784 profile views
  1. Green Baron

    Humble Gin (IMHO & GIF)

    https://www.youtube.com/watch?v=qeekblLkx4g :-)
  2. Green Baron

    Best C Library for 2D Games?

    Hehe, understood :-) Or retro style "graphics" via character sets, could even be played in a terminal. The library for that would be ncurses which you probably know.
  3. Green Baron

    Best C Library for 2D Games?

    I can recommend Dear Imgui for guis. It is not hard to understand and fast as lightning, there are wrappers for Vulkan, OpenGL and DirectX that come with it. But it is C++. Which you will, one C gets boring in a few months, switch to anyway because it makes some things so much easier. The look is like this:
  4. Green Baron

    So I decided to make a solar system...

    I'd like to play around, but i have my own little mess to attend to :-) But maybe it encourages others here who have asked about programming before. It shows what can be done with just some lines of code.
  5. Green Baron

    So I decided to make a solar system...

    Nice work ! Would you tell us something about the algorithm or the fundamentals you used ?
  6. Green Baron

    Best C Library for 2D Games?

    I must say, i am only doing this since a year or so, learned and learning C++, graphics programming, made the mistake of trying to get behind Vulkan (well, i dug the basics) or analyzing other peoples code, which doesn't help me at all. And i have other things to do. What i want to say is that i am not a knowledgeable person. That's why i mentioned to gamedev. :-)
  7. Green Baron

    Best C Library for 2D Games?

    You mean for the graphics (1) or for the event handling (2) ? For (1) there are OpenGL, Vulkan and DirectX. The first two are platform independent Windows and Linux/Unix. For (2), to make the event handling platform independent, there is sdl (overpowered imo) or glfw3 (i like it, lean and yet encompassing everything), glut or its successor freeglut (outdated) and many others. I think boost and qt offer these tings too, but i do not know. If you combine glfw and opengl you even have a default framebuffer for the first tries until it gets to more sophisticated applications, like multipass rendering, transform feedback, etc .... If you are planning only for one platform, then i'd use the functionality of that. For linux that'll be xcb or xlib and probably others. For mobile, have a look at Vulkan examples e.g. from Pavel Lapinsky or Sascha Willems. Do you know gamedev.net ?
  8. Green Baron

    Humble Gin (IMHO & GIF)

    According to wikipedia (which i principally distrust) both pronunciations are correct. Anyway i prefer pee-en-djee :-)
  9. Green Baron

    Aretha Franklin

    has died, age 76. Irreplaceable.
  10. Green Baron

    Humble Gin (IMHO & GIF)

    But why ? It's short form of graphics, not jrafics. Same with router. It makes routes for things, like in route 66, not like in about. It is probably better not to ask and just humbly accept :-) Edit btw.: lichen like in kitchen in BE, bit like a like in AE. It is a strange world ... and don't ask about small scale geographical differences in German. We have jokes about misunderstandings between Bavarians and people from the north.
  11. Green Baron

    Making your own code

    I think OP wasn't aware initially. It happens that we ask questions that seem devious to the more experienced. That is natural. People do invent old wheels every day, for fun, exercise, practice, private use, etc. No problem ... :-)
  12. Green Baron

    Making your own code

    Hehe :-) It is not at all as complicated as it may seem here. People have mastered coding, are mastering coding and will continue to do so. Just start and be one of them !
  13. Green Baron

    Metal rich planetoid thought experiment

    I hope i see :-) Yep, you can have statically charged day and night sides on a planetoid. Maybe this helps you farther: https://www.sciencedirect.com/science/article/pii/S0273117717305847?via=ihub Idk. how high the potential differences in a metal core can be, but there is, due to the shear size, quite some resistance involved if its not superchilled. Otherwise we wouldn't have currents in our core ...
  14. Green Baron

    Making your own code

    I don't see what's outdated there. It depends on what and how you program. Sure, some things can be much faster executed in C++ than C, especially when using STL routines, template programming and allowing to compiler to inline what can be inlined, nobody said otherwise, but for an interpreter C is more than enough. And for a young aspiring guy it is much easier to learn and leads to earlier success than digging through C++. It is a good idea. Edit: what do you guys think (or know :-)) is the reason for C's comeback in the last few years ?
  15. Green Baron

    Metal rich planetoid thought experiment

    Rather K2-229b :-) I mean, such things exist. The density is around 9 +/- 2g/cm³ https://www.nature.com/articles/s41550-018-0420-5 Hypothetically, the planet's atmosphere and even part of its mantle may be eroded by stellar winds, alternatively the classic giant impact hypotheses can strip planets of their mantle. What the exact shape of that wind is, idk. That depends on the star its activity, if there is a magnetosphere, interaction between star and planet, flares ... For now, we have no means to measure such interactions directly or indirectly. Cross fingers for bigger telescopes. Edit: searching "modelling stellar winds close planets" brings up a lot of apparently nice links as it may be of interest to the interpretation of absorption spectra from such planets. e.g.: https://files.aas.org/astronomy2015/Presentations/IAUS320_Antoine_Strugarek_Planets.pdf and http://iopscience.iop.org/article/10.1088/0004-637X/694/1/205/pdf I just don't have the time right now ...