Im on windows i would like to have a .exe file which is a 3d viewer, similar to blender.
Which language do i code it?
Which libraries would i need to use?
Note: when i mean creating my own 3d engine i mean that i would do myself the maths, i dont want a prebuild one Thanks

  • HelloRoot@lemy.lol
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    1 day ago

    Which language do i code it?

    doesn’t matter. If you wanna go far, pick the one you’re best at. That way you have one less hurdle.

    Which libraries would i need to use?

    I thought you wanted to do it from scratch? The standard libs will probably have all the math functions you need. + Something for keyboard and mouse input handling.

    Where to start?

    By reading something about 3d rendering. Triangle math. Projections. Lighting. Shaders. etc. You can look at university courses that publish their materials online. Or a book. Or blog guides. Or yt videos. Or stackoverflow. Or reddit posts. (quality drops aproximately in the order i’ve written it)

    • mspencer712@programming.dev
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      1 day ago

      This, 100%. Use whatever language you’re fast and fluent with. If you don’t have any of those yet, C is a good choice. Get books and tutorials from the 90s or 2000s and OpenGL is a great place to start.

      The most limited resource that you have to manage would be your own energy and passion. Don’t go out and seek that dopamine hit of validation from others until you’ve built something. “I want to build something” is OK, but “I’ve started building something, it runs somewhat, here’s a repo, I’m stuck, HAAAALP!” is way more compelling.