Creating a 3D Graphics Engine Using Python
Вставка
- Опубліковано 27 гру 2024
- Video Explaining 3D Graphic Math - • How 3d rendering works...
This project was probably the most fun project I have ever made and I'm hoping to do something with it very soon!
Advanced programming projects (affiliated): app.codecrafte...
UA-cam growth tool (affiliated): vidiq.com/l4fp...
My microphone (affiliated): tinyurl.com/2h... - Наука та технологія
“The program right now is rather buggy, but I decided not to deal with that.”
Mood
Playing this in 1.5x sounds like a normal speed speech 😆
damn thanks man!
i think he's "on"something
😂😂😂😂😂
You can make your own 3D game if you want in python, actually, I'm doing the same too, I'm also working on such an engine (more like a library I guess). If you want to make a big world 3D world in pygame, it could make your computer slow down because off all the verticies it has to render or calculate, so you have to optimise the code...like a lot. Secondly, you could make each and every single object in your game with hard coded verticies, that you typed in your self (which could be really hard), or you can just easily try to implement obj file support to your code. These are my suggestions and recommendations that I wanna give you. Keep on codin!
how about that, I just recently got into the slightly deeper end of programming but I still see these really cool projects that make me wonder how people come up with awesome stuff like this.
Awesome work tho and I'm looking forward to seeing more from you
Thanks! I’m planning on doing more stuff with Pygame and maybe even start doing things with Java and Minecraft’s Mod Coder Pack!
@@Gpopcorn Sound exciting ;D
You heard the man. The project is finished when he says it is finished, bugs or not. I love the content.
That fascination is a time killer;) Good job, keep it going
This is the coolest thing I saw today... Can I get the source code? Or I just have to figure it myself? Thanks
I will be releasing the source code later today on github! Will comment again when I’m finished!
Here I have created the repository: github.com/Gpopcorn/3D-Graphics-Engine
If you want a better explanation of how it works check out these links:
ua-cam.com/video/VywuRtNKl0c/v-deo.html
en.wikipedia.org/wiki/3D_projection
@@Gpopcorn Thanks a lot, I will check it and try to make some project out of it... Respect man, good job
Cool project! you can use numpy for the linear algebra stuff. unless your goal is to write everything from scratch.
Thanks for the advice! Though, I think I’m going to do it mostly myself!
Hi! Do you think it can be implemented in Blender to use as alternative rendering engine? Just for fun ofc
Nice video, just one tip, improve the video quality. This shouldn't be too hard. Since the quality might be 720p but it seems to be downscaled for some reason.
It could be OBS or the video editor but I will keep this in mind for my next video! Thanks!
Figured out that it was OBS and I was using medium quality, now I have switched to high quality! Thanks for letting me know!
@@Gpopcorn np
Would you give us the codes you used or a huge tutorial
wait are you the guy from the moment section of the onelonecoder video?
Yo if you ever get back to it I'd love to know how to fix that bug you mentioned. I'm having the same issue myself. I made some progress but its still far from perfect.
I still have no idea how to fix it either. I’ll share how I do if I make another video on it tho!
Although I don't really understand how you make the rotation, but you make me think I can do this too
Rotation is handled through matrix multiplication. en.m.wikipedia.org/wiki/Rotation_matrix might help with that!
@@Gpopcorn Thanks
Could it be possible to load 3d models on it in the future?
u can make without pygame (cv2).
I maked my own 3D graphics engine only with cv2 and PIL.
Yooo, this is awesome!
Really nice!
Awesome bro
What is the software that you are using in the video? Is it the same as the one on the python website? Or is it something else? Sorry if this question is stupid.
If you mean by IDE or text editor, I am using VSCode made by Microsoft. If you’re talking about the language, I did use Python.
@@Gpopcorn Thank you very much. I just downloaded it. Good luck on future endeavors, my friend.
@@Gpopcorn By the way, do you have anywhere I can go to learn more about python and other programming languages? I know about website development sites like w3schools, but that’s about it.
@@nospill_kunai6192 I’m not sure of much, sorry. You could probably find a good tutorial series on UA-cam somewhere!
@@nospill_kunai6192 i'd suggest to take a look on freecodecamp on youtube or on their website!
whats the bg music ? Informative Video btw.
x=x/z
y=y/z
That’s a simple way to do a 3D projection. (At least I heard I haven’t tried it yet) I was looking up videos of other people doing it to see if I could find more information before I tried it myself.
This could have worked, but for the movement based controls like rotation and having perspective, this would sadly be too simple.
Help I used print(x, y) with your variables and made gta 7
Please post the code to GitHub.
I encourage you to work on Python.
In my evil mind: Python is 60 times slower than C++, I want to encourage people in the wrong direction so I will never have competitors, as I'm building a game engie with C++.
Nice
Thanks alot
Nice Video :)
Thanks!
@@Gpopcorn I subbed btw :)
Source Code?
Source code is right here: github.com/Gpopcorn/3D-Graphics-Engine
you sound very high and sleepy
cool!
very cool :)
dude are you high ?
Nahhh, I just did the voice recordings on a crappy mic at 2 in the morning
@@Gpopcorn anyway keep it going that was awesome!
I was gonna say, he talks like he has brain damage.
go outside, touch some grass, maths = nerd
Whats “outside”?
besides that, thats fucking dope my g, keep it up
@@Gpopcorn 😂