📄 svmarine.adf
字号:
// Vega Application Definition File
system {
notify debug;
cscheme 1;
mpmode 5;
appcpu -1;
apppri 50;
isectproc off;
isectcpu -1;
isectpri 40;
syscpu -1;
framerate 30;
phase free;
fperror off;
dbproc off;
dbcpu -1;
dbpri 49;
lpproc off;
preloadtex on;
preloadptex on;
sorttex off;
texpagesize -1;
exitkey 0;
vegapri 35;
dvmode 0;
remotestart off;
hwswap_buff_sync off;
multicast on;
inputenabled on;
numtrials 10;
drop_frames 0;
}
path {
pathname "$(PSI_DATA)/VgMarine";
pathname "$(PSI_SAMPLE_DATA)/VgMarine";
pathname "$(PSI_DATA)/VgSp/mat";
}
channel Default {
window Default;
viewport 0 1 0 1;
skew 0 0 0 0 0 0;
nearfar 1 10000;
clear 1 1 0 0;
clearclr 0.3 0.5 1;
cullcpu -1;
cullpri 51;
lpcpu -1;
lppri 52;
cullmode 0xF;
sorttype 0x8;
mainsort 0x0;
subsort 0x0;
dvrstate off;
dvrmode 2;
dvrfilter 0.8 0.95 1.5 10;
dvrsize 1280 1024;
dvrvchan 0;
stereobuf 0;
statlevel 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;
fov 45 -1;
}
gfx Default {
texture on;
lighting on;
fog on;
transparency on;
zbuffer on;
frontface on;
backface off;
wireframe off;
fade off;
faderange 100;
lodscale 1;
}
object tug {
file tug.flt;
convt 2;
cs 1;
optim 0x3;
isclass 0x0;
divisions 10;
upvol on;
parts off;
constrain on;
autorange -1;
pos 0 0 0 0 0 0;
represent 0xFFFFFFFF;
immediate 1;
useprojection 0;
temp 0;
scale 1;
tflod_state off;
tflod_depth 1;
complete on;
sv_enable on;
sv_options 0 8;
sv_temp 300;
sv_lpointtemp 1173;
sv_defmaterial "Off_White_On_Metal.mtl";
}
object "bow wave" {
file tugbow.vega.flt;
convt 2;
cs 1;
optim 0x3;
divisions 10;
upvol on;
parts off;
constrain on;
autorange -1;
pos 0 0 0 0 0 0;
represent 0xFFFFFFFF;
immediate 1;
useprojection 0;
temp 0;
scale 1;
tflod_state off;
tflod_depth 1;
complete on;
sv_enable off;
isclass 0x0;
}
navigator navigator {
state on;
file ship.nav;
path path;
}
pathing path {
file ship.path;
csref 0;
}
player tug {
type 0;
state on;
classnum 0;
represent 0xFFFFFFFF;
team 0;
csref 0;
position 0 0 0;
euler 0 0 0;
tether 1;
navstate on;
objname tug 0 0 0;
navname navigator;
}
observer Default {
channel Default;
scene Default;
gfx Default;
env Default;
motion Default;
state 1;
tether 1 1;
tfollow 100 0.1;
toffset 0 0 0;
tspin 100 0.5 20;
stressstate off;
stressparam 0.5 0.7 0.1;
stereosep 0.05;
stereorng 30;
cloak off;
share 0x7;
lookat 0;
position 0 0 0;
euler 0 0 0;
tfixed 0 -20 0 0 0 0;
fovaspectlodmng on;
}
scene Default {
optim 0x0;
object tug;
marinefxname "bow wave";
}
window Default {
screen 0;
winsize 300 979 200 823;
border on;
cursor on;
cullthreads -1;
lpthreads -1;
label "";
intro "/usr/local/PSI/demo/mpi.rgba";
introclr 0 0 0;
input on;
async off;
mouseio 0;
cbits 12;
alphabits 12;
accumcbits 25;
accumalphabits 25;
zbits 24;
samples 8;
aa on;
stencil 0;
stereo off;
bufmode 0;
iocpu -1;
iopri 39;
drawcpu -1;
drawpri 52;
pbuffer off;
hostname "";
path "";
}
motion Default {
inputobject Default;
model 102;
state off;
position 0 -300 100 0 -10 0;
radius 10;
scale 1 1;
gas 1;
brake 1;
wheel 1;
velocity 200;
region -500 -500 500 500;
fixedtime on;
}
env Default {
lightsrc Default;
state on;
skycolor 0.3 0.5 1;
fogstate enable;
rampval 0 0;
viscolor 0.3 0.5 1;
visrng 1 20000;
vistype 1;
visfunc 2;
tod 1;
localviewer off;
globalambient 0 0 0;
tod_ambient on;
lmdltwosides off;
envfxname ephemeris;
}
envfx ephemeris {
state on;
type 4;
color 1 1 1;
trans_override 0;
date 07301996;
utcoffset -8;
starttime 8;
timemult 1;
recalctime 0;
posspec 1;
position 36 -121;
twilightdip -18;
moonbright 0.25;
}
light Default {
type 3;
state on;
twoside 0;
position 0.707 0.707 0;
ambient 0.3 0.3 0.3;
tod_ambient on;
diffuse 1 1 1;
attn 1 0 0;
}
isector isector {
state on;
render off;
update 1;
zoffset 0;
minz -50000;
maxz 50000;
mask 0xFFFFFFFF;
results 0x3;
xform on;
los 50000;
scene Default;
}
dbm {
dborigin 0 0 0;
dbshape 0;
sv_dbase flir.mat;
sv_tempmode 1;
sv_temprange 200 1500;
sv_tempproc -1 30;
sv_texformat 0;
sv_radtexlookup off;
}
input Default {
devicetype 1;
devicefile "/dev/ttyd2";
calibtype 2;
XYZscale 1 1 1;
HPRscale 1 1 1;
calfile "";
state on;
async 0;
}
ocean ocean {
state on;
dynamic_state on;
type 3;
color 0.5 0.74 1;
wave_heading 0;
amplitude_scale 0.1125;
seastate 1;
wavetexname seastate6.int;
wave_tex_tile 80 40;
wave_motion_factor 0.025;
static_radius 5000;
tide_height 0;
cpu -1;
priority 49;
wavedetailtexname wavedetail.int;
meshradius 250;
meshrows 50;
meshcols 50;
seastatetex seastate1.int seastate6.int seastate4.int seastate4.int seastate6.int seastate2.int;
transition_time 0;
center 2;
trchwave_omega 0.759 0.861 0.936 1.008 1.183 0 0 0 0 0;
trchwave_ang 1.651 2.942 4.818 6.012 1.93 0 0 0 0 0;
trchwave_h 0.1 -1.4 0.712 -0.43 0 0 0 0 0 0;
trchwave_amp 1.74 1.83 2.33 2.06 1.59 0 0 0 0 0;
trchwaveperiod 5 5.5 6.5 7 8 9;
trchwaveheight 4 6 11 15 19 24;
nrmcalc 2;
complete on;
static_state on;
wavetextype 1;
waveenvmap 0;
depthfx 0;
wavedepthfile "";
lightingfx 0;
isclass 0xFFFFFFFF;
deep 1 -20;
depthcolors 0.1 1 0.8 0 0;
vertexdensity 0.5;
sv_enable on;
sv_options 0;
sv_defmaterial Water.mtl;
observer Default;
marinefxname "bow wave";
sv_temp 300;
}
marinefx "bow wave" {
state on;
type 4;
pos_type 1;
pos_ref_1 2;
pos_1 0 13.5 0 0 0 0;
complete on;
sv_enable on;
sv_options 0;
sv_defmaterial Water.mtl;
bowwavetype 0;
bowwavecolor 1 1 1;
bowwavetexname bwave.inta;
bowwavedtheta 50 0;
bowwavevelcomp on;
ref_plyr_1 tug;
bowwaveobj "bow wave";
sv_temp 300;
}
svsensor sensor {
atmstate 1;
specband 1;
localviewer 0;
solution 3;
specfrac on;
component 0x3F;
blackhot off;
gain 1;
offset 0;
color 1 1 1;
override 0x200;
isector isector;
convfact 1500;
observer Default;
obsaz 0;
obsel 0;
obsrange 1000;
solaraz 0;
solarel 0;
solarrad 0;
skyrad 0;
pathrad 0;
pathden 100000;
}
application Default {
fname "./svmarine";
appargs "$ADF";
}
adfstate {
module Vega 3.5;
module "Vega Marine" 3.2;
module Base 3.2;
module "Special Effect" 3.5;
module SensorVision 3.5;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -