Is Creating a 100% Python-Based 3D Engine a Good Idea?

0
5
Asked By TechyTurtle42 On

I'm currently developing a 3D engine entirely in Python that handles everything from basic rendering to textures and map creation without relying on any external APIs like OpenGL or DirectX. Right now, I'm using OpenGL for simple 2D line rendering, since it works well with C++ and runs on the GPU. I'm at the stage where I can render wireframe 3D objects, move and scale them, but I've hit a performance wall—getting just 10 FPS with a simple wireframe sphere has me questioning if I should switch to C++ for rendering.

5 Answers

Answered By GeeksUnited77 On

Using Python can be useful for prototyping or educational projects. But for anything production-ready, I’d recommend using C or C++ to handle the heavier lifting, while keeping the Python for higher-level scripting.

Answered By CodeCrafter99 On

I built a simple 3D engine using Python! Check out my work [here](https://github.com/ViciousSquid/RStudio). It’s more about learning than hitting performance targets, though.

Answered By CreativeCoder88 On

Building a 3D engine completely in Python might be intriguing for small projects or learning purposes, but honestly, Python just doesn’t deliver the performance needed for serious applications. You’ll likely hit limitations pretty quickly.

Answered By MotivatedMaverick On

Sure, building your engine in Python is a good challenge! Just use that 10 FPS as motivation to learn how to optimize as much as possible. Remember, tons of others have done similar things in Python and managed to create fun experiences.

Answered By PixelatedNinja On

If you're looking to really use the GPU, you’ll need to rely on APIs like Vulkan, DirectX, or OpenGL. While prototyping is fine, expect a huge time investment if you want to compete with engines like Unity or Unreal.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.