⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mytown.adf

📁 一个基础的vega调用代码
💻 ADF
字号:
// Vega Application Definition File

system {
	notify	warn;
	cscheme	0;
	mpmode	0;
	vegaprocpri	49;
	appcpu	-1;
	apppri	35;
	isectproc	off;
	isectcpu	-1;
	isectpri	36;
	syscpu	-1;
	framerate	30;
	phase	free;
	fperror	off;
	dbproc	off;
	dbcpu	-1;
	dbpri	35;
	lpproc	off;
	preloadtex	on;
	preloadptex	on;
	sorttex	off;
	texpagesize	-1;
	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;
	exitkey	0;
	vegapri	35;
	dvmode	0;
	remotestart	off;
	buffer_sync	on;
	multicast	on;
	inputenabled	on;
	numtrials	10;
	drop_frames	0;
	awnotify	warn;
	awmpmode	off;
	imgcpu	-1;
	imgpri	35;
	audioEnabled	on;
}


path {
	pathname	"./";
	pathname	"D:\Program Files\Paradigm\Vega\Sample\Data\Vega\";
}


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	35;
	lpcpu	-1;
	lppri	35;
	cullmode	0xF;
	sorttype	0x4;
	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;
	nsl_callig_state	off;
	nldc_gridtype	0;
	nldc_gridsize	25	25;
	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 town {
	file	town.flt;
	convt	1;
	cs	0;
	optim	0x3;
	isclass	0x0;
	divisions	10;
	upvol	on;
	parts	on;
	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;
	dis	on;
	recvEnabled	off;
	capabilities	0x0;
	entityid	0	0	0	0	0	0	0	0;
	entitytypeid	0	0	0	0	0	0	0;
	markings	0	"";
	appear	0x0;
	deadrec	0;
	gclamp	off;
	indeadrec	off;
	inplayer	off;
	intimeout	on;
	autovel	off;
	autoacc	off;
	autorates	off;
	enableFltSounds	off;
	triggerFltSounds	on;
	nsl_manage	0;
	sv_enable	on;
	sv_options	0	2;
	sv_temp	300;
	sv_lpointtemp	1173;
	sv_defmaterial	Scrub.mtl;
	sw_options	1;
	rw_enable	on;
	rw_options	off;
	rw_defmaterial	Scrub.mtl;
	rw_rcs	"";
	rw_pixelcap	10000;
	rw_pixelblock	100;
}


observer Default {
	channel	Default;
	scene	Default;
	gfx	Default;
	env	Default;
	motion	Default;
	awChannel	Default;
	state	1;
	tether	1	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;
	stressstate	off;
	stressparam	0.5	0.7	0.1;
	fovaspectlodmng	on;
	stereosep	0.05;
	stereorng	30;
	cloak	off;
	share	0x7;
	lookat	0;
	awstate	on;
	modelflags	0x2F;
	pbendFilter	0;
	pbendThresh	0.05;
	nframevel	0;
	nframehist	12;
	transport	0;
	veldelta	60;
	splmin	0;
	splmax	100;
	attenModel	2;
	attenBasis	0;
	minRange	1;
	maxRange	1e+006;
	dis	off;
	capabilities	0x0;
	entityid	0	0	0	0	0	0	0	0;
	entitytypeid	0	0	0	0	0	0	0;
	markings	0	"";
	appear	0x0;
	deadrec	0;
	autovel	off;
	autoacc	off;
	autorates	off;
	audioEnabled	on;
}


scene Default {
	optim	0x0;
	object	town;
}


window Default {
	screen	0;
	winsize	300	979	200	823;
	border	on;
	cursor	on;
	cullthreads	-1;
	lpthreads	-1;
	label	"";
	intro	"";
	introclr	0	0	0;
	input	on;
	async	off;
	mouseio	0;
	cbits	8;
	alphabits	4;
	accumcbits	0;
	accumalphabits	0;
	zbits	24;
	samples	8;
	aa	on;
	stencil	4;
	stereo	off;
	bufmode	0;
	iocpu	-1;
	iopri	52;
	drawcpu	-1;
	drawpri	35;
	pbuffer	off;
	hostname	"";
	path	"";
	nsl_lpb_state	off;
}


motion Default {
	model	101;
	state	on;
	position	2515	2479	2.5	0	0	0;
	radius	10;
	scale	1	1;
	gas	1;
	brake	1;
	wheel	1;
	velocity	200;
	region	-500	-500	500	500;
	fixedtime	on;
	inputobject	Default;
}


env Default {
	lightsrc	Default;
	state	on;
	skycolor	0.501961	0.501961	0;
	fogstate	disable;
	rampval	0	0;
	viscolor	0	0.501961	0.501961;
	visrng	1	1568.7;
	vistype	1;
	visfunc	2;
	tod	1;
	localviewer	off;
	globalambient	0	0	0;
	tod_ambient	on;
	lmdltwosides	off;
	sos	330;
	envfxname	cloud;
}


env ephemeris {
	state	on;
	skycolor	0.65098	0.792157	0.941177;
	fogstate	enable;
	rampval	0	0;
	viscolor	1	0.984314	0.941177;
	visrng	1	20000;
	vistype	1;
	visfunc	2;
	tod	1;
	localviewer	off;
	globalambient	0	0	0;
	tod_ambient	on;
	lmdltwosides	off;
	sos	330;
	envfxname	sun;
	envfxname	onedy;
}


