ScratchData LogoScratchData
Back to DadOfMrLog's profile

3D Framework v0.3 +demo (basic)

DADadOfMrLog•Created July 17, 2013
3D Framework v0.3 +demo (basic)
452
369
10354 views
View on Scratch

Instructions

LATEST VERSION: http://scratch.mit.edu/projects/16205373 ******************************************************************* This project provides the base for the 3d framework, and includes example scripts for a very simple demo. Use ARROW KEYS to rotate the currently chosen object. Hit SPACE to switch between objects. More :O demo: http://scratch.mit.edu/projects/11397100/

Description

SEE INSIDE to find out how the pretty simple control scripts allow quite complex-looking manipulation of the two objects, including the camera-view switching between them. Documentation for camera/structure control blocks is coming... Anyone out there with 'rotate-this-3d-shape' type projects of your own want to try recreating it (or similar) using this framework? Some hints where to look to find things: Look in the "Master Control" sprite to see the main control loop, and how the user object control is initiated at each frame. For the rotation of the objects, look in the "Structures" sprite (it's just a single custom block to make it rotate!) The "Camera" sprite shows how the view-switch happens (again, only a single custom block!) The "Setup Styles" sprite is where the colours are defined for the cube & pyramid surfaces. The "Setup Structures" sprite shows how the cube & pyramid are made from points and surfaces. The project includes script to create the same background objects (earth/moon/sun/stars/etc.) as found in the recent more complex 3d demo: http://scratch.mit.edu/projects/11397100 If you switch the stage to black, then go to the "Background Decor" sprite and switch on "Background Objects", and connect up the disconnected script, then you'll get all the stars and things from the previous demo (on a black background, if you remembered to switch the stage backdrop to black).

Project Details

Project ID11471613
CreatedJuly 17, 2013
Last ModifiedJanuary 6, 2014
SharedJuly 29, 2013
Visibilityvisible
CommentsAllowed