:以植物标本馆虚拟漫游系统的建造为例子,介绍了开发三维交互式虚拟漫游场景的 一套整体解决方案。阐述了用3ds max 建模与VRML 编程相结合来设计和开发虚拟植物标 本馆的具体过程。重点分析了实现虚拟漫游所用到的关键技术、系统优化应用的常用技巧以 及将VRML 文件嵌入到HTML 文件中的方法。依据这些技术和方法制作的基于Web 的植 物标本馆全景虚拟漫游系统具有碰撞检测机能,能让参观者虚拟漫游,有良好的交互功能。 本文最后指出了系统进一步完善的方向。
2023-01-12 11:07:21 923KB 虚拟漫游 VRML
1
这个作品是VRML编写的玫瑰花,会自己开花。不断循环。
2023-01-01 23:05:22 1KB VRML 实例 玫瑰花
1
VRML技术的使用展示棋盘的运动,各个棋子均可移动,方便课程的利用。
2022-11-23 16:15:51 2KB VRML
1
vrml 球体的公转自转 inline法
2022-11-06 14:53:14 1KB vrml ,球体的公转自转, inline法
1
这是一个wrl文件可以用来学习vrml #VRML V2.0 utf8 EXTERNPROTO BlaxxunZone [ eventIn MFNode addEvents eventIn MFNode removeEvents exposedField MFNode events ][ "shared.wrl#BlaxxunZone", "http://www.blaxxun.com/vrml/protos/shared.wrl#BlaxxunZone" ] EXTERNPROTO SharedEvent [ exposedField SFString name # for accessing a special event eventIn SFColor colorFromServer eventOut SFColor colorToServer eventIn SFColor set_color eventOut SFColor color_changed eventIn SFRotation rotationFromServer eventOut SFRotation rotationToServer eventIn SFRotation set_rotation eventOut SFRotation rotation_changed eventOut SFString string_changed eventIn SFString stringFromServer ] [ "shared.wrl#SharedEvent", "http://www.blaxxun.com/vrml/protos/shared.wrl#SharedEvent" ] DEF SharedZone BlaxxunZone { events [ DEF SharedColor SharedEvent { name "newColor" } DEF SharedRotation SharedEvent { name "newRotation" } ] } DEF BoxSwitch Switch { whichChoice 0 choice [ DEF BoxRotation Transform { children [ Shape { # 红色立方体 appearance Appearance { material DEF BoxColor Material { diffuseColor 1 0 0 } } geometry Box { } } ] } ] } # 此球体用来更换颜色 Transform { translation -4 0 0 children [ Shape { appearance Appearance { material Material { diffuseColor 0 0 1 } } geometry Sphere {} }, DEF ColorSensor TouchSensor {}, DEF ColorScript Script { eventIn SFTime clicked eventIn SFString changeColor eventOut SFColor color_changed eventOut SFColor color_changed_from_bot url "vrmlscript: function clicked (value, time) { color_changed = new SFColor(Math.random(),Math.random(),Math.random()); } function changeColor (value, time) { tempColor = new SFColor(1,0,0); temp = new SFString(value); pos1 = 7; for (i=0; i<3;i++){ temp2 = new SFString(temp.substring(pos1,pos1+1)); if (temp2 == '1') tempColor[i] = 1; pos2 = temp.indexOf(' ',pos1); pos1 = pos2+1; } color_changed_from_bot = tempColor; } " } ] } # 此锥体用来旋转更换 Transform { translation 4 0 0 children [ Shape { appearance Appearance { material Material { diffuseColor 0 0 1 } } geometry Cone {} }, DEF RotSensor TouchSensor {}, DEF RotationScript Script { field MFString newurl [ "OnEvent( par1, par2 )" ] # field MFString newurl [ "javascript:OnJSEvent( )" ] field MFString param [ "" "" ] eventIn SFTime clicked eventIn SFTime set_string eventOut SFRotation rotation_changed url "vrmlscript: function clicked (value, time) { angle = Math.random()*6.283; rotation_changed = new SFRotation(0,1,0,angle); } function set_string (value, time) { newurl[0] = 'OnEvent ( ' + 'your par1 ' + ',' + 'your par2' + ')'; Browser.loadURL (newurl,param); } " } ] } Transform { translation 0 -3 0 children [ DEF ChangeString Text { string "ChangeString" } ] } Script { url "vrmlscript: function initialize() { }" } #ROUTE RotSensor.touchTime TO RotationScript.clicked ROUTE RotSensor.touchTime TO RotationScript.set_string #ROUTE RotationScript.rotation_changed TO SharedRotation.set_rotation ROUTE RotationScript.rotation_changed TO BoxRotation.set_rotation ROUTE SharedRotation.rotation_changed TO BoxRotation.rotation ROUTE ColorSensor.touchTime TO ColorScript.clicked ROUTE ColorScript.color_changed TO SharedColor.set_color ROUTE SharedColor.color_changed TO BoxColor.diffuseColor ROUTE ColorScript.color_changed_from_bot TO BoxColor.diffuseColor ROUTE SharedColor.string_changed TO ColorScript.changeColor
2022-10-29 11:39:57 3KB 一个wrl用例
1
vrml语言制作3d体检小屋,有鼠标响应事件,三维视图
2022-10-04 08:28:52 114KB vrml project
1
Vrml基础教程,适合初学者入门,结合例子讲解,简单实用
2022-08-24 18:49:17 292KB vrml 虚拟现实 教程 基础
1
这是能使用的代码,有部分解释,比较容易理解,而且容易修改,比较符合初学不久的看
2022-07-09 03:14:06 3KB vrml
1
一个关于办公家具的三维模拟程序,VRML语言编写-Office furniture on three-dimensional simulation program, VRML language
2022-06-24 21:04:02 2KB 三维模拟 VRML
VRML2.0交互式三维图形编程》 vrml教程 172页
直接下载 省去等待缓冲 保存副本的麻烦
2022-06-19 10:29:30 2.79MB vrml 三维 图形 虚拟
1