vrml素材迷宫

vrml素材迷宫

在这里插入图片描述
在这里插入图片描述

#VRML V2.0 utf8


Transform {					 ###  1
	translation	-80 -1 100
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 60 30 0.02
			}
		}
	]
}

Transform {		############  2
	translation	-150 -1 110
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 60 30 0.02
			}
		}
	]
}

Transform {		############  3
	translation	-150 -1 120
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 80 30 0.02
			}
		}
	]
}

Transform {		############  4
	translation	-110 -1 90
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 120 30 0.02
			}
		}
	]
}

Transform {		############  5
	translation	-85 -1 80
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 70 30 0.02
			}
		}
	]
}

Transform {		############  6
	translation	-155 -1 80
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 30 30 0.02
			}
		}
	]
}

Transform {		############  7
	translation	-90 -1 70
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 40 30 0.02
			}
		}
	]
}

Transform {		############  8
	translation	-85 -1 40
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 30 30 0.02
			}
		}
	]
}

Transform {		############  9
	translation	-145 -1 -20
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 90 30 0.02
			}
		}
	]
}

Transform {		############  10
	translation	-150 -1 -10
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 80 30 0.02
			}
		}
	]
}

Transform {		############  11
	translation	-130 -1 0
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 20 30 0.02
			}
		}
	]
}



Transform {		############  11-2
	translation	-135 -1 10
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 10 30 0.02
			}
		}
	]
}

Transform {		############  12
	translation	-165 -1 0
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 30 30 0.02
			}
		}
	]
}

Transform {	  ###################   13
	translation	-190 -1 50
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 140
			}
		}
	]
}

Transform {	  ###################   14
	translation	-180 -1 55
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 110
			}
		}
	]
}

Transform {	  ###################   15
	translation	-170 -1 50
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 80
			}
		}
	]
}

Transform {	  ###################   16
	translation	-160 -1 50
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 60
			}
		}
	]
}

Transform {	  ###################   17
	translation	-150 -1 30
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 40
			}
		}
	]
}

Transform {	  ###################   18
	translation	-140 -1 40
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 60
			}
		}
	]
}

Transform {	  ###################   19
	translation	-135 -1 45
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 70
			}
		}
	]
}

Transform {	  ###################   20
	translation	-130 -1 45
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 70
			}
		}
	]
}

Transform {	  ###################   21
	translation	-120 -1 40
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 80
			}
		}
	]
}

Transform {	  ###################   22
	translation	-110 -1 30
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 80
			}
		}
	]
}

Transform {	  ###################   23
	translation	-100 -1 10
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 60
			}
		}
	]
}

Transform {	  ###################   24
	translation	-70 -1 60
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 40
			}
		}
	]
}


Transform {	  ###################   24_1
	translation	-69.1 -1 60
	children [
		Shape {
			appearance Appearance {
				material Material {
			#	transparency 0.2
				}
				texture	ImageTexture {
					url	"hua/sida.png"
				}
			}
			geometry Box {
				size 0.1 30 40
			}
		}
	]
}



Transform {	  ###################   25
	translation	-110 -1 110
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 20
			}
		}
	]
}

Transform {	  ###################   26
	translation	-120 -1 100
	children [
		Shape {
			appearance Appearance {
				material Material {
				transparency 0.2
				}
				texture	ImageTexture {
					url	"home/baiyu.png"
				}
			}
			geometry Box {
				size 0.1 30 20
			}
		}
	]
}



Group{
	children [
		DEF men Transform {
			translation	-145 -1 0
			children [
				Shape {
					appearance Appearance {
						material Material {
							transparency 0.2
						}
						texture	ImageTexture {
							url	"home/baiyu.png"
						}
					}
					geometry Box {
						size 10 30 0.02
					}
				}
			]
		}

		DEF touch1 TouchSensor {
					enabled	TRUE
				}

		DEF	PS ProximitySensor {
			center	0 0 190
			size 6 10 10
			enabled TRUE
		}
	]
}


DEF	Clock_1 TimeSensor {
	cycleInterval 25.0
	loop FALSE
}

DEF	position_11 PositionInterpolator {
	key	[0 0.3 0.7 1.0]
	keyValue [-145 -1 0
			-145 5 0 
			-145 5 0
			-145 -1 0]
}


ROUTE touch1.touchTime TO Clock_1.startTime

ROUTE Clock_1.fraction_changed TO position_11.set_fraction
ROUTE position_11.value_changed TO men.translation




#############################



Group{
	children [
		DEF men1 Transform {
			translation	-50 -1 85
			children [
				Shape {
					appearance Appearance {
						material Material {
							transparency 0.2
						}
						texture	ImageTexture {
							url	"hua/qid.png"
						}
					}
					geometry Box {
						size 0.1 30 10
					}
				}
			]
		}

		DEF touch12 TouchSensor {
					enabled	TRUE
				}
	]
}


DEF	Clock_12 TimeSensor {
	cycleInterval 25.0
	loop FALSE
}

DEF	position_12 PositionInterpolator {
	key	[0 0.3 0.7 1.0]
	keyValue [-50 -1 85
			-50 15 85 
			-50 15 85
			-50 -1 85]
}


ROUTE touch12.touchTime TO Clock_12.startTime

ROUTE Clock_12.fraction_changed TO position_12.set_fraction
ROUTE position_12.value_changed TO men1.translation


#################################


Group{
	children [
		DEF men12 Transform {
			translation	-50 -1 95
			children [
				Shape {
					appearance Appearance {
						material Material {
							transparency 0.2
						}
						texture	ImageTexture {
							url	"hua/zid.png"
						}
					}
					geometry Box {
						size 0.1 30 10
					}
				}
			]
		}

		DEF touch123 TouchSensor {
					enabled	TRUE
				}
	]
}


DEF	Clock_123 TimeSensor {
	cycleInterval 25.0
	loop FALSE
}

DEF	position_123 PositionInterpolator {
	key	[0 0.3 0.7 1.0]
	keyValue [-50 -1 95
			-50 15 95 
			-50 15 95
			-50 -1 95]
}


ROUTE touch123.touchTime TO Clock_123.startTime

ROUTE Clock_123.fraction_changed TO position_123.set_fraction
ROUTE position_123.value_changed TO men12.translation



###########################

DEF mi Transform {
	translation	-120 50 50
	children [
		Shape {
			appearance Appearance {
				material Material {
					transparency 0.2
				}
				texture	ImageTexture {
					url	"hua/mi1.png"	
				}
			}
			geometry Box {
				size 50 25 50
			}
		}
	]
}



DEF	Clock TimeSensor {
	cycleInterval 30.0
	loop TRUE
}


DEF rota OrientationInterpolator	{
	key	[0 0.25 0.50 0.75 1.0]
	keyValue [
			0 1 0 0,
			0 1 0 1.57,
			0 1 0 3.14,
			0 1 0 4.17,
			0 1 0 6.28,		
	]
} 

ROUTE Clock.fraction_changed  TO rota.set_fraction
ROUTE rota.value_changed TO	mi.rotation


  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值