www.pudn.com > MyMFCVega.rar > vegawin.adf
// Vega Application Definition File
system {
notify fatal;
mpmode 0;
appcpu -1;
apppri 36;
isectcpu -1;
isectpri 36;
syscpu -1;
framerate 30;
phase free;
fperror off;
exitkey 0;
isectproc off;
dbproc off;
dbcpu -1;
dbpri 36;
preloadtex on;
preloadptex off;
texpagesize -1;
sorttex off;
cscheme 0;
vegaprocpri 49;
lpproc off;
tex_sub_ctrl_state on;
tex_sub_underload_gain 1;
tex_sub_overload_gain 1;
tex_sub_stats_level debug;
tex_sub_stats_period -1;
tex_sub_stats_flag 0x0;
vegapri 35;
dvmode 0;
remotestart off;
buffer_sync on;
multicast on;
inputenabled on;
numtrials 10;
drop_frames 0;
}
path {
pathname "$(PSI_SAMPLE_DATA)/Vega";
pathname "$(PSI_DATA)/Vega";
}
channel Default {
window Default;
viewport 0 1 0 1;
skew 0 0 0 0 0 0;
nearfar 1 20000;
clear 1 1 0 0;
clearclr 0.3 0.5 1;
fov 45 -1;
cullcpu -1;
cullpri 35;
cullmode 0xF;
sorttype 0x4;
mainsort 0x0;
subsort 0x0;
dvrstate off;
dvrmode 2;
dvrfilter 0.8 0.95 1.5 10;
dvrsize 1280 1024;
statlevel 0;
lpcpu -1;
lppri 35;
dvrvchan 0;
stereobuf 0;
obs_stereo 0;
average 0;
text_color 1 1 1;
text_text_width 20;
text_text_height 30;
text_label_width 20;
text_data_width 10;
graph_color 1 1 1;
graph_text_width 20;
graph_text_height 30;
graph_height 125;
graph_num_samples 100;
threshold_low_color 0 0 1;
threshold_medium_color 1 1 1;
threshold_hi_color 1 0 0;
}
gfx indigo {
texture on;
lighting on;
fog on;
transparency on;
zbuffer on;
backface off;
fade off;
faderange 100;
lodscale 1;
frontface on;
wireframe off;
}
object town {
file town.flt;
convt 2;
cs 0;
optim 0x0;
isclass 0xFFFFFFFF;
divisions 10;
upvol on;
parts off;
autorange -1;
pos 0 0 0 0 0 0;
represent 0x3;
immediate 1;
temp 0;
scale 1;
useprojection 0;
tflod_state off;
tflod_depth 1;
complete on;
constrain on;
}
observer Default {
channel Default;
scene Default;
state 1;
tether 1 0;
stressstate off;
stressparam 0.01 0.01 0.01;
stereosep 0.1;
stereorng 1000;
gfx indigo;
env local;
motion Default;
share 0x3;
lookat 0;
position 0 0 0;
euler 0 0 0;
tfollow 100 0.1;
toffset 0 0 0;
tspin 100 0.5 20;
tfixed 0 -20 0 0 0 0;
fovaspectlodmng on;
cloak off;
}
scene Default {
object town;
optim 0x0;
}
window Default {
screen 0;
winsize 0 639 0 479;
border on;
label "Press All Mouse Buttons to Reset";
intro vega.rgb;
input on;
async off;
cbits 8;
zbits 24;
samples 8;
aa off;
stencil 0;
stereo off;
bufmode 0;
iocpu -1;
iopri 52;
drawcpu -1;
drawpri 35;
cursor on;
cullthreads -1;
alphabits 4;
mouseio 0;
accumcbits 0;
accumalphabits 0;
lpthreads -1;
introclr 0 0 0;
pbuffer off;
hostname "";
path "";
}
motion Default {
model 101;
state on;
position 2500 2500 0 0 0 0;
radius 10;
scale 1 1;
gas 4;
brake 3.5;
wheel 2.2;
velocity 2;
region -500 -500 500 500;
isector bump;
fixedtime on;
}
env local {
state on;
skycolor 0.3 0.5 1;
viscolor 0.3 0.5 1;
visrng 5000 20000;
vistype 0;
visfunc 0;
tod 0.92;
lightsrc Default;
fogstate enable;
rampval 0 0;
localviewer off;
globalambient 0 0 0;
tod_ambient on;
lmdltwosides off;
}
light Default {
type 3;
state on;
twoside 0;
ambient 0.823223 1 0.976046;
diffuse 0.51 0.59 0.65;
attn 1 0 0;
position 0 -100 1000;
tod_ambient on;
}
isector bump {
state on;
render off;
update 1;
zoffset 2.5;
minz -50000;
maxz 50000;
mask 0xFFFFFFFF;
results 0x1;
scene Default;
tripod 3 4;
xform on;
}
dbm {
dborigin 0 0 0;
dbshape 0;
}
application Default {
fname "$(PSI_VEGA)\Sample\Vega\pguide\ch09\usermm.exe";
appargs "$ADF";
}
adfstate {
module Vega 3.5;
module Base 3.2;
}