Python 3D Graphics Tutorial 3: Designing 3D Models with Parameters

preview_player
Показать описание
You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:

In this video we show step-by-step instructions on how to parameterize your 3D models and animations in vpython (Visual Python, and how to create your first three dimensional models. I do not assume you are an expert, so these lessons are designed for complete beginners.
#Python
#Lessons
#Programming
Рекомендации по теме
Комментарии
Автор

I grasped the concept perfectly. So much so that I paused the tutorial half way through and replaced the positions with parameters, played with the size of the room and parametrised the bouncing equation to make the edge of ball hit the wall. I did the homework before I got to that part of the lesson!! You are the best teacher that I ever had.

ecassar
Автор

You are a really good teacher. The only one I've yet seen who has explained coding in a manner that makes sense to me.

undeadpresident
Автор

When you look at the numbers by themselves it is just numbers but with a name so much easier to visualize. Thanks again, Paul.

opalprestonshirley
Автор

I am legend! I replaced the models with parameters without needing to watch the video! It reminds me allot of Fusion 360's model parameters, which made it much easier to figure out! y a y !

LiamAllbright
Автор

It's like your are reading minds. Your two video this week were just perfect and on point. Thanks!

peterhartshauser
Автор

I created a parametrization to velocity sphere

velocityRateBall = 10
rate(velocityRateBall)

Thanks again, Paul!

leonardomiguel
Автор

Did the homework even before you gave it. I was annoyed how it would bounce relative to the center and not the edge of the all, so I fixed it before the lesson and that turned out to be the homework!

aman-sood
Автор

I paused the video and parameterized the wall thickness, room height, room width and room depth before I saw you do it. Before I ran it for the first time, I set the height, width and depth to different values so that I would know whether I had put the parameters in the wrong place. Setting them all to 10 made it too easy to make a mistake. I am legend. PS Jolly good tutorial!

charlotteswift
Автор

Legend. This was a fantastic lesson. I was hit with another problem today of a cuboids permutations and this was SUPER helpful in creating a visual representation of that. Your Fusion 360 vids also made this lesson more approachable. Best engineer teacher on YouTube.

jaime
Автор

I AM LEGEND! Adjusted for marble radius and wall thickness. At least it looks good on the screen. Thanks for the most excellent lessons Paul!

cbrombaugh
Автор

The parameters make a lot of sense, and it makes it so easy to adjust anything when the parameters are named logically. Thank you!

pokerface
Автор

good job old man. i admire your hard working

prensesbanuu
Автор

I declare as many variables as possible (and realistically practical) and I cannot stress that students use variables to save time. This great lesson really drives home this point and will be required viewing in my class. Thanks again for another great lesson, Paul!

hughpatterson
Автор

This was a very good lesson and yes i am legend...i was able to do the homework
Thank you Mr.Paul for all your tutorials and lessons. Your stuff are amazing and I wish that every teacher could be like you and thank you once again I'm just a 14 year old kid who is really enjoying your lessons.

amayaphotos
Автор

You are an awesome teacher...Bless you...

syedmurtazajaffar
Автор

I really appreciate your work Paul, people like you will change the world and bring geniuses to us . Thanks mate !

alberthilmennstein
Автор

This is just like Cutter Comp in CNC langue, when you asked to change to sizes in the Py code I had added them as parameters. (I draw that way in Fusion360) and I added wall thinkness to the roomWidth and roomHeights. I was delighted when I realized that since the origin of the walls is at the center, I didn't need to cut the wall offset in Great Lesson !!!

Vbeck
Автор

Had a play with the moving ball to make it go diagonally and change at the start of the ball, pretty cool and the size vector does make it all easier to think about the space.

johnplowright
Автор

Great video and a super easy method to follow about parameterizing the code! There are Legends amongst us!!

codecage
Автор

Another great tutorial full of great, informative concepts: thanks once more!

alfredcalleja