题目
vrml实现门的开关功能,旋转轴不在中间,在左侧,最好写明旋转轴是怎样设置的,谢谢
这是门的位置
DEF zm Transform {
translation -539.9 15 516.8
rotation -1 0 0 -1.571
children [
Transform {
translation 0 2.5 0
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0.588 0.588 0.588
ambientIntensity 1.0
specularColor 0 0 0
shininess 0.145
transparency 0
}
}
geometry Box { size 50 5 30 }
}
] }
]
}
这是门的位置
DEF zm Transform {
translation -539.9 15 516.8
rotation -1 0 0 -1.571
children [
Transform {
translation 0 2.5 0
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0.588 0.588 0.588
ambientIntensity 1.0
specularColor 0 0 0
shininess 0.145
transparency 0
}
}
geometry Box { size 50 5 30 }
}
] }
]
}
提问时间:2020-11-09
答案
设置Transform的center域.例子:
#VRML V2.0 utf8
DEF zm Transform {
rotation 0 1 0 -1.571
center -15 0 0
children [
Transform {
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0.588 0.588 0.588
}
}
geometry Box { size 30 50 5 }
}
] }
]
}
Shape {
appearance Appearance {
material Material {
diffuseColor 0.1 0.1 0.588
}
}
geometry Box { size 30 50 5 }
}
#VRML V2.0 utf8
DEF zm Transform {
rotation 0 1 0 -1.571
center -15 0 0
children [
Transform {
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0.588 0.588 0.588
}
}
geometry Box { size 30 50 5 }
}
] }
]
}
Shape {
appearance Appearance {
material Material {
diffuseColor 0.1 0.1 0.588
}
}
geometry Box { size 30 50 5 }
}
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
最新试题
- 1如图所示为“测量滑轮组机械效率”的实验装置,已知钩码总重为6N,弹簧测力计竖直向上匀速拉动细绳时的拉力是2.4N,不计摩擦和绳重,若钩码3s内上升0.1m. 求:(1)该滑轮组的机械效
- 2如何用Cao制取CaCO3
- 3设大圆半径为R,小圆半径为r,且R=2r.问至少需要几个小圆才能把大圆完全覆盖住?
- 4“读了这篇文章之后,对我的教育太大了”语病在哪?“谁也不会否认...
- 5物体A单独放在倾角37°的斜面上时,正好能匀速下滑,a系上细绳通过光滑滑轮挂上物体B且将倾角改为30度,A正还能沿斜面匀速上滑,则B与A的质量比为多少
- 6有关科学方面的作文有什么
- 7故乡 鲁迅写的杨二嫂是一个怎样的人她反映了什么
- 8几个溢流阀串联时,总压力等多少?
- 9一根绳子长8/21米,先剪下它的一半,再把剩下的剪下一半…剪4次后,剩下的部分长_米.
- 10英文促销广告50字
热门考点
- 1解方程组:{2x+y=5,x^2-2xy+y^2-1=0}X1=-4/3,y1=23/3,X2=-2,Y2=9不知道为什么验算不对,
- 2向饱和NaCO3中滴入少量FeCl3,Fe3++3CO32-+3H2O=Fe(OH)3(沉淀符号)+3HCO3-.为什么是滴入少量的FeCL3.(求祥解,)
- 3初一作文《我的同学》600字
- 4有一个分数,分子加3后可化简为8分之5分之减3后可化简4分之1 这个分数是多少
- 5真核细胞中哪些没有线粒体呢 为什么蛔虫没有线粒体呢
- 6把they are boxes.改为单数句怎么改
- 7kmno4+so2+h2so4=mnso4+k2so4+h2o配平 谢谢
- 8甲、乙两辆车同时从两地相对开出甲车每小时行62千米,乙车每小时行78千米两车出发后2.5小时相遇,公路多
- 9有一根方木,长6米,横截面是正方形,边长9厘米.如果把它锯成最大的圆木,需要锯掉多少木材
- 10关于x的不等式ax^2+2ax-4