1
00:00:00,000 --> 00:00:04,000
Hello, hello, today Blender, Python programming language.

2
00:00:04,000 --> 00:00:10,000
Surely it's not about the animation you're seeing here now.

3
00:00:10,000 --> 00:00:17,000
It's about creating from a picture, a simple image, png, jpg, whatever.

4
00:00:17,000 --> 00:00:20,000
Just creating such a 3D scene.

5
00:00:20,000 --> 00:00:22,000
Well, alright, let's try.

6
00:00:22,000 --> 00:00:27,000
Blender. Of course, it doesn't necessarily have to be a black-and-white image.

7
00:00:27,000 --> 00:00:30,000
Here, for example, I have my photo

8
00:00:30,000 --> 00:00:33,000
which this script generates.

9
00:00:33,000 --> 00:00:36,000
In this case, plane, plane, plane.

10
00:00:36,000 --> 00:00:39,000
It's just me, but okay.

11
00:00:39,000 --> 00:00:42,000
Let's go back to this QR code maybe.

12
00:00:42,000 --> 00:00:47,000
Ok, so we're really just going to the scripting tab.

13
00:00:47,000 --> 00:00:51,000
This is the script, it's not too long, it works on B/W photos,

14
00:00:51,000 --> 00:00:54,000
but the same for color photos, whatever.

15
00:00:54,000 --> 00:00:57,000
I'll share this file for download in the description.

16
00:00:57,000 --> 00:01:02,000
We're only interested in the name of the image, which we will load into Blender.

17
00:01:02,000 --> 00:01:08,000
So as you can see here, I refer to this instance, to this image.

18
00:01:08,000 --> 00:01:10,000
And that's basically it.

19
00:01:10,000 --> 00:01:15,000
Everything I provide, let's take it for the resolution of our image.

20
00:01:15,000 --> 00:01:18,000
We run the script (Alt+P).

21
00:01:18,000 --> 00:01:21,000
This will probably take a while.

22
00:01:21,000 --> 00:01:24,000
Here we have a somewhat trimmed QR code,

23
00:01:24,000 --> 00:01:27,000
because here it's probably 25 pixels by 25 pixels.

24
00:01:27,000 --> 00:01:30,000
In any case, a QR-codes collection is created

25
00:01:30,000 --> 00:01:33,000
and here are all our plans.

26
00:01:33,000 --> 00:01:35,000
Plane, plane, plane, plane.

27
00:01:35,000 --> 00:01:38,000
Of course, we can then combine them, create one object,

28
00:01:38,000 --> 00:01:41,000
pull it out, make some solid.

29
00:01:41,000 --> 00:01:44,000
Maybe I'll run it again, 25 by 25.

30
00:01:44,000 --> 00:01:47,000
Of course, at the moment of running, the entire collection is deleted

31
00:01:47,000 --> 00:01:49,000
and created a new one,

32
00:01:49,000 --> 00:01:52,000
so all the lights, camera settings remain.

33
00:01:52,000 --> 00:01:55,000
There's no problem with that :)

34
00:01:55,000 --> 00:01:58,000
We'll wait a bit and I'll try to add text shortly.

35
00:01:58,000 --> 00:02:01,000
Subtitles, I believe it's called,

36
00:02:01,000 --> 00:02:04,000
I've never done this before.

37
00:02:04,000 --> 00:02:07,000
I will also try to describe this in English.

38
00:02:07,000 --> 00:02:10,000
For starters, it should be a short tutorial,

39
00:02:10,000 --> 00:02:13,000
because I don't know how long it will take me.

40
00:02:13,000 --> 00:02:16,000
Come on. It takes a while.

41
00:02:17,000 --> 00:02:20,000
And we have our QR code.

42
00:02:20,000 --> 00:02:23,000
Basically, this is our parameter

43
00:02:23,000 --> 00:02:26,000
and this other parameter.

44
00:02:26,000 --> 00:02:29,000
There could also be a margin.

45
00:02:29,000 --> 00:02:32,000
It could be: 1,1. I'll leave it like this for now.

46
00:02:32,000 --> 00:02:35,000
I'll record this file and share it

47
00:02:35,000 --> 00:02:38,000
and have fun :)