Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window opening ? #142

Open
mfRival opened this issue Jan 11, 2025 · 4 comments
Open

window opening ? #142

mfRival opened this issue Jan 11, 2025 · 4 comments

Comments

@mfRival
Copy link

mfRival commented Jan 11, 2025

isn't there any functions for opening window in librw or have to use glfw ? and can we load .obj files?

@aap
Copy link
Owner

aap commented Jan 11, 2025

with opengl glfw is what i chose for context creation and so on. there's also code for SDL but that wasn't written by me and i don't know if i ever even tested it.

@mfRival
Copy link
Author

mfRival commented Jan 11, 2025

can i use any library i want , to open window and for input functions ? and do i need external physics library or librw has physics?

@PerikiyoXD
Copy link

PerikiyoXD commented Jan 11, 2025

  • Isn't there any function for opening a window in librw, or do I have to use GLFW?
    • I assume you are asking about how does librw handle backends.
    • Yes, GLFW is available as backend.
    • Check the Skeleton source code (win.cpp, sdl.cpp, glfw.cpp) to see how it works.
  • Can we load .obj files?
    • Not directly as .obj. This library is meant to use .dff files, as it resembles GTA mostly.
    • Assume that you would need to write a OBJ parser to actually build what a DFF resembles (Atomic, Clump, Geometry...)
  • Can I use any library I want for opening a window and handling input functions?
    • You can create a custom Skeleton implementation with the backend you want.
  • Do I need an external physics library, or does librw have built-in physics?
    • You need a physics library. For more context you can try openrw which uses bullet physics.

@mfRival
Copy link
Author

mfRival commented Jan 12, 2025

i guess it's not idle for gamedev ? it is mean to be used with re3 ? i was actually searching for a 3d graphics library in lightest weight possible and eventually found it and thought it would be great to use it as there are no fancy updates or other external craps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants