博客登录
用户名:
密 码:
注册
|
登录
忘记密码?
51cto首页
|
博客
|
论坛
|
招聘
热点文章
对江西某电信服务器的一次..
帮助
转载
:22
翻译
:0
原创
:2
sunny
http://sunlilei.blog.51cto.com
>
复制链接
邀请加入技术圈
加友情链接
发短消息
相册
技术圈
博客
51CTO
首页
|
技术论坛
|
短消息
博 客
我的博客
发表文章
管理博客
技术圈
创建圈子
我的圈子
寻找圈子
相 册
我的相册
上传图片
管理相册
首页
|
VRML
|
数据库技术
|
C
|
系统
|
网页
|
个人文档
|
Java技术
|
delphi
sunlilei 的BLOG
博客统计信息
用户名:sunlilei
文章数:24
评论数:14
访问量:18591
无忧币:
296
博客积分:
288
博客等级:
2
注册日期:2006-04-03
友情链接
51CTO博客开发
背景音乐
我的音乐
00:00 | 00:00
51CTO推荐博客
kingkui
hz68
Deidara
zhouhaipeng
redwolf_79
colderboy
剑了
greater
孙永杰
tiger506
huiwh
zhangyxc
我所关联
石家庄海智数据科技有限公司
石家庄市中讯科技有限公司
文章
文章列表>>
VRML 跟随鼠标移动的渐消块儿
2006-07-22 17:05:58
#vrml v2.0 utf8
proto flipper [
field sfvec3f position 0 0 0
]
{
group {
children [
transform {
translation is position
children [
def touch touchsensor {}
shape {
appearance appearance {
material def mat material {
emissivecolor 1 0 0
}
}
geometry indexedfaceset {
coord coordinate {
point [ 1 1 0, -1 1 0, -1 -1 0, 1 -1 0 ]
}
coordindex [ 0 1 2 3 ]
}
}
]
}
def timer timesensor { cycleinterval 4 }
def colorer colorinterpolator {
key [ 0 .5 1 ]
keyvalue [ 1 0 0, 0 1 0, 1 0 0 ]
}
def script script {
eventin sfbool isover
eventout sftime starttime
url "vrmlscript:
function isover(val, ts) {
starttime = ts;
}"
}
]
route touch.isover to script.isover
route script.starttime to timer.starttime
route timer.fracti to colorer.set_fraction
route colorer.value_changed to mat.emissivecolor
}
}
flipper { position -4 4 0 }
flipper { position -..
类别:VRML
|
阅读全文(373)
|
回复(1)
<<
1
2
3
>>
页数 ( 2/3 )
热门文章
Applet与Servlet通信的具..
直接用SQL语句把DBF导入S..
Delphi 打印---打印机选择
图片移动、鼠标画线----..
全面了解系统进程
MS VML示例
鼠标拖动图片
BLOB写入读出
最新评论
小王
:
文章很不错,也欢迎博主访问我的技..
小王
:
文章很不错,也欢迎博主访问我的技..
小王
:
文章很不错,也欢迎博主访问我的技..
小王
:
文章很不错,也欢迎博主访问我的技..
小王
:
文章很不错,也欢迎博主访问我的技..
51CTO推荐博文
更多..
亲手架设Master/Slave智能DNS
iptables防火墙打造安全网络
医疗行业结构化布线方案
窥冰山一角解密流氓软件
逛商场与SHUTDOWN
正则表达式语法讲解(一)
编程,你掌控全局了么?
Java版SLG游戏开发入门
混乱往往意味着机会,你把..
FPA笔记四 处理功能EI、EO、EQ
一个中国IT人的思考
Groove 2007, 你的工作新伙..
亲爱的51cto,西西回来了!
如果可以重上一遍大学的话
逛地坛书市感悟
职场感悟……面试篇