how to draw a 3d cube?

Andy Turner's icon

can anyone help me understand how to create a 3d cube in max 6? i thought it would be good for creating 3d objects, but the tutorials are not updated for jitter in max 6. i have no 3d knowledge, and expected to begin with max 6 (not..use other software to begin).

can anyone help me out? is it straight open gl code, or can i use the html 5 canvas element, or where do i begin, from a bottom-up approach.

thanks so much for any help you can give.

Wesley Smith's icon
Max Patch
Copy patch and select New From Clipboard in Max.

You'll want to look at the OpenGL tutorials. jit.gl.gridshape is want you want for basic shapes:

Andy Turner's icon

cool, thank you.

do you mean these? or are there other ones that you mean?

Jitter Tutorial 40 - Drawing in OpenGL using jit.gl.sketch
Jitter Tutorial 41 - Shaders
Jitter Tutorial 42 - Slabs and Data Processing on the GPU
Jitter Tutorial 43 - A Slab of Your Very Own
Jitter Tutorial 44 - Flash Interactivity

Christopher Dobrian's icon

I suggest starting with Jitter Tutorial 30. Even though it doesn't appear to be about drawing a 3D cube precisely, in fact that's where the discussion of Open GL starts, and if you work through a few tutorials starting at 30 you'll be drawing cubes in no time. Of course, if you haven't done any of the Max or Jitter tutorials at all, you might want to start farther back than Jitter Tutorial 30. :)