r/GraphicsProgramming • u/G_oni_vv • 3d ago
Progress on 3 months of Graphical programming on my phone with kotlin and Open gl es
I've been building my own game engine from scratch using Kotlin, entirely on my phone.
After 3 months, I finally have two cubes rendering and rotating — one red and one white. The buttons are still placeholders, and there's a long way to go.
I know it doesn't look like much yet, but everything starts somewhere. I'm learning and building things one step at a time.
Any tips on how I can speed up development? I'm doing everything from scratch. 🚀
5
u/coumerr 3d ago
That interface feels a bit vibecoded, though. Rendering that UI and text would be much harder than rendering two boxes. You have rounded rects, text, and widgets like buttons? This doesn't add up.
6
u/G_oni_vv 3d ago
Good question the buttons and the KENKERN text are native Android UI layered on top of the OpenGL surface the engine itself only handles the 3D rendering for now I do plan to build my own UI/text rendering eventually but I wanted to get the 3D pipeline working first.
1
1
u/LBPPlayer7 2d ago
as someone who has gone through the pain of writing a small objective c app entirely in ifile on an iphone 4, that's impressive
1
u/Mammoth-Chemistry701 1d ago
Respect for doing this on a phone, that constraint teaches you a lot. One heads up from someone who learned it the hard way: on Mali GPUs (most Android phones) OpenGL ES exposes 0 vertex shader SSBOs, so GPU skinning or any vertex compute you plan later won't run there, you'd need Vulkan. What phone are you on? The GLES extensions change a lot by GPU vendor.
0
u/CodyDuncan1260 3d ago
Cart before the horse. I.E. Experience informs speed.
If you knew the path between here and where you're trying to go already, you'd be able to go much faster. But you don't, so you're exploring the space and learning where to go and not go.
It will depend on what you want to do with this project. Is your goal making something for yourself? To learn from? Or for other people to use? (On that last point, making something for other users, that is a hugely difficult problem space that's more human than technical.)
Any advice I could offer is just the regular best practices. Use a good keyboard, use IDE tools, learn from good resources, ask people questions.
If you have a more narrow question, like "What are some ways I could speed up development on a phone?", then it's easier to respond.
3
u/G_oni_vv 3d ago
Thanks a lot for the advice My goal is mainly to learn so I'm okay with going slowly to be more specific what are some ways to speed up development when coding on a phone? I don't have a PC, so I'm using Kotlin and OpenGL ES directly on my phone.
-2
•
u/AutoModerator 3d ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
No showcases.
Disclose AI usage in post or project.
Present a topic to talk about, e.g. how something works.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.