当前位置:首页 > 编程开发

sandy 摄像机

webgou17年前 (2009-12-11)编程开发139

SandyCam Help.

The ViewFinder

This is the camera view of the Sandy world.
The ViewFinder(观景器) has a crosshair(十字线), that can be turned on or off, using the check box in the lower right corner.

The CameraControl

With the CameraControl in the right pane you control basic movements of the camera within the world.

Movements relative to the camera coordinate system.

Control Description Function
Tilt Rotation around the camera x axis tilt( angle ) 0 to 360 degrees
Roll Rotation around the camera z axis roll( angle ) -180 to 180 deg.
Pan Rotation around the camera y axis pan( angle ) 0 to 360 deg.
Upwards Translation along the camera y axis moveUpwards( distance )
Sideways Translation along the camera x axis moveSideways( distance )
Forward Translation along the camera z axis moveForward( distance )

Note: The moveUpwards() function seems to move the camera in the opposite direction in this version, which is probably a bug.

Movements relative to the world ( global ) coordinate system

Control Description Function
RotX Rotation around an axis through the camera and parallel to the global x axis rotateX( angle )
RotY Rotation around an axis through the camera and parallel to the global y axis rotateY( angle )
RotZ Rotation around an axis through the camera and parallel to the global z axis rotateZ( angle )
xPos Sets the x position of the camera in the global system setPosition( x, y, z )
yPos Sets the y position of the camera in the global system setPosition( x, y, z )
zPos Sets the z position of the camera in the global system setPosition( x, y, z )
Camera Position Show and set the camera position at [x,y,z] in the global system setPosition( x, y, z )
Reset Resets Camera Position and all controls  
Look At / Set Places a global coordinate point in the center of the camera view - direction of view. lookAt( x, y, z )
Focal Sets the camera focal ( nodal ) distance - in effect a zoom lens. setFocal( nodal distance )

Notes:

1. When you use Look At to point the camera in a certain direction, earlier rotations in the camera's own coordinate system are lost. The corresponding controls are not updated.

2. The reset button will reset the the camera position ad orientation, as well as all controls except the focal distance control.

来源:http://www.petitpub.com/labs/media/flash/sandy/examples/camera/help.html

扫描二维码推送至手机访问。

版权声明:本文由知了博客发布,如需转载请注明出处。

本文链接:https://www.webgou.info/?id=96

标签: sandy
分享给朋友:

“sandy 摄像机” 的相关文章

IE7 0DAY漏洞所用shellcode的分析

以下IE7 0DAY所用shellcode,其主要行为不外乎下载病毒到本机并运行,但是实现起来与一般短小的shellcode有所不同:1. 在进行实质性动作之前,shellcode进行了三个inline hook,hook的API函数分别为:kernel32!UnhandledExceptionFi…

axis支持的类型

那些java的对象是可以序列化为xml的, 并且可以从xml反序列化为java对象的?那些对象与xml之间不能够序列化和反序列化?在开发的时候应该注意哪些问题?根据我的理解, 有如下几种对象:1)axis1.2内在支持的几种对象类型。     &nb…

Unity + HybridCLR 社区版下 UniTask 泛型 AOT 问题排查记录

最近在接入小七 GameSDK 登录流程时,Android 真机上遇到了 HybridCLR + UniTask 的 AOT 泛型缺失问题。这里记录一下问题现象、排查过程和最终处理方案。问题现象真机日志里出现类似错误:AOT generic method not&nbs…

VPN(虚拟专用网络)

VPN(虚拟专用网络)…

Android 使用极光/友盟推送,APP进程在杀死后收不到推送的处理方法(转)

 为什么会存在这样的 问题,刚开始的时候我也搞不清楚,之前用极光的时候杀死程序后也会收到推送,但最近重新再去集成时就完全不好使了,这我就纳闷了,虽然Google在高版本上的Android上面不建议线程守护,所以将进程有关的Service都杀掉了,但旧版本还是有这个功能的啊 !真尼玛,后来猜…

Firefox about: pages

Special pages available in firefox : about: A simple prompt without any parameter will display the Mozilla “about” information. abou…

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。