Комментарии:
This project was created to learn the basics of 3D. Of course, in terms of performance, Python is not the best option for this kind of thing, but it was pretty fun.
And sorry for some grammatical errors
Will you be able to cover 3d model animations? I heard early 3d games had to make characters out of multiple objs until they found a way to make character models more realisticallythat bend and morph the mesh. Can you do that some day?
ОтветитьA whole semester worth of classes in a single video, essential for my final exam and project, I owe you one.
ОтветитьGreat video! How would I add texturing to my imported OBJ models though?
Ответитьcan you code up a 4d game? I think that would make a great video.
ОтветитьSo what did you do today?
Well i started a project and got a pygame rect to be flashing to the screen with movement, you?
Not much just created a 3d engine from scratch
Wow, thank you for this most easily explanation. This will be my start of programming 3D models
ОтветитьNow try to add color to faces! ;)
ОтветитьClean and powerful code, i'll take the idea to test a dual camera projection on nreal air glasses since they are capable of showing stereo images. Thanks a lot.
ОтветитьHow to [___] from scratch:
Step 1: "Download these libraries"...
That isn't from scratch.
So I'm running numpy 1.24.3 and when I try to run the program I get a inhomogeneous shape error for when you create the faces np.array in the Object3D class
Apparently from some stackoverflow answers it seems that this problem is fixed if you downgrade to a older version of numpy
Unfortunately I was too lazy to do that and noticing that the shape of the faces object that you wanted to create in the Object3D is the same as that of the faces object you get in the constructor, only difference being is that it is all np.arrays instead of a normal array...
I decided to replace
self.faces = np.array([np.array(face) for face in faces])
with
self.faces = faces
and it worked..?
idk honestly ima just leave it here if anyone has this error too and actually knows how to fix it
please help I am having
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2946,) + inhomogeneous part.
This error, can't figure out why numpy is giving this?
Isn't pygame a 2d module? So is 3D just a 2D screen that somehow turned into a camera that can move freely with 3D Objects? I'm confuse please explain to me, I'm learning
ОтветитьThis is wonderful and I have never seen such clean and effective python tutorial like this. I can only image what you could do with TensorFlow or PyTorch.
ОтветитьIs the voice over an AI?
Ответитьcan u add actual blender animations to objects?
ОтветитьVery helpful explanation in easy way for beginners to understand game programming ant its complex geomerty
ОтветитьSolo usando pycharm puedo hacer eso🤔
ОтветитьWhy do you sound like a robot?
Ответитьmaking a game engine from scratch is the Dark Souls of game development
Ответитьit took me 20 mins to make the screen work
ОтветитьI've been analyzing this engine and was successful to get proper perspective and camera view working on my project. However as I move the camera forward and go past an object, the object reappears and moves away from the screen when it really should be BEHIND the camera view. It seems that your engine is having this issue as well, so I was playing with both engines to see if can be fixed but no progress yet. I suspect it may has to do with the vertical asymptote of the tangent function approaching either direction of infinity as the camera gets closer to the world coordinate origin.
ОтветитьThanks!
ОтветитьExcellent work
ОтветитьIf you set the playback speed to 0.5 or lower the tutorial becomes actually followable! :D
ОтветитьSoo good video content.
Thnx buddy
Please do another video on this! Not just wireframe, actual sides/faces to the 3d shapes! Lighting, etc!
Ответитьwhat would be the best programing language for creating a 3d rendering engine?
ОтветитьВозьмите меня в ученики...
ОтветитьI remember when I wrote my first 3D engine on the Commodore64 back in the mid-eighties
I was so proud of myself too!!
For those following the video, when writing out the code, it should be noted that "vertexes" is not a word and will not register IntelliSense to pop up, but "vertices" will.
ОтветитьFeels a little too fast
Ответитьwhy would someone use python over c++ ?
ОтветитьThis content is so friggin dreary.
ОтветитьWoow
ОтветитьSo can you do this with ChatGPT?
ОтветитьExcelente explicação. Você consegue tornar algo complexo em um resultado simples e fácil de entender, sem deixar vazios. Parabéns.
ОтветитьNice video. Perhaps it would have been a good idea to mention that you used row major matrices and post multiplication. Notation may be confusing.
Ответитьwow!
thanks!
I wouldn't use python for a 3d engine
Ответить"From Scratch" -_-
ОтветитьAs someone with a degree in Computer Graphics, this 15 minute video pretty much sums up 2 entire years of university studies. Good job
ОтветитьIt's true, it is nice to look at the cube.
Ответитьi mean its not from scratch, you used a library
Ответитьнорм
ОтветитьVery well done!
Ответить