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

#1 2012-04-03 16:02:12

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Wireframe

Does anyone know how to make a 3d wireframe project that renders an object, then adds faces between edges and vertices? I was thinking that if this is possible, then a full 3d game in Scratch might be possible.


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#2 2012-04-03 21:08:22

LiquidMetal
Scratcher
Registered: 2011-06-15
Posts: 500+

Re: Wireframe

Hardmath123 made a wire-frame outline project recently.  It draws the outline of the  "S" from the scratch logo.  It ONLY works in the flash player on TURBO speed - which means it does not work in the java player, offline, or in the normal flash player.  If you were to add the faces, it would be even slower...

In my opinion, that makes it not currently possible o make real 3d games in scratch.

Last edited by LiquidMetal (2012-04-03 21:08:57)

Offline

 

#3 2012-04-03 21:13:58

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: Wireframe

Adding faces is much more difficult than a wire frame.  The two things I can think of off hand that you'd need in addition to a wire frame (I'm close to a working wire frame myself actually) are these:

a) filling in the faces, presumably with pen (very slow)
b) finding out which faces are in front of each other

Edit: what would be more feasible is, if you're using squares, crisscrossing each square.  While still a wire frame, it does make it appear more surface-like.

Last edited by MoreGamesNow (2012-04-03 21:15:04)


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#4 2012-04-04 01:30:27

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Wireframe

I've made a simple working wireframe model here. I'm working on version 2 with filled faces, stay tuned!


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#5 2012-04-04 17:21:35

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: Wireframe

Hardmath123 wrote:

I've made a simple working wireframe model here. I'm working on version 2 with filled faces, stay tuned!

Real-time?  Regardless, that sounds really neat!  I'll stay tuned  smile


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#6 2012-04-05 01:38:49

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Wireframe

Almost done! I can now draw a filled cube in real time! Now working on a compiler. This is really exciting.  big_smile


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#7 2012-04-05 14:38:12

scratchisthebest
Scratcher
Registered: 2009-02-08
Posts: 500+

Re: Wireframe

Hardmath123 wrote:

Almost done! I can now draw a filled cube in real time! Now working on a compiler. This is really exciting.  big_smile

Wow! That sounds great! Yay!  smile   smile   smile   smile   smile


bye 1.4, we all loved you. but we all outgrew the site. 2.0 is a welcome change.
http://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.png

Offline

 

Board footer