Realtime Surfaced 3D Cube

Install Java to view this project right on your browser!

user_icon wwjd3 shared it 9 months, 2 weeks ago
user_icon Based on wwjd3's project
616 views, 4 taggers, 44 people love it, 1 remix by 1 person, 140 downloads, in 8 galleries
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
Sanfranboy Sanfranboy 11 minutes ago

unreal

Markyparky Markyparky 4 days, 18 hours ago

Not even in turbo!

integrated integrated 1 week, 5 days ago

nice

Markyparky Markyparky 1 week, 5 days ago

Amazing

amcerbu amcerbu 3 weeks, 1 day ago

I just ran across this again after a few months. Do you think the pen colors could be altered to "shade" faces that are reflecting light less directly?

bestvitalic2 bestvitalic2 3 weeks, 2 days ago

Interesting project wow :O!

WO997 WO997 4 weeks, 1 day ago

That's the best program I've ever seen! Make a speed of rotate :)

MoonheartMandy MoonheartMandy 2 months, 2 weeks ago

:( why won't it let me download???nvm...*sigh* btw nice project!!

Uniguy Uniguy 3 months, 4 weeks ago

Sweet!

Okidokey Okidokey 4 months, 1 week ago

Hmm.. I thought it was by Atomicbawn...!

wwjd3 wwjd3 4 months, 1 week ago

Nope, I made this a while ago, on my own :p

(view all replies)
amcerbu amcerbu 4 months, 2 weeks ago

Well done! The loop delay in Scratch is killing me! Lol: "COME AT ME BRO"

wwjd3 wwjd3 4 months, 2 weeks ago

Thanks! Yeah, the loop delay is sure a problem; I hope they make an atomic forever block in scratch 2.0!

(view all replies)
s_federici s_federici 5 months, 3 weeks ago

"E' BBellissimo" (this is FFantastic) said my 8-years-old son :-)

wwjd3 wwjd3 5 months, 3 weeks ago

Tell him, "Vi ringrazio molto per il vostro complemento!" (I used Google Translate!)

(view all replies)
skeletonxf skeletonxf 6 months ago

wow

nknknk nknknk 6 months, 1 week ago

i looked at your octohedron (cant spell) and cube wire frame project and simplified it to just a cube, and couldn't tell how the corner equations quite worked out, even when i wrote it our on paper (it's easer for me to see it that way)

wwjd3 wwjd3 6 months, 1 week ago

It's pretty complicated stuff... I wrote that back in 7th grade so I can't really remember what I did anymore haha! I don't feel like going back and figuring it out xD

nknknk nknknk 6 months, 2 weeks ago

make a project where it asks for the (x,y,z) of a slider value set of points and it creates it in a wire frame and you can drag it around

nknknk nknknk 6 months, 2 weeks ago

if you get a face looked at strait on, it disapears. but that probably could be fixed, i mean, by the looks of it, you do pretty good

wwjd3 wwjd3 6 months, 2 weeks ago

I've never experienced that glitch as far as I can tell... make sure you run it in the java player online, it works better than the flash player. But thanks for your comments and input!

IVEgotMAIL IVEgotMAIL 6 months, 2 weeks ago

I downloaded this and you are a genius.

wwjd3 wwjd3 6 months, 2 weeks ago

Thanks! :D

mickster3000 mickster3000 6 months, 2 weeks ago

ohh, discovered a blind spot

mickster3000 mickster3000 6 months, 2 weeks ago

epic!!! BTW i know what W.W.J.D means

blob8108 blob8108 6 months, 4 weeks ago

I really like this! (:

wwjd3 wwjd3 6 months, 4 weeks ago

Thanks!

50max50 50max50 7 months ago

Meow! Meow! Meow! Meow! Meow!

50max50 50max50 7 months ago

meow

50max50 50max50 7 months ago

cat

321ido123 321ido123 7 months ago

EPIC!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow! Meow!

zubblewu zubblewu 8 months, 1 week ago

Rubiks cube XD

MasterofMonkeys MasterofMonkeys 8 months, 2 weeks ago

WOW.

Sidharth Sidharth 8 months, 3 weeks ago

Amazingly fast! Lov'd it and fav'd it!

wwjd3 wwjd3 8 months, 3 weeks ago

Thanks a ton!

DarthPickley DarthPickley 8 months, 3 weeks ago

really epic. but I suppose that you shade by the whole face not by the sub-faces, which means it isn't extendable to any non-solved conditions.

wwjd3 wwjd3 8 months, 3 weeks ago

Exactly. If I made it into a full cube (which I would have already done if Scratch could handle it) I'd shade each sticker, so it would take a little bit of rewriting but it wouldn't be too terrible...

(view all replies)
SuperUser SuperUser 8 months, 4 weeks ago

Can you mix it up, or is it just a rotational 3d thing?

wwjd3 wwjd3 8 months, 4 weeks ago

Sorry, at this point it just rotates...

(view all replies)
op12347 op12347 9 months ago

this is reallly cool

wwjd3 wwjd3 9 months ago

Thanks dude!

(view all replies)
miniluigi008 miniluigi008 9 months ago

I tilted it just so on the white side and the screen turned black. Are you aware of that glitch? (I'm online)

miniluigi008 miniluigi008 9 months ago

WOW! Just like a Rubix Cube.

wwjd3 wwjd3 9 months ago

Yeah, that's what I was going for!

loolo78 loolo78 9 months ago

if scratch only had costume x stretch and y stretch (like.. was it byob?), making these 3D figure with textures wouldn't be hard.

wwjd3 wwjd3 9 months ago

Yeah I'm pretty sure it's BYOB

loolo78 loolo78 9 months ago

*Caugh* typo farther

loolo78 loolo78 9 months ago

Epic, but the prospective 3d seems to be wrong, things further should be smaller, but instead, in your project, things further are larger.

wwjd3 wwjd3 9 months ago

Actually it has absolutely no 3D perspective, because that slows it down quite a bit, and it's just an illusion that the things farther away are larger, because you'd be expecting them to be smaller... if you get what I mean...

(view all replies)
DarkFusion DarkFusion 9 months ago

Epic man.

Qui-Gon-Joe Qui-Gon-Joe 9 months ago

This is REALLY GOOD! If you came out with an actual rubik's cube game, MAN WOULD YOU GET SO MANY LOVE ITS AND VIEWS!

eRKSToCK eRKSToCK 9 months, 1 week ago

great job :O

wwjd3 wwjd3 9 months, 1 week ago

Thanks :D

98devin 98devin 9 months, 2 weeks ago

This is really cool! The first textured truly 3d object in scratch! Can the textures be made in any resolution, or is there a set one? Also, could this technique be applied to a more complex shape?

wwjd3 wwjd3 9 months, 2 weeks ago

It would take some re-scripting to apply the textures to any resolution, so using this technique it's not possible to, for instance, create a slider variable for that. But by altering the algorithm it could theoretically be applied to any shape really...

(view all replies)
AtomicBawm3 AtomicBawm3 9 months, 2 weeks ago

This is amazing! And Aidan is right, there was one before, but it was nowhere near as good as this.

wwjd3 wwjd3 9 months, 2 weeks ago

Cool. Thanks! What's the project called?

(view all replies)
Aidan Aidan 9 months, 2 weeks ago

This isn't the "first of its kind", but it is definitely very good.

wwjd3 wwjd3 9 months, 2 weeks ago

Are you sure? I haven't seen any surfaced cubes yet, besides AddZero's kinda sketchy one :P

MasterofPower MasterofPower 9 months, 2 weeks ago

Love + Fav. Amazing!

joeylego joeylego 9 months, 2 weeks ago

Wow! This is amazing. The blue is kind of messed up though.

wwjd3 wwjd3 9 months, 2 weeks ago

Yeah a little, that's a glitch that only happens online though.

(view all replies)
eclown eclown 9 months, 2 weeks ago

This is the best 3d Ive ever seen! Good Job! Im gonna try to make a 3d game out of this!

wwjd3 wwjd3 9 months, 2 weeks ago

Thanks! Just PLEASE make sure you give credit for this!

(view all replies)
cygene cygene 9 months, 2 weeks ago

Interesting approach on making this, but it would be more flexible using a 3D array. The way I see it, it would almost be like a raycaster, except the camera plane is not a line, but a square, sending out rays into a 3D object. This way, you can render any 3D object, not just a cube. But, that would be very slow, and Scratch probably can't do it, though.

wwjd3 wwjd3 9 months, 2 weeks ago

Yeah, I'm focusing more on customizing methods for exact objects (such as cubes) than creating a 3D rendering program for any shape, and then I'm optimizing it for more speed, and the camera plane in this project seems to work best for cubes, though I have tried a few other things.

cygene cygene 9 months, 2 weeks ago

Cool

axorion axorion 9 months, 2 weeks ago

Wow! What could you do in turbo mode? If you could render 26 of these at once and do a bit more sorting, you would have a rubix cube.

wwjd3 wwjd3 9 months, 2 weeks ago

Hey check it out! I made it into a Rubik's cube by adding a few extra lines. Sadly you can't turn it or anything though...

wwjd3 wwjd3 9 months, 2 weeks ago

Yeah I'm trying to eventually work up to a full 3D rubik's cube, but Scratch can't seem to handle it (It crashes whenever the scripts become too long or the program is too large), and even if I could, it would likely exceed the upload limit for Scratch. :/ So I'm probably going to turn to Visual Basic or Java, which I intend to learn eventually...

for_the_kingdom for_the_kingdom 9 months, 2 weeks ago

you're a ginious!

for_the_kingdom for_the_kingdom 9 months, 2 weeks ago

I dont think that I spelled that right

(view all replies)
the_programmer the_programmer 9 months, 2 weeks ago

Awesome! Totally amazing! If you add perspective, would it fix the glitchyness in the edges that are almost perpendicular to your view.

wwjd3 wwjd3 9 months, 2 weeks ago

Nah, I'm not really working on anything, but I'm about to go away for a few days.

(view all replies)
wwjd3 wwjd3 9 months, 2 weeks ago

I'm probably not going to add perspective right now, because I would have to completely change a ton of rendering formulas, and that would complicate things, thus slowing down the calculations and rendering, so I'm trying to stay away from perspective rendering at the moment. . .

(view all replies)
wwjd3 wwjd3 9 months, 2 weeks ago

Yeah. Thanks! This was easier than I thought, I just had to employ a bit of an unintuitive method.

(view all replies)
Please Wait...