3D Programming for Beginners Using Python and Blender 2.8, Tutorial

  Рет қаралды 212,381

Olav3D Tutorials

Olav3D Tutorials

Күн бұрын

Пікірлер: 141
@Olav3D
@Olav3D 4 жыл бұрын
The Ultimate Addon Development Course, Make Complex Addons for Blender: gum.co/fciiU MASSIVE Simulations Course for Blender: gumroad.com/l/MRtQr Add-ons I am affiliated with and approve: 1100 Textures in Blender: bit.ly/2QEJ7yN Massive Cars And Vehicles Add-On: bit.ly/3cuWF8N Flip Fluids Simulation Addon: bit.ly/2Pbu5QR HDRI Maker Addon: bit.ly/3stHdPR
@NicoMoessmer
@NicoMoessmer 4 жыл бұрын
why i should use coding in blender i mean its such a great menu and software and i dont realy need this...i think
@DaviSilveira
@DaviSilveira 4 жыл бұрын
That "info" panel just made my day!!!! Blender blends my passions for coding, 3D design and film making! Keep on spinning!
@arthatamayusuf8848
@arthatamayusuf8848 4 жыл бұрын
try this book. www.amazon.com/Learning-Blender-Python-Beginners-Understanding-ebook/dp/B07SL5VDCJ
@NeonCipher
@NeonCipher 6 жыл бұрын
This scripting series is going to be awesome! Thank you so much!
@LUchesi
@LUchesi 5 жыл бұрын
I wasn't exactly sure where I wanted to draw value from learning to code blender scripts, but by 3:33 you made me realize that I could fairly easily populate a city-scape or something like clouds and maybe with a tweak fog. Like, just changing out the mesh and the axes then adjusting aesthetically after populating. That's days of work saved on the first example you showed me... nice job.
@RomanticNightDreamer
@RomanticNightDreamer 6 жыл бұрын
just saw this on reddit, and i have to say, i tried in the past to learn blender but i put it on the backburner because i started learning python but now i can do both. thank you for this push, i knew you could use python to automate blender but i had no idea how & where to start. Now i cant wait to get me some free time & test it with my Collatz conjecture script i wrote recently i hope you'll make more of these.
@aliensoup2420
@aliensoup2420 6 жыл бұрын
I'm not into 2.8 yet, but in 2.79 you can copy/paste a line from the Info window to the text editor. That way you don't have to type the entire line of code. Click each line in the info window you want to copy to add to the selection for entire blocks of code, or re-click a selected line to deselect it. Then just cmd-C to copy, and cmd-V to paste into the text editor. It also works to or from the Python console. Thanks for your detailed and concise tutorials.
@Olav3D
@Olav3D 6 жыл бұрын
Thanks. Yes, you can also copy-paste from the info window in 2.8 too.
@harryboteler5332
@harryboteler5332 6 жыл бұрын
Your tutorials will provide an excellent journey into Python Scripting for a total, somewhat reticent beginner like me. Many thanks
@keifferbuckles8976
@keifferbuckles8976 6 жыл бұрын
So glad you're doing these! I have coding experience in Java and Javascript but I don't know python or how to do it in blender.
@FitGlamLifestyle
@FitGlamLifestyle 5 жыл бұрын
i have legit no knowdlge of scripting, - but my question is. - blender 2.8 does it only use python script, or can people also use c# im just wondering what to learn, and if i am waisting time learning C# if i only should use python for this. - .- sorry for the comment, but i am a noob when it comes to coding, and what software does what i have no idea.-
@FreedomRower
@FreedomRower 5 жыл бұрын
with c# use Unity and make the assets in blender for it
@ns3aforyou724
@ns3aforyou724 6 жыл бұрын
I watch you since of a week, you are very successful in teaching and explination blender. Pleasssee if you would, we need a playlist of tutorials in 2d animation blender
@rsoulinternet
@rsoulinternet 6 жыл бұрын
A nice introduction. One thing to add: By default it's left-click select in Blender 2.8
@ShutterAuthority
@ShutterAuthority 6 жыл бұрын
Great tutorial Olav! I already feel more intelligent haha
@Olav3D
@Olav3D 6 жыл бұрын
I`m glad to get a comment from you guys :)
@criddycriddy
@criddycriddy 4 жыл бұрын
Brilliant and clear teaching new sub great work
@silverman1438
@silverman1438 4 жыл бұрын
Thank u 🙏🏻 for this intresting tutorial
@travisbrooks1760
@travisbrooks1760 6 жыл бұрын
Really cool that you made an updated version.. Much love from ya brotha from anotha motha n California
@gayalkuruppu9387
@gayalkuruppu9387 4 жыл бұрын
Superb video sir!
@ratneshkeshari6785
@ratneshkeshari6785 4 жыл бұрын
Thanks a ton for this excellent tutorial.... wanted to add a bit , m using blender 2.8 and I am able to copy script lines from info and directly paste on python editor.
@Wren206
@Wren206 4 жыл бұрын
Thanks, Olav! Great tutorial and very informative for beginners and intermediate learners as well!
@QRCoal
@QRCoal 5 жыл бұрын
This would be great if you could see what is being written. As I could not see what was being written it was no use to me. Is it possible to get a text file of what you wrote in the text editor.
@elizabethhamilton1166
@elizabethhamilton1166 6 жыл бұрын
Easy to follow. I have never scripted in Python so I appreciate the quality of your tutorial.
@accba236
@accba236 4 жыл бұрын
a Good tutorial one that let me more than like!
@satori1312
@satori1312 5 жыл бұрын
I like your tutorials because they are very useful. You are doing a great job here!
@RedstoneFTW
@RedstoneFTW 6 жыл бұрын
hey love this! one annoying request... could you up to 4k or increase the text size? Its a little hard to read at this size/res
@Olav3D
@Olav3D 6 жыл бұрын
Yes, I will probably increase the text size next time. :)
@ArnaudMEURET
@ArnaudMEURET 5 жыл бұрын
Of course! Because shooting in 4k just because the text is too small is not a waste of resources at all.
@lime1453
@lime1453 4 жыл бұрын
Thank you very much!
@Anderson21G
@Anderson21G 6 жыл бұрын
This is pretty cool, there's so much you can do with Blender.
@BrianSheppard
@BrianSheppard 3 жыл бұрын
Fantastic video!
@YIMOX
@YIMOX 3 жыл бұрын
amazing, i seeit all i wanna learn it all XD
@FredLarsonK1FL
@FredLarsonK1FL 6 жыл бұрын
Been looking for a tutorial on scripting. And for 2.8! Thanks
@eggyrepublic
@eggyrepublic 5 жыл бұрын
So essentially, the 3D animation interface is just a very high level scripting language. Imaging making an animation just by using a Python script
@yuanruichen2564
@yuanruichen2564 4 жыл бұрын
Coding is like manufacturing and packages/libraries are just lathes and moldings
@andrebullitt7212
@andrebullitt7212 3 жыл бұрын
This is Great! Thanks alot.
@chstk858
@chstk858 4 жыл бұрын
Helped so much for my 3d project thanks!
@KaletheQuick
@KaletheQuick 6 жыл бұрын
This is really good. I'm a pro python dev, and do 3d art with blender, but the scripting in blender always appeared kind of unapproachable for some reason. Thanks for demystifying it!
@lazaredurand6675
@lazaredurand6675 4 жыл бұрын
The command " bpy.ops.mesh.primitive_monkey_add(location=0,0,0))" does not work for me it answer me the error: " File "", line 1 bpy.ops.mesh.primitive_monkey_add(location=0,0,0)) ^ SyntaxError: invalid syntax"
@juancarlosaguirre892
@juancarlosaguirre892 4 жыл бұрын
thanks for your video!
@yuraamirov7893
@yuraamirov7893 4 жыл бұрын
nice one . thanks !
@fearcry
@fearcry 6 жыл бұрын
Learn a lot, thank you for sharing Olav :)
@Iwantsome_maura
@Iwantsome_maura 4 жыл бұрын
This is awesome thank you!
@saideep025
@saideep025 Жыл бұрын
hi. Thanks for the informative video. If I want to generate the monkeys of different random sizes and no two monkeys are touching each other how can I do it?
@ofeyofey
@ofeyofey 3 жыл бұрын
Great tutorial Where can I get the code? Thanks
@dendriloquist
@dendriloquist 5 жыл бұрын
Thank you soooo much! we need more python - blender tutorials/courses. you explain it very well . please do not hesitate to make more ;)
@mickyboy159
@mickyboy159 4 жыл бұрын
Very simple!
@rubenayla
@rubenayla 5 жыл бұрын
Very very well explained thanks
@ryaneastwood6561
@ryaneastwood6561 5 жыл бұрын
how do you make sure the subdivision modifier only affects monkeys? or does it affect every shape that is put down? It does not reference any particular shape, not even the monkeys themselves, so what if you wanted to change only a few monkeys and not all of them?
@WickedTwitches
@WickedTwitches 4 жыл бұрын
Your pc is insane. How do you render so quick
@Olav3D
@Olav3D 4 жыл бұрын
Editing haha
@nomr6788
@nomr6788 5 жыл бұрын
Which language should I learn for game development ?😵
6 жыл бұрын
Superb!
@LeChat01234
@LeChat01234 5 жыл бұрын
Awesome! Thank you so much!
@kruger
@kruger 5 жыл бұрын
Great tutorial!
@BLOODCHROMEDESIGN
@BLOODCHROMEDESIGN 6 жыл бұрын
Nice, look forward to getting stuck in
@Ianuarius
@Ianuarius 6 жыл бұрын
Thank you for the tut!
@taesiri
@taesiri 6 жыл бұрын
That was cooool!
@LukePettit3dArtist
@LukePettit3dArtist 5 жыл бұрын
Many of the other things you did, needed to be scripted, for example, how to select only the mesh objects and not cameras or lights. There must be several ways to do the selection by, similar attributes, or as meshes, mustn't there!? Looking forward to more python Blender scripting.
@calogiga
@calogiga 6 жыл бұрын
Waouww ! Very very interesting !!!!!! Thanks !
@kevinwetter4406
@kevinwetter4406 5 жыл бұрын
Very nice tutorial series! Thumbs up! You used 500 monkeys and had quiet some calculation time. I tried a 1000 simple cubes and blender had trouble rendering them in the viewport. Is there a way to make this script more efficient? Like if I only generate a new mesh within an object instead of generating a whole new object every iteration? Would this help? And if so, is there a way to only add a mesh within an object?
@SenoClub
@SenoClub 6 жыл бұрын
Olaff, you are cool!
@12lcaldwell
@12lcaldwell 5 жыл бұрын
I tried to run the script but I got an error message in the info box that says "Python script failed, check the message in the system console" but I don't know how to do that on my macbook. Any suggestions?
@theterrorengine5779
@theterrorengine5779 5 жыл бұрын
Did you check the script to make sure there is no errors?
@12lcaldwell
@12lcaldwell 5 жыл бұрын
I double checked there were no errors and simplified it to just be print(6*7) To test output, but I can’t find where the output displays since it says to check the system console. Where do I find that on a Mac?
@fmenezes6272
@fmenezes6272 6 жыл бұрын
thanks so much for this =D .... i can make just one request ?! next codes could you make the script i little more big for we can see better ?
@Olav3D
@Olav3D 6 жыл бұрын
Yup.
@RougeTheWicked
@RougeTheWicked 5 жыл бұрын
I've tried with "0.0.0" as well. I'm thinking it's the brackets I've inserted but then again, that's what I see between "add" and "location" and after the "(0.0.0)"
@erik....
@erik.... 5 жыл бұрын
@@RougeTheWicked It's not brackets, it's simple parantheses because it's a function. Maybe you should learn some basic Python too.
@RougeTheWicked
@RougeTheWicked 5 жыл бұрын
@@erik.... Thank you. I appreciate your sharing of knowledge.
@AidenDe1
@AidenDe1 5 жыл бұрын
@@RougeTheWicked the location thing at the start is (0,0,0)) important double bracket ending I took so long to see it in the video
@himanshushekhar4590
@himanshushekhar4590 4 жыл бұрын
Can we assemble CT scan images using Blender?
@petarpetrov5548
@petarpetrov5548 5 жыл бұрын
Wow, you have one powerful machine, my laptop will choke on 10 monkeys with that setup :D
@DRAVIASTUDIO
@DRAVIASTUDIO 6 жыл бұрын
Thanks thanks Man Awesome
@deelveshbunjun7674
@deelveshbunjun7674 5 жыл бұрын
instant subscribe!
@carrapaz3645
@carrapaz3645 5 жыл бұрын
this is so ducking powerfull
@isaacdobson8760
@isaacdobson8760 3 жыл бұрын
can someone tell me what this means for I in range(0,number):
@azulamazigh2789
@azulamazigh2789 6 жыл бұрын
thanks man. more pleaaaaaaaaaase!.
@nibblyproductions8196
@nibblyproductions8196 6 жыл бұрын
13:16 best thing i've ever seen
@Olav3D
@Olav3D 6 жыл бұрын
Haha ;)
@hamedmotealle1110
@hamedmotealle1110 5 жыл бұрын
Thank you so much Would you please put the code somewhere for download?
@chainonsmanquants1630
@chainonsmanquants1630 5 жыл бұрын
Thank you
@ask_usb
@ask_usb 4 жыл бұрын
import bpy from random import randint number = 600 for i in range (0, number): x=randint(-30,30) y=randint(-30,30) z=randint(-30,30) bby.ops.mesh.primitive_monkey_add(location=(x,y,z))
@ccb4911
@ccb4911 6 жыл бұрын
thanks for teaching us
@dr.psprojects9591
@dr.psprojects9591 4 жыл бұрын
Cant see the code. Need to enlarge the type please.
@DavidRisnik
@DavidRisnik 4 жыл бұрын
very good your tutorial, I already subscribed to your channel, congratulations. Now I have a doubt. Blender text is not accepting the division of my keyboard, nor the question mark. In normal text editors - this key types normal. Could you tell me why? Thanks hugs
@nv3796
@nv3796 4 жыл бұрын
how to read an existing 2D image (specially .svg) from computer disc and start playing with it to add effects ?
@OSKESIS
@OSKESIS 6 жыл бұрын
Ooooolove 3d
@nigelpallatt
@nigelpallatt 6 жыл бұрын
Using colours in your script makes it hard to see, can you please use another more visible colour? Thanks, ps: love the tut's
@linolafettatnet
@linolafettatnet 6 жыл бұрын
Thanks for taking your time to do a very basic introduction course. Much appreciated. I guess the "i" in "for i in range" means simply integer in range? Other than that it was all understandable :)
@ClayonTutorials
@ClayonTutorials 6 жыл бұрын
Actually, the "i" is just the name of the variable to store the current value of the for loop. The "range" creates a sequence of integers, starting at 0 (or a specified number) and ending at the specified value. For example, range(10) creates [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]. Technically, the range function is a generator, which is an iterator whose elements aren't all stored in memory at once. What that basically means is that instead of having a list, like above, and then iterating over each element, we can "create" each element as we iterate, so we save memory, especially if we have a succinct formula to produce a complex pattern that we want (or if we have large chunks of data that we'd like to process sequentially).
@jmisc
@jmisc 5 жыл бұрын
let's say I have a sphere, how do I add one type of primitives orthogonal to one side, and another different primitives to the other side? Please help.
@VVLGANESHK
@VVLGANESHK 5 жыл бұрын
How can I get android IMU data to blender to control camera in blender? The IMU apps have been provided python code
@virtuous_pixel
@virtuous_pixel 3 жыл бұрын
Does anyone else find it slightly odd that a primitive 'type' is not passed as the parameter to a primitive_add() function.. but instead each primitive has its own corresponding factory(?) function. If anyone has a reason for why this is that would be brilliant.. thanks!
@lisapoirier5147
@lisapoirier5147 4 жыл бұрын
Hi, thanks a lot for your tutorial. I'm new in Blender and I'm trying to write a python script in order to color and give a material (eg: transparent BSDF) to my object. Do you have any idea how to do it ? It could help a lot
@fantakaba7201
@fantakaba7201 5 жыл бұрын
did you use python 2 or python 3?
@KAYAPOGAN
@KAYAPOGAN 4 жыл бұрын
Hi Olav, do you know where or if exists people or a group inside the Blender community that has an interest to develop new programs using Blender, Python, etc?
@Olav3D
@Olav3D 4 жыл бұрын
Facebook groups
@KAYAPOGAN
@KAYAPOGAN 4 жыл бұрын
@@Olav3D Thank you
@stuffystuff1661
@stuffystuff1661 4 жыл бұрын
Hello is there any oducmentation on the functions that I can use in blender using python?
@neilmarshall5087
@neilmarshall5087 4 жыл бұрын
Start Blender: Help - Python API reference.
@koaoi9172
@koaoi9172 4 жыл бұрын
why is it telling me theres an error when i try to run the python code?
@koaoi9172
@koaoi9172 4 жыл бұрын
because i’m a dumbass
@sunainabhamra7755
@sunainabhamra7755 4 жыл бұрын
@@koaoi9172 :') It's alright to make errors! You only learn if you're making errors.
@connorguymon3523
@connorguymon3523 3 жыл бұрын
suggestion make what you write way bigger I could not see it at all.
@3dportableinc64
@3dportableinc64 5 жыл бұрын
when exporting an object to 3dsmax, I had a vertex position in each frame of the animation. I tried to do it in Blender but the coordinate does not change. How to do it in Blender?
@tomschuelke7955
@tomschuelke7955 6 жыл бұрын
very nice.. i am a about to lern blender for privat (have been using 3ds max professionaly for years... ) but more important my son wants to learn programming... he´s 14 years old.. but doesnt know how to start... and phyton, is very well used, and dooing stuff like this, would be great to instantly get results, which is good for a start in programming.. isnt it.. great..
@mickyboy159
@mickyboy159 4 жыл бұрын
You really need to increase the size of your font! It's so tiny I can't read it without straining my poor eyes!
@elizabethhamilton1166
@elizabethhamilton1166 6 жыл бұрын
Are you a member of the Blender dev group?
@carrapaz3645
@carrapaz3645 5 жыл бұрын
does exist any other software that can do this?
@UlrichThümmler
@UlrichThümmler 5 жыл бұрын
Maya in mel, 3ds max in lua and python, houdini in python, cinema4d in python, zbrush in ZScript, XSI in jscript, python etc.
@carrapaz3645
@carrapaz3645 5 жыл бұрын
@@UlrichThümmler thanks for your answer, good to Know!
@ieatscookies9852
@ieatscookies9852 5 жыл бұрын
do you have to download bpy
@serenityrahn5656
@serenityrahn5656 5 жыл бұрын
bpy is built-in to blender. in your script window, just type "import bpy". run the script, should be no error messages such as ERR: bpy not found
@cybercomputerized2074
@cybercomputerized2074 4 жыл бұрын
Can't read the code. It's too small.
@debajyotimajumder2656
@debajyotimajumder2656 4 жыл бұрын
after running with 600 monkeys, I thought my laptop crashed. Luckily it did not.
@113no.digharparkandapara5
@113no.digharparkandapara5 3 жыл бұрын
to do cose make banla
@Necropiet
@Necropiet 5 жыл бұрын
I'm getting Bob Ross vibes
@rickay77
@rickay77 5 жыл бұрын
12:43 theres no "display mode" in my blender, and why are u using that huge project for a tutorial??? i takes so long to do it all
@spaderkungskuk
@spaderkungskuk 3 жыл бұрын
Unwatchable due to zoom level / font size.
@omri1324
@omri1324 5 жыл бұрын
3 levels subsurf on 500 monkeys.. is this a how to crash you computer tutorial? lol. great tutorials tho. thanks!
@matrat57
@matrat57 4 жыл бұрын
if only i could read the script...
@CR-qc9sl
@CR-qc9sl 4 жыл бұрын
Your text in the editor is very small. Why don't you go to view-sidebar-font size to make the text clearly visible for us learners? Now the tutorial is a torture.
@darksidegamers9876
@darksidegamers9876 4 жыл бұрын
i typed 10 crore my blender is not responding
[2.79] How to Create 3D Objects With Python And Blender
6:08
Olav3D Tutorials
Рет қаралды 114 М.
Create an Add Mesh Addon in Blender (Python tutorial)
22:44
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Let's code 3D Engine in Python from Scratch
14:55
Coder Space
Рет қаралды 411 М.
How to Create a Simple Blender Addon in 15 Minutes
15:25
chocofur
Рет қаралды 86 М.
Blender Scripting Guide: Mastering Mesh Editing with Python
11:25
7 Topology Tips Every 3D Artist Should Know
9:27
MLT Studios
Рет қаралды 823 М.
Artistic Coding in Blender by David Mignot
7:41
Nik Kottmann
Рет қаралды 165 М.
How to Make Meshes with Python in Blender!
16:26
Curtis Holt
Рет қаралды 47 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН