VRML素材绘制飞机

#VRML V2.0 utf8
Background {  skyColor 1 1 1 }
Transform {
	children [
		Shape	{
			appearance Appearance	{ 
				material DEF Color Material {
				  diffuseColor 0.61 0.61 0.61
				}
			}
			geometry Extrusion {
				crossSection	 [
				   1.0 0.0 , 0.866 -0.5, 0.707 -0.707,
				   0.5 -0.866, 0 -1.0, -0.5 -0.866,
				   -0.707 -0.707, -0.866 -0.5, -1 0,
				    -0.866 0.5, -0.707 0.707,
				   -0.5 0.866, 0 1.0, 0.5 0.866,
				   0.707 0.707, 0.866 0.5, 1 0
				]
				spine [
				  -5 0 0 ,	 -4.8 0 0 ,
				  -4.6 0 0   -3.0 0 0,
				  -2.0 0 0,	  0 0 0,
				  3.0 0 0 ,	  4.7 0 0
				  4.85 0 0 
				]
				scale [
				  0.8 0.8,	 0.9 0.9,
				  1.0 1.0,	 1.2 1.2,
				  1.1 1.1,	 1.05 1.05,
				  0.95 0.95	 0.80 0.80,
				  0.55 0.55	 ]
				beginCap   FALSE
				endCap FALSE
				solid FALSE
			} }	 ] }

DEF LEFT Transform {
	children [
		Shape	{
			appearance Appearance	{
				material USE Color 	}
			geometry Extrusion {
				crossSection	 [
				   1.0 0.0 , 0.866 -0.1, 0.707 -0.15,
				   0.5 -0.18, 0 -0.20, -0.5 -0.22,
				   -0.707 -0.21, -0.866 -0.15, -0.95 -0.05,
				   -1 0, -0.866 0.0, -0.707 0.0,
				   -0.5 0.0, 0 0.0, 0.5 0.0,
				   0.707 0.0, 0.866 0, 1 0
				]
				spine [
				  -1.6 0 0.6 , -1.3 0 1.5 
				  -1.0 0 2.5,  -0.7 0 3.5,
				  -0.3 0 4.5,  -0.0 0 5.5
				   0.3 0 6.5  ]
				scale [
				  1.2 1.2,  1.1 1.1,
				  1.0 1.0,	0.9 0.9,
				  0.8 0.8,  0.7 0.7,
				  0.6 0.6
				]
				beginCap   FALSE
				endCap TRUE
				solid FALSE
			}  }  ]	 }
DEF left_yx Transform {
	translation	-0.55 -0.43 3.5
	scale 4.5 0.6 0.6 
	children [
		DEF	yx Shape {
			appearance Appearance	{
				material USE Color
			}
			geometry Sphere	{
			  radius 0.5
			}
		}
	    DEF db Transform {
			translation	0 0.5 0
			children [
				Shape {
					appearance Appearance	{
						material USE Color
					}
					geometry Box {
					  size 0.3 0.3 0.1
					}
				}
			]
		}] }


DEF RIGHT Transform {
	children [
		Shape	{
			appearance Appearance	{
				material USE Color 	}
			geometry Extrusion {
				crossSection	 [
				   1.0 0.0 , 0.866 0.1, 0.707 0.15,
				   0.5 0.18, 0 0.20, -0.5 0.22,
				   -0.707 0.21, -0.866 0.15, -0.95 0.05,
				   -1 0, -0.866 0.0, -0.707 0.0,
				   -0.5 0.0, 0 0.0, 0.5 0.0,
				   0.707 0.0, 0.866 0, 1 0
				]
				spine [
				  -1.6 0 -0.6 ,	 -1.3 0 -1.5 
				  -1.0 0 -2.5,	 -0.7 0 -3.5,
				  -0.3 0 -4.5,   -0.0 0 -5.5
				   0.3 0 -6.5 
				]
				scale [
				  1.2 1.2,	 1.1 1.1,
				  1.0 1.0,   0.9 0.9,
				  0.8 0.8,   0.7 0.7,
				  0.6 0.6
				]
				beginCap   FALSE
				endCap TRUE
				solid FALSE

			} }	]  }

DEF	right_yx Transform {
	translation	-0.55 -0.43 -3.5
	scale 4.5 0.6 0.6 
	children [
	 USE yx
	 USE db
	]

}

Transform {
  translation 5.1 2.5 -0.28 
  scale	0.5	0.4 0.4
  children [
   USE LEFT
  ]
}

Transform {
  translation 5.1 2.5 0.28 
  scale	0.5	0.4 0.4
  children [
   USE RIGHT
  ]
}

Transform {
   children [
	  Shape {
		  appearance Appearance {
			  material USE Color
		  }
		  geometry Extrusion {
			  crossSection [
			    0.9 0.05 ,0.9 -0.05, 
				-0.85 -0.05, -0.85 0.05, 
				0.80 0.05  ]
			  spine	[
			    4.0 0.7 0, 4.5 3.0 0 ]
			  scale	[
			    0.92 1.0, 0.7 1.0   ]
		  }	 }  ] }

Transform {
  translation -2 1 0
  scale	2 1 1
  children [
	  Shape	{
	      appearance Appearance {
			  material	USE	Color
		  }
		  geometry Sphere {	 radius 0.5 }

	  }	] }

Transform {
  translation -2.9 0.1 0
  scale	2 1.5 1.0
  children [
	  Shape	{
	      appearance Appearance {
			  material	USE	Color
		  }
		  geometry Sphere {	 radius 0.6	 }

	  }	 ]	}
Transform {
	translation	-1.1 0 2.5 
	children [
	 DEF jyb Shape	{
			appearance Appearance	{
				material USE Color
			}
			geometry Extrusion {
				crossSection	 [
				   1.0 0.0 , 0.866 -0.2, 0.707 -0.25,
				   0.5 -0.38, 0 -0.40, -0.5 -0.45,
				   -0.707 -0.30, -0.866 -0.25, -0.95 -0.15,
				   -1 0, 1 0
				]
				spine [
				   0 0 0 , 0 0 0.05	]
				scale [
				  1.0 1.0, 1.0 1.0 ]
				beginCap   FALSE
				endCap TRUE
				solid FALSE

			} }	] }
Transform {
	translation	-1.1 0 -2.5 
	children [
	 USE jyb
	]
}

Transform {
   scale 0.8 1 1 
   translation -0.4 0 -4.5
   children	[
	USE	jyb
   ]
}

Transform {
   scale 0.8 1 1 
   translation -0.4 0 4.5
   children	[
	USE	jyb
   ]
}

Transform {
	translation	-2.0 1.2 -0.6
	rotation 0 0.5 -1 0.577
	children	[
		Shape	{
			appearance Appearance	{
				material USE Color
			}
			geometry Cone {
			  bottomRadius 0.07
			  height 0.85
			} }	] }
Transform {
	translation	-3.8 -1.0 -0.3
	rotation 0 0 1 1.57
	children [
		Shape {
			appearance Appearance {
				material USE Color 	}
			geometry	Cylinder {
			   radius 0.15
			   height 1.7  	}
		}
		Transform {
		  translation 0 0.8 0 
		  children [
		      Shape {
			      appearance Appearance {
					  material	USE	Color  }
				  geometry Cylinder	{
				    radius 0.1
					top	FALSE
					bottom FALSE
					height 0.6  }
			  }	  ]	 } 	]
}
  • 3
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值