The executable of Ayam is located in the directory named "bin"
.
You do not need to install Ayam in the system, you can start it
directly with a double click from where you unpacked the archive.
If you get error messages about input or output file handles
when trying to render directly from Ayam, please use the
accompanying batch file "ayam.bat"
to start Ayam.
Before you start modelling with Ayam, the following three things have to be done:
"Edit/Preferences"
) are
automatically saved when you leave Ayam."$(HOME)/ayamrc"
if the environment variable
"HOME"
exists"$(TEMP)/ayamrc"
else.
The following steps need to be done if you (for some reason)
do not like it that way, or the preferences end up in silly
places (e.g. Win95 is setting your $(HOME) to "C:/"
, so that
the preferences end up in "C:/ayamrc"
...).
However, if anything is fine with you, just skip to Step 2 now.
You can change the path and filename of the preference settings
using the environment variable "AYAMRC"
.
How do you set an environment variable?
An easy way to do this is to edit the batch file "ayam.bat"
,
and use it to start Ayam (this route does not work on Windows-NT4!):
"ayam.bat"
"rem"
from the line
"rem SET AYAMRC=D:/Ayam/ayamrc"
"D:/Ayam/ayamrc"
to a more
appropriate setting; notice that the drive and the path you use already
have to exist, and that you should have write permissions to the path
that you choose
"ayam.bat"
"ayam.bat"
to start Ayam
"ayam.bat"
to start
Ayam in the future
"Start/Control Panel/System/Advanced/Environment Variables"
"AYAMRC"
and set it e.g. to
"D:/ayam/ayamrc"
;
notice that the drive and the path you use already have to exist,
and that you should have write permissions to the path that you choose
"Start/Settings/Control Panel/System/Environment"
"AYAMRC"
(On Win2000 you need to be administrator to be able to do this.)
and set it e.g. to "D:/ayam/ayamrc"
;
notice that the drive and the path you use already have to exist,
and that you should have write permissions to the path that you choose
"Run"
and enter "sysedit"
, then click "Ok"
.
Select the window that is displaying "AUTOEXEC.BAT"
.
Add the line"Start/Programs/Accessories/System Tools/System Information"
.
This brings up a window titled "Microsoft Help and Support"
.
From here, choose the "Tools"
menu, then select the
"System-Configuration"
utility. Click the
"Environment"
tab.
Add a new variable named "AYAMRC"
and set it e.g. to
"D:/ayam/ayamrc"
;
notice that the drive and the path you use already have to exist,
and that you should have write permissions to the path that you choose.
"Main/AutoSavePrefs"
.
If you switched off "AutoSavePrefs"
, you can enforce saving
of the preferences using the menu entry "File/Save Prefs"
.Remember: NEVER use backslashes (\) in any path or filename you enter to Ayam.
"slc"
from BMRT, so you should get and
install BMRT first."Main/Shaders"
.
Just open the preferences using the main menu entry
"Edit/Preferences"
,
enter the appropriate paths (separated by semicolons ";"
)
into the string entry labeled "Shaders"
."Scan Shaders"
button below and watch the
console for error messages.Remember: NEVER use backslashes (\) in any path or filename you enter to Ayam.
"Create/View"
."Special/Save Environment"
. This will save the environment
to the file given in the preference setting "Main/EnvFile"
.
The default setting is "~/2view.ay"
.
The tilde "~"
always expands to the home directory of the
current user. If you have a single or no user on your system you might want
to put an absolute path into the preference setting
"Main/EnvFile"
first (e.g. set it to
"D:/ayam/2view.ay"
).
Notice that the drive and the path you use already have to exist,
and that you should have write permissions.
"Main/LoadEnv"
,
as this would inhibit automatic loading of the working
environment on startup.
"File/New"
(provided that the
preference setting "Main/NewLoadsEnv"
is not switched off).
We are set.
Quit Ayam and start it again, check the console for errors; then
download "Tutorial #1"
and do it.