3D Theory - Box

To see this start up the program and load this file

Click on the box icon in the left hand tree, you should then see something like the following:

To illustrate the use of vectors you can change the size of the box.

Just like with a 2D program you can change the dimensions of the box: To do this change the values in the size box at the bottom, the 3 numbers indicate width, height and depth in that order.

For instance change the width from 0.5 to 0.2 and see the effect:

Or change the depth from 0.5 to 3:

Later we will see how to change its position, and also to do this graphically by dragging the object in the left hand window.


metadata block
see also:

 

Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

cover Covers VRML 2 (but not the upcoming X3D standard). A good introduction to all VRML2 node types and how to build them.

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to this site, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

 

cover Dark Basic Professional Edition - It is better to get this professional edition

cover This is a version of basic designed for building games, for example to rotate a cube you might do the following:
make object cube 1,100
for x=1 to 360
rotate object 1,x,x,0
next x

cover Game Programming with Darkbasic - book for above software

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2017 Martin John Baker - All rights reserved - privacy policy.