Hello! Welcome to the 3D Place in the forums. If you want to go to the 3D Place gallery, click here: http://scratch.mit.edu/galleries/view/81044. The 3D Place gallery is where I put all my 3D Projects, anything to do with 3D at all. The 3D Place in the forums is where we can discuss 3D stuff, and learn how to manage it in Scratch.
I have two tutorials for you to look at...
Tutorial 1 - http://scratch.mit.edu/projects/HumanLight/1040189
Tutorial 2 - http://scratch.mit.edu/projects/HumanLight/1042833
Soon, I will add more tutorials. This is only if I can find a 3D subject to choose for the tutorial. Now let's talk about 3D.
Everyone in Scratch used to think that 3D making in the Scratch game engine was impossible, up until recently. Some geniuses discovered how to create a 3D rotating sprite fast and easy, without using a list of costumes for each angle. They only used one. These geniuses mastered 3D and began creating tutorials for others, who mastered it and made more and so on. I eventually stumbled upon a tutorial and my Scratch life was never the same again...I became 3D mastermind and made loads of 3D projects, and inevitably, tutorials.
Now I shall teach you how to do 3D
It's not hard. All you have to do is a make the top face of the shape you intend to 3Dify. Once you have done this, you make the script:
When green flag clicked:
Forever
go to x: o y: o
clear
rotate by 5 degrees
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
And that's it!
But the sprite get's all messed up in normal or small screen, you have to view it online or in preview mode to see it properly and happily. Now if you wanted to make different layers, you'd have to make one costume for the bottom layer, another for the next highest layer and so on. If there is ten costumes, the 10th costume shall be the highest and 10th layer up, same with any number. Here is an example of a layered model: http://scratch.mit.edu/projects/HumanLight/1050884. This table uses two layers, the legs and the base.
The script for that is this:
When green flag clicked:
Forever
go to x: o y: o
clear
rotate by 5 degrees
switch to costume: bottom layer
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
switch to costume: middle layer
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
switch to costume: top layer
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
You can make more of these:
switch to costume: layer
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
stamp
change y by 1
For more layers!
Another aspect close to the 3D Family is perspective. Perspective is the Z angle, for it is forwards and backwards. The Y angle is up and down as the X angle is left and right. Unfortunately, the Z angle block is not in Scratch. So, perspective has to be formed using costumes. Here's an example of a perspective/z angle project: Perspective - http://scratch.mit.edu/projects/HumanLight/1052938. I got the pictures from google sketchup. I took a snapshot at one end of the track, moved a bit forward and took another snapshot, then I moved a bit more forward and took a third snapshot. I imported all of the snapshots into scratch and made the script:
when green flag clicked
forever
wait 0.09 seconds
next costume
It's quite easy. It look's as if you are moving across the track and more track is heading towards you, and it looks like it is getting bigger as you move.
Well, it's time to go now and my fingers are aching. So I hope this helped and you enjoyed reading it, and I hope to release more soon. Bye!
HumanLight
Offline
Why not just a repeat block?
Offline
I guess....but 3D on scratch is pretty advanced
Offline
HumanLight wrote:
I guess....but 3D on scratch is pretty advanced
The topic maybe, but this isn't discussing 3D, its more of an advert to me, thus Show and tell.
Offline