How to use my own textures
To use you own textures make a map in the texutres dir. Then put there the textures you want in the map and make a file with the filenames in it called 'texture.flz' and then go to the 3dnow.ini file in the root of the program and change the fourth line in the name of your map.
Back to index
How to change the screen mode of the program
The program supports all screen modes that are also supported by the future.lib. But to low resolutions or to high may cause mal function of the program. To change the resolution open the 3dnow.ini file located in the program root. Then change the first line in xresolution you want, then the second line in the y resolution and the 3th in de colordepth.
valid settings are for example:
800
600
16
This set te screen mode of the program to 800pixels by 600pixels and 16 bit color
Back to index
How to load files in my own program
To load file in your own program you have to specifie first the variables to store the data.
for example:
Type 3dtype
x as integer
y as integer
z as integer
End Type
Type polytype
p1 as integer
p2 as integer
p3 as integer
texture as integer
End type
Type objecttype
Startpoint as integer
EndPoint as integer
Objectname as string * 8
End Type
dim shared maxpoints as integer
dim shared maspolys as integer
dim shared maxobjects as integer
dim shared points(1000) as 3dtype
dim shared polys(1000) as polytype
dim shared objects(100) as objecttype
Then to load the file you need the followd code. You don't have to load the object data, but it can be useful.
Open File$ for input as #1
input #1, inline$
maxpoints = val(inline$)
for v% = 0 to maxpoints
input #1, inline$
points(v%).x = val(inline$)
input #1, inline$
points(v%).y = val(inline$)
input #1, inline$
points(v%).z = val(inline$)
next
input #1, inline$
maxpolys = val(inline$)
for v% = 0 to maxpolys
input #1, inline$
polys(v%).p1 = val(inline$)
input #1, inline$
polys(v%).p1 = val(inline$)
input #1, inline$
polys(v%).p1 = val(inline$)
next
input #1, inline$
maxobjects = val(inline$)
for v% = 0 to maxobjects
input #1, inline$
object(v%).Startpoint = val(inline$)
input #1, inline$
object(v%).EndPoint = val(inline$)
input #1, inline$
object(v%).naam = inline$
next
close #1
Back to index
How to draw an object?
To draw a object select the tab 'objects' in the right of your screen. Then fill in the size (width, heigth and depth) in the fields and fill in the detail field in how complex the object should be. Then just click on the button with the caption of the object you want to draw. Now a new object will appear in the edit screens.
Back to index
How to draw new points?
To draw new points select the draw tool and now you can draw new points in all the 2d edit screens by simply clicking on the right mouse button.
Back to index
How to change points and objects?
To change te location of an single point you need the modify tool . To move a point click ones on the point with the right mouse button. Now the piont moves with your mouse. When you have moved the point to the excact location you want you can drop the point by clicking on the left mousebutton.
Back to index
How to move an object?
To Move an object you have to select the move tool . To move an object, click ones on a point of the object you want to move with the right mouse button. Now the object moves with your mouse. When you have moved the object to the excact location you want you can drop the object by clicking on the left mousebutton.
Back to index
How to move an object?
To draw a poly you have to select the polygon tool . To draw a polygon, go to the 3d view, click on the point the polygon starts with the right mousebutton. Then select the second point of the poly and then the 3th one. Keep in mind that the polygons should be draw clock wise, else the polygon won't be draw or drawn on the wrong side.
Back to index
How to select a texture?
You can select a texture by selecting the 'texture' tab in the right of the screen and then just click on the texture you want.
Back to index
How to rotate an object
To rotate object in the 2d screens select the rotate tool and then click on a point of the object with your right mousebutton. Now you can rotate the object. When the object is in the good position click the left mousebutton. Now the object is rotated.
Back to index
How to change the texture of a polygon or delete the polgon
To delete a polygon go to the structure tab in the right of the screen and select it. Now a list of al polygons will appear. To browse to the list you can use the up and down button. To see witch polygon is a item in the list you can move your mouse over the list and the polygon that belongs to the item that you selected by moving you mouse over it will take a red color in the 3d screen. When you have found the polygon you want to delete in the te list you click on it and a pulldown menu will appear. Select delete and the polygon will be deleted. To change it texture select a texture in the texture tab, go back to the sructuretab and select to polygon, click on it and choose in the pulldown menu that appears the function 'set texture'. Now the polygon will get the new texture.
Back to index
How to move the camera in the 3d screen?
To move the camera in the 3d view: choose in the view menu 'move' and when you hold down a mouse button or bove the you can move the camera by moving the mouse. To rotate the camera select in the view menu 'rotate' and when you now hold down the mousebuttons and move the mouse over the 3d screen the camera will rotate.
Back to index
How to move the camera in the 2d screen?
To move the camera in the 2d screens. Put the mouse on it, then just drag the mouse over it by clicking the left mouse button. To zoom use left and right button at the same time and move the mouse.
Back to index
How to Save and load files?
To save and load just click on the buttons in the menu bar or choose save or load in the file menu.
Back to index
How to Import files?
Some times it can be handy to use your project as an object (for example: you have drawn a tree and want tu use it multiple times in a new project). To do this make first the object. Save it. Then you restart the program to start with a blank project. Now go to the objects tab and click on 'import file'. Now a you will be asked to type in a file in the input field. Fill in the file name (+ path) of the project you had saved. Click 'ok'. Now the old project will be loaded in you new one and will be seen as a single object by the program, all the separated objects in the old projects is now one object that can be moved and rotated.
Back to index