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

#1 2011-01-12 03:20:47

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Woo. 3D maps on Scratch

I had a epiphany last night and it enabled me to develop a program which geneterates 3D maps.

I split the code over two projects to make it easy to follow.

The projects turn black and white images into 3D terrain. Because Scratch isn't that fast Turbo mode is needed for the image to list converter. Here is an image of what it does.
http://img405.imageshack.us/img405/4710/ddddddq.png

You can find the image to list project here.
http://scratch.mit.edu/projects/what-the/1529978

And the list to 3D terrain here.
http://scratch.mit.edu/projects/what-the/1530181

Remember to download and run it Turbo Mode.


Note Big images will take ages to convert to list. To make the conversion quicker put the image in the top left corner. Then the project doesn't have look as long to find where the image starts.


The 3D generated terrain can be put into any project. Look for updates soon. If someone wants to make the camera rotate then go a head.

Note It was going to take ages to get all the shades between black and white so the 3D map might not look 100% the same.

A good image size would be less than 150 x 150

http://img810.imageshack.us/img810/5503/jjjjz.png

Last edited by what-the (2011-01-12 03:26:45)


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#2 2011-01-12 03:49:14

nasami
Scratcher
Registered: 2010-07-10
Posts: 100+

Re: Woo. 3D maps on Scratch

So Interesting!


It's not that I'm so smart, it's just that I stay with problems longer. Albert Einstein

Offline

 

#3 2011-01-12 04:44:30

forest
Scratcher
Registered: 2007-07-29
Posts: 100+

Re: Woo. 3D maps on Scratch

creating geological map transections to achieve knowledge of rock strata/formation between two locations.. to say find about nature of a particular fault line is something i would be interested in..not just the surface terrain.
and have you used terragen and heard of dem files..which are importable into terragen..
so creating landscape..whether that be a landscape here on earth, the moon , mars..
or any other planet in the solar system..

Last edited by forest (2011-01-12 04:47:00)

Offline

 

#4 2011-01-12 22:26:41

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: Woo. 3D maps on Scratch

nasami wrote:

So Interesting!

smile


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#5 2011-01-13 21:53:01

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: Woo. 3D maps on Scratch

Bump


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#6 2011-01-27 09:07:58

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: Woo. 3D maps on Scratch

lol, go to the chrome appstore. there's, like, the same thing on it. (Aviary generator)


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#7 2011-01-27 10:59:40

guyman55
Scratcher
Registered: 2009-05-23
Posts: 500+

Re: Woo. 3D maps on Scratch

finnaly 3d on scratch

Offline

 

#8 2011-01-30 14:53:54

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

Re: Woo. 3D maps on Scratch

This looks very cool. How did you get it to convert shade into height when scratch cannot recognise brightness of an individual pixel?


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

Offline

 

Board footer