This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-05-15 12:35:17

HumanLight
Scratcher
Registered: 2009-09-20
Posts: 44

3D Place

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  smile


HumanLight
BRIEF NEWS: I am back from holiday! Now all of the Request Shops etc are open for business! The weekly newspaper shall come out tomorrow. Sorry it was a bit late, it's because I ended up having an extra 3 days of holiday!  smile

Offline

 

#2 2010-05-15 12:45:17

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: 3D Place

Why not just a repeat block?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#3 2010-05-15 13:00:13

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: 3D Place

markyparky56 wrote:

Why not just a repeat block?

Probably because of the awful delay.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#4 2010-05-15 13:15:12

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: 3D Place

er, is this really ment for advanced topics? it looks more like show and tell to me


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#5 2010-05-15 13:27:23

HumanLight
Scratcher
Registered: 2009-09-20
Posts: 44

Re: 3D Place

I guess....but 3D on scratch is pretty advanced


HumanLight
BRIEF NEWS: I am back from holiday! Now all of the Request Shops etc are open for business! The weekly newspaper shall come out tomorrow. Sorry it was a bit late, it's because I ended up having an extra 3 days of holiday!  smile

Offline

 

#6 2010-05-15 13:28:27

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: 3D Place

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.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

Board footer