我的订单|我的收藏|我的商城|帮助中心|返回首页
虚拟现实新闻>VR>VR软件>Virtools

Virtools入门教程—Per Second运动量的控制 - Virtools

文章来源:网络收集 作者:Frank 发布时间:2010年04月28日 点击数: 字号:

Per Second


1.jpg

Instruction:
本范例中的两个Boxes分别由不同的方式控制使其产生转动,均可以控制其转动速度、旋转的轴向等。

Building Blocks:
(a) Set As Active Camera-Cameras/Montage/Set As Active Camera
(b) Text Display-Interface/Text/Text Display
(c) Switch On Key-Controllers/Keyboard/Switch On Key
(d) Rotate-3D Transformations/Basic/Rotate
(e) Deactivate Script-Narratives/Script Management/Deactivate Script
(f) Activate Script-Narratives/Script Management/Activate Script
(g) Per Second-Logics/Calculator/Per Second

制作构想:
利用Building Blocks-Deactivate Script和Activate Script来选择Box;再使用Building Blocks-Rotate,或是Per Second配合Rotate使Boxes产生旋转的效果。

制作步骤:
(a) Camera

2.jpg

Set As Active Camera:设定现在所使用的Camera。
Text Display:文字说明。

 

(b) Box02

3.jpg

Switch On Key:设定控制键分别为8、2、4、6。
Rotate:设定旋转轴Axis of Rotation-分别为X轴(1, 0, 0)、-X轴(-1, 0, 0)、Y轴(0, 1, 0)、-Y轴(0, -1, 0);设定旋转角度值Angle of Rotation(Turn:圈数、Degree:角度);设定Referential of the Axis-设定-NULL-或Box02均可(如图标);勾选Hierarchy表示Building Blocks也同样应用在Child。

 

(c) Box01 & Box02
Switch On Key:设定控制键分别为8、2、4、6。
Rotate:设定旋转轴Axis of Rotation-分别为X轴(1, 0, 0)、-X轴(-1, 0, 0)、Y轴(0, 1, 0)、-Y轴(0, -1, 0);设定旋转角度值Angle of Rotation(Turn:圈数、Degree:角度);设定Referential of the Axis-设定-NULL-或Box02均可(如图标);勾选Hierarchy表示Building Blocks也同样应用在Child。

 

(c) Box01 & Box02

4.jpg

Switch On Key:设定控制键分别为Del、0。
Deactivate Script:当按下控制键Del时中断Script-Box02 Script,按下控制键0时同理。
Activate Script:当按下控制键Del时激活Script-Box01 Script,勾选True表示Script会执行Reset,不勾选表示Script会依照原来的状态,例如Deactivate状态,按下控制键0时同理。

 

(d) Box01

5.jpg

Switch On Key:设定控制键分别为8、2、4、6。
T X(pIn) * Elapsed Time = Y(pOut) Rotate:设定旋转轴Axis of Rotation-分别为X轴(1, 0, 0)、-X轴(-1, 0, 0)、Y轴(0, 1, 0)、-Y轴(0, -1, 0);且由pIn输入旋转角度值Angle of Rotation(Turn:圈数、Degree:角度);设定Referential of the Axis-设定-NULL-或Box01均可(如图标);勾选Hierarchy表示Building Blocks也同样应用在Child。
Per second:设定1秒钟所旋转的角度值X(Turn:圈数;Degree:角度),乘上一个Frame所花费时间,在pOut输出变量Y (旋转角度值)。

  • 暂无资料
  • 暂无资料
  • 暂无资料
  • 暂无资料
  • 暂无资料