envfx cloud {
	state	on;
	type	0;
	color	1	1	1;
	cldtextype	1;
	cldscud	off;
	cldtexname	"$(PSI_DATA)\Vega\clouds2.int";
	cldtop	5000;
	cldbot	3000;
	cldtoptran	500;
	cldbottran	500;
	cldtile	100	100;
	clddrw	1519;
	skirtminz	-500000;
	trans_override	0;
	cldnumsegs	8;
	cldwproc	0;
	cldslantstrips	4;
	cldtopstrips	8;
	optimizecld	0;
	optcldangle	70;
	colorblendcld	1;
	numblendcolors	12;
	blendcolor	1	1	1;
	skyzoffset	1000;
	skyboxsize	-10000;
	skyboxrearsize	9000;
	groundfarratio	0.85;
	skygroundfog	0;
	skybminelev	5000;
	hgsunelev	25	-10;
	hgwidth	100;
	hgcolor	0	1	1;
	hgrndcolor	0.181	0.22	0.168;
	cldvel	0	0;
	deckminz	0;
	deckfog	0;
	deckautoz	0;
	autoblendstrips	1;
}


envfx sun {
	state	on;
	type	5;
	color	1	1	1;
	trans_override	0;
	disktype	0;
	disksize	3000;
	disktexmode	1;
	disktexfile	"$(PSI_DATA)\Vega\sun.inta";
	diskfog	on	5000;
}


envfx onedy {
	state	on;
	type	4;
	color	1	1	1;
	trans_override	0;
	date	06221996;
	utcoffset	0;
	starttime	12;
	timemult	1000;
	recalctime	0;
	posspec	2;
	position	32.79	-96.79;
	twilightdip	-18;
	moonbright	0.25;
}


light Default {
	type	3;
	state	on;
	twoside	0;
	position	0.707	0.707	0;
	ambient	0	0.501961	0.501961;
	tod_ambient	on;
	diffuse	1	1	1;
	attn	1	0	0;
	sv_enable	on;
	sv_temp	1173;
}


dbm {
	dborigin	0	0	0;
	dbshape	0;
	ladbmstate	off;
	fixedmem	64;
	pageconfig	202;
	sv_dbase	"c:\program files\paradigm\vega\data\vgsp\mat\flir.mat";
	sv_tempmode	1;
	sv_temprange	200	1500;
	sv_tempproc	-1	50;
	sv_texformat	0;
	sv_radtexlookup	on;
	sv_radtextag	"";
	rw_dbase	"/usr/local/PSI/data/sp/mat/radar.mat";
}


input Default {
	devicetype	1;
	devicefile	COM1;
	calibtype	1;
	XYZscale	1	1	1;
	HPRscale	1	1	1;
	calfile	"";
	state	on;
	async	0;
}


awEngine Default {
	index	1;
	awdhost	"";
	indexValue	0;
	hd	off	4	1;
	access	0;
	volume	1;
	headroom	12;
	efilter	1;
	workspace	"";
	engdop	0;
	engattn	0;
	mindist	1;
}


awChannel Default {
	engine	Default;
	model	1;
	sgeom	3;
	outputFrontLeft	1;
	outputFrontRight	2;
	outputRearLeft	3;
	outputRearRight	4;
	outputFrontLeftTop	5;
	outputFrontRightTop	6;
	outputRearLeftTop	7;
	outputRearRightTop	8;
	voices	8;
	srate	44100;
	cvolume	1;
}


vg_dis {
	state	0;
	protocol	0;
	address	0.0.0.0;
	timetype	0;
	siman	off;
	filter	on	on	1000	1	1	0xFFFFFFFF;
	thresholds	5	1	3;
	smooth	1	10;
	inbappfrom	0;
	timeout	12;
	useladbm	off;
	displaymarks	off;
	force	-1;
	exerciseid	0;
	site	0;
	port	3000;
	bundlesize	0;
	host	0;
	fedex	"VR-Link";
	fedid	"";
	det_obs_dur	10;
	keyfunc	""	0;
	mark_color	1	1	1;
	out_mark_color	1	0	0;
	gclamp	1;
	dclamp	3;
	inplayer	0;
	indeadrec	0;
	geocentric	1;
	coordSystem	0;
	lat	0;
	lon	0;
	stdOffsets	0;
	version	5;
}


immersive {
	state	on;
	mode	2;
	config_file	"";
	eye_sep_mode	1;
	eye_sep	6.5;
	scale	1;
}


application Default {
	fname	vega;
	appargs	"$ADF";
}


adfstate {
	module	Vega	3.5;
	module	AudioWorks2	1.4;
	module	"Large Area DBM"	3.5;
	module	"Vega Class Recorder"	3;
	module	"Special Effect"	3.5;
	module	"Vega Marine"	3.2;
	module	DIS	3.4;
	module	"Light Lobes"	3.2;
	module	Symbology	3.2;
	module	"Vega Audio"	3.2;
	module	"Nav and Signal Lighting"	3.5;
	module	"Clip-Map Objects"	3.5;
	module	"Vega DI-Guy"	3.3;
	module	SensorVision	3.6;
	module	SensorWorks	3.6;
	module	RadarWorks	3.6;
	module	"Distortion Correction"	1;
	module	"Vega Immersive"	3.5;
	module	Base	3.2;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -