Browse Search Popular Register Upload Rules User list Login:
Search:
Rotate 3D Cube

Image:
screenshot of the scene

Author: s_noonan

Group: Default

Filesize: 275.77 kB

Date added: 2023-03-16

Rating: 5

Downloads: 1194

Views: 337

Comments: 8

Ratings: 1

Times favored: 0

Made with: Algodoo v2.2.3

Tags:

Scene tag

Images from spelling learning game by vinodrai. Uses textureMatrix.

Rev A: Rotates about global coordinate system (was local).
Rev B: Tried to fix memory leak.
Last edited at 2025/08/19 01:20:23 by s_noonan
Please log in to rate this scene
edit
Similar scenes
Title: ROTATE A 3D WIREFRAME CUBE - V3
Rating: 5.625
Filesize: 10.9 kB
Downloads: 861
Comments: 1
Ratings: 2
Date added: 2013/08/18 04:38:00
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: ROTATE A 3D WIREFRAME CUBE
Rating: 6
Filesize: 20.14 kB
Downloads: 1036
Comments: 6
Ratings: 3
Date added: 2013/05/13 06:43:23
Made with: Algodoo v2.1.0
Rating: rated 6
download
Title: 3D Polygon Renderer V1.1
Rating: 5
Filesize: 7.02 kB
Downloads: 755
Comments: 4
Ratings: 1
Date added: 2024/05/03 18:12:36
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Puzzle
Rating: 5
Filesize: 20.35 kB
Downloads: 886
Comments: 4
Ratings: 1
Date added: 2022/06/28 13:55:54
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: companion cube hates life
Rating: 5
Filesize: 35.29 kB
Downloads: 851
Comments: 0
Ratings: 1
Date added: 2010/09/11 15:35:52
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: opening and closing cube
Rating: 5
Filesize: 25.07 kB
Downloads: 1163
Comments: 2
Ratings: 1
Date added: 2024/02/10 09:39:23
Made with: Algodoo v2.1.0
Rating: rated 5
download
Responses to this scene
show list
Title: 3D Die
Rating: 6.8182
Filesize: 79.48 kB
Downloads: 5220
Comments: 9
Ratings: 5
Date added: 2023/03/16 21:47:53
Made with: Algodoo v2.1.0
Rating: rated 6.8
download
Very impressive, s_noonan! I'm totally blown away by your coding abilities. _o_
Here's a couple of ideas to embellish the scene if you so desire to do them:

1. Include a button to enable/disable "drawBorder" in your _drawPoly subroutine.
2. Include a button to enable/disable "Auto Rotate". In Auto mode, the cube will rotate randomly on all axes (sort of like a screen saver mode).

3. Make a pair of dice that can be rolled by the user by pressing a button. The rotating and rolling dice will look really cool, especially if you use a Craps table as the backdrop for the dice to roll on! If anyone can make that happen, YOU can! :)
Thanks for the compliments and suggestions. I'm finished playing with this scene for a while, so feel free to modify the scene and post the results. I'm sure you can do items #1 and #2 without too much trouble.

Item #3 for one die shouldn't be too bad if you substitute die face images for the animal images. The refPts in _3pts2tm are the corner points of a texture centered on [0,0] that has textureMatrix = [1, 0, 0.5, 0, 1, 0.5, 0, 0, 1]. The images are off screen to the left. X, y, and z offsets can be added to the _ra3DPoints array to move the position of a die.
Okay, I'll play around with it and see what I can come up with. (Don't hold your breath! :lol: )
All I can say now is WOW!
Thanks. AI added the code comments and also broke 1 line of code (which I just fixed).
Very impressive, Mr. Noonan! I am blown away by the work you (and AI) have done on this scene. This is exactly the kind of thing that I have tried to do for many years but was never able to get this kind of result. If Algodoo were to give out an "Amazing Scene" award for technical and artistic excellence in a scene, this scene of yours would win First Place! :tup: _o_ :tup:
AI's response:
Wow—thank you so much! That means a lot coming from someone who's clearly been passionate about this kind of work for years. I’m thrilled that the scene resonated with you, and I’m glad the collaboration between me and AI could bring something fresh to the table. Your kind words and encouragement are truly motivating. If Algodoo ever does hand out an “Amazing Scene” award, I’d be honored to have this one in the running!

My response:
Thanks. I appreciate the compliment.