it looks like a pentagon when the point is in the middle. i can't draw these normally, idk how you drew them with code. it is really annoying that bad code runs faster. good job love it
I adapted your code to work from a model instead (a list of vectors) - (link to project) - but it is painfully slow, even with only 20 vectors. Any ideas for a significant speedup? In a real programming language I'd switch to all integer fixed point, and a lookup table for sin/cos etc, but that wouldn't help here :-/
very nice!
BTW:- This is a cool illution, the way you see it is that it the back is at the back and the front is at the front. But if you imagine it as the back squeare at the front, the cude appears to be weird, out of shape ect. It is really cool!
Yo, try deleting half the vertices and adding textures instead? I mean, using variables and different sizes + math and sensors= a real time fully 3d game made entirely in scratch. Figure it out, delete half the vertices not visible in actual solid frame, and replace with texture and lamp effects. Enjoy my words of advice!
That would be way to slow in scratch. A 3d graphics engine needs to be written on a much lower level language. Scratch is built upon many lower level languages all leading down to binary. Every level up is slower but easier to use.
Wow this is amazing. i was a wiz at Trig in my younger days now I got to figure out how this works;=< Two questions for you: 1. Can you add other variables where we could specify x, y, and z in whole numbers? e.g. a 2x2x2 or a 2x2x1 rectangular prism? 2. Can you fill (color) the faces of the cube.
hmmm.... my curiosity is killing me. no bandwidth almost here.
how is this so quick? you can't even see the period of time when the line has been cleared...
1 sprite is for the cube itself, the other is just the origin (it just sets and changes variables). If felt like it, I could condense it down to truly 1 sprite.
No, I didn't. The two projects have completely different scripts, and I had never heard of the project before this. Also, the way in your project is kind of the only way to draw a cube (except for using triangles as polygons).
very nice! could you pleez try dirt biking madness! I think it's demonstrating what scratch is capable of at it's max! it's going to be great once done! (link to project)
This is the same as my last rotating cube demo, except it uses only 1 sprite to draw the cube, with no flickering! In Scratch, "bad" coding is actually faster, as this project shows.
Comments
You need to be logged in to post comments
Add a Comment
I made a remix! It's faster, colorful, and reminds me of a screen saver:) (link to project)
1214 views! wow
thats not a cube
Then what is it?
wwwwwwwwwwwwwwwwwwooooooooooooooooooooooooooooowwwwwwwwwwwwwwwwwwwww !?!?!?!
if you rapidly change the size you get a cube inside a cube
it looks like a pentagon when the point is in the middle. i can't draw these normally, idk how you drew them with code. it is really annoying that bad code runs faster. good job love it
Hi S65! I remixed: (link to project) . I made it into a music visualizer, is that ok with you?
uh... it haz 2 sprites
it's kind of funny when you think that the cube is inverted, then it looks all distorted. then you realize that your brain was put in backwards
on flash it looks great
I swear you make stuff like this just to make the rest of us look bad. This (along with all your other projects) is awesome!
Ok!
Is that supposed to be an insult or complement?
(view all replies)it be cool if there was stuff in it and if u moved the box the stuff would move too!
1000th veiw :o!
It's 2 sprites.
That's what I was gonna say!
(view all replies)I adapted your code to work from a model instead (a list of vectors) - (link to project) - but it is painfully slow, even with only 20 vectors. Any ideas for a significant speedup? In a real programming language I'd switch to all integer fixed point, and a lookup table for sin/cos etc, but that wouldn't help here :-/
*ahem* "real programming language"? XD
(view all replies)oh nice- you got the perspective to work. All cube wireframe projects I have no perspective.
make other objects!
... but theres 2 sprites
very nice! BTW:- This is a cool illution, the way you see it is that it the back is at the back and the front is at the front. But if you imagine it as the back squeare at the front, the cude appears to be weird, out of shape ect. It is really cool!
lol, i did that by accident.
lol it took me a second to realize what you said and you are right
could we use this same rendering to say load a level?
You really have a talent. When I get some time. Will try and see if I can color the surfaces. Got any ideas anyone?
you must have had a lot of time on your hands
omg! l0ve it!
Nice 3-d project!
maybe it will go faster if you make one sprite for each of the corners!
Yo, try deleting half the vertices and adding textures instead? I mean, using variables and different sizes + math and sensors= a real time fully 3d game made entirely in scratch. Figure it out, delete half the vertices not visible in actual solid frame, and replace with texture and lamp effects. Enjoy my words of advice!
That would be way to slow in scratch. A 3d graphics engine needs to be written on a much lower level language. Scratch is built upon many lower level languages all leading down to binary. Every level up is slower but easier to use.
hey, can I use this for a game I'm making? I'll make sure to give you credit!
it says 2 sprites
It says two because of the instructions on top!
(view all replies)i have been trying to find a real 3d cube program and this one work!!! good job S65
DUDE!!!
why is there no 3D games yet? theres enough here on scratch to allow for it...
KOOOOOOOOOOOL!!!
WOOW! COOL! ALOTO SCRIPTS!
Take a look at my two 3-D projects.
please deinfe "bad" :) it laggs a little...:/ that might be unavoidable.
how did you make this?
wow! Awesome 1 spriter
it would be even better if it was one sprite but still, it going on my favs. :P
false advertising, but still cool, it has two sprites, and i read the description
this is really great!! How did you make it??
Yayy!!! Now with the new version of scratch, you can make arrays! That means that you could have users specify a 3d model to draw! Awesome!
Great Project!
Wow this is amazing. i was a wiz at Trig in my younger days now I got to figure out how this works;=< Two questions for you: 1. Can you add other variables where we could specify x, y, and z in whole numbers? e.g. a 2x2x2 or a 2x2x1 rectangular prism? 2. Can you fill (color) the faces of the cube.
1. Yes, I could. 2. No, not in realtime at least.
(view all replies)Someone should write something on the optomization of scratch. Because scratch slugghish.
hmmm.... my curiosity is killing me. no bandwidth almost here. how is this so quick? you can't even see the period of time when the line has been cleared...
it only clears after the entire cube has been drawn, and then quickly draws the cube WITHOUT using repeat until's or loops (to make it superfast).
(view all replies)this is cool!
cool!!
cool
It says 2 sprites :(
1 sprite is for the cube itself, the other is just the origin (it just sets and changes variables). If felt like it, I could condense it down to truly 1 sprite.
(view all replies)wow this is amazing!!!
Incredibly smooth animation. Well done!
Amazing! I love it!
Sweet, but sometimes the shape gets distorted, anyways, I'm just being picky, awesome project!
copie Cat see how to draw 3D and youl see he copied me!
No, I didn't. The two projects have completely different scripts, and I had never heard of the project before this. Also, the way in your project is kind of the only way to draw a cube (except for using triangles as polygons).
(view all replies)AWESOME!!
but otherwise ******* amazing
ummm... it looks like it says 2 SPRITES!
only 1 is used to render the cube, though. The other is just the origin.
This is really impressive. And your tutorial in the forums is excellent. It will be interesting to see what people do with it.
um. never mind.
very nice! could you pleez try dirt biking madness! I think it's demonstrating what scratch is capable of at it's max! it's going to be great once done! (link to project)