Online Tutorial - Example usage of complete 3d scenes created in 3D Studio / 3D Studio MAX


Objectives Learning the basic principles working with 3d graphics in Stratum 2000
Files preparation Stratum 2000 can read *.3ds files created in Autodesk 3D Studio program. When using other software products - e.g. 3D Studio MAX, you should save your data in the 3ds format. For 3D Studio MAX choose Export in the menu File.
Loading files in Stratum 2000 There are three ways that you can use in order to load the 3ds file in Stratum 2000
  1. Choose Open in the menu File … Then in the File of òóðå... list   choose: All known formats or All files (*. *). In the list of files given select the 3ds file and press the Open button .
  2. Open the created vdr file or scheme space. Then press the Insert from file button . The dialogue of file choosing is open. In the File of òóðå... list  choose 3d studio files. Now in the given list of files select the 3ds file and press the Open button.
    open3ds.gif (3219 bytes)
  3. Besides you can select the necessary file in the Windows Explorer and position it on Stratum 2000 window: on free place - to create new file or on any open graphics space to insert the object.
Adjusting camera
position
After you have inserted the three-dimensional scene, the Stratum 2000 can look as follows:

3d001.gif (16525 bytes)

In order to change the viewpoint, to scale (etc) you should choose Edit 3d objects by mouse clicking the picture of three-dimensional scene and pressing the left mouse button. Now we are in the mode of editing three-dimensional objects. The three-dimensional graphics toolbar is available.

3d002.gif (8669 bytes)

Press the button button15.gif (187 bytes) to have a sight over the three-dimensional objects. Position the mouse poiter on the elements of the sight and move the mouse holding down the left mouse button. To remove the sight press the button button15.gif (187 bytes) once again 3d003.gif (12502 bytes)
To change the color of three-dimensional objects double click the mouse on them and select the color you need in the open dialogue. The picture you have got can look like the one on the left. 3d004.gif (13065 bytes)
Now it is time to save the file in the directory of your existing or assumed project. If you have not created the new project yet, do it just now. For this press the button button8.gif (188 bytes) (Fast creation of the new project). To save the file in the menu File choose Save active window or Save active windows as... you can do the same by pressing the button button16.gif (232 bytes). Let us assign the name 3d.vdr to the file.
Before saving quit from the editing three-dimensional objects mode. To quit simply click the mouse several times on the same list at a distance from the object.
It is necessary to assign the name to the projection of three-dimensional space. So double click the mouse on it and enter the name in the dialogue Properties of 2d object in the bookmark Origin in the field Name: 3dview, for instance.

 3d005.gif (576 bytes)

Later you can load and edit this file any time you want.

Connection of 3d objects to your project Open or create a new project in which directory the three - dimensional scene is saved. Insert the GraphicsSpace object. As contents of the window is read out from the file 3d.vdr (or as you have called it), let us set the variable FileName in 3d.vdr (or full path to the file).
The Projection3D object can create a new projection of three-dimensional space, but can also use already created and drawn one. For this, set in the ObjectName variable the name of already existing projection. In our case this is 3dview. Now let the project run and check up that number of three-dimensional space is not equal to 0 (variable hSpace3d for image Projection3D). Set the Control value (Projection3D object) in 6 to display  the complete three-dimensional object in the projection
Let the project run.

download project example


Back : Index : Forward

Trademarks & Copyright © 1998 Stratum Modeling Group.  Last modified on 6-January-1999.