vrml实现门的开关功能,旋转轴不在中间,在左侧,最好写明旋转轴是怎样设置的,谢谢
题目
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 }
}
] }
]
}
答案
设置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 }
}
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
最新试题
热门考点
- 解方程组:{2x+y=5,x^2-2xy+y^2-1=0}X1=-4/3,y1=23/3,X2=-2,Y2=9不知道为什么验算不对,
- 向饱和NaCO3中滴入少量FeCl3,Fe3++3CO32-+3H2O=Fe(OH)3(沉淀符号)+3HCO3-.为什么是滴入少量的FeCL3.(求祥解,)
- 初一作文《我的同学》600字
- 有一个分数,分子加3后可化简为8分之5分之减3后可化简4分之1 这个分数是多少
- 真核细胞中哪些没有线粒体呢 为什么蛔虫没有线粒体呢
- 把they are boxes.改为单数句怎么改
- kmno4+so2+h2so4=mnso4+k2so4+h2o配平 谢谢
- 甲、乙两辆车同时从两地相对开出甲车每小时行62千米,乙车每小时行78千米两车出发后2.5小时相遇,公路多
- 有一根方木,长6米,横截面是正方形,边长9厘米.如果把它锯成最大的圆木,需要锯掉多少木材
- 关于x的不等式ax^2+2ax-4