using UnityEngine;using System.Collections; public class NPC : MonoBehaviour { //主摄像机对象 private Camera camera; //NPC名称 private string nam...
分类:
其他好文 时间:
2014-08-01 22:42:52
阅读次数:
176
meat 肉beef 牛肉pork 猪肉chicken 鸡肉mutton 羊肉bread 面包steamed bread 馒头rice noodles 米粉fried rice noodles 河粉steamed vermicelli roll 肠粉macaroni 通心粉bean thread 冬...
分类:
其他好文 时间:
2014-08-01 18:34:12
阅读次数:
274
三维空间的右手笛卡尔坐标如图1所示。图1在航空中,pitch, yaw, roll如图2所示。pitch是围绕X轴旋转,也叫做俯仰角,如图3所示。yaw是围绕Y轴旋转,也叫偏航角,如图4所示。roll是围绕Z轴旋转,也叫翻滚角,如图5所示。图2图3图4
分类:
其他好文 时间:
2014-07-31 16:34:26
阅读次数:
218
phonegap的拍照插件选择图库中的图片,代码如下:
navigator.camera.getPicture(function(uri){
console.log(uri);//这里得到图片的uri
}, this.failure, {
quality: 70,
destinationType: navigator.camera.DestinationType.FILE_...
分类:
移动开发 时间:
2014-07-31 13:28:36
阅读次数:
398
方法:private Camera openFrontFacingCameraGingerbread() { int cameraCount = 0; Camera cam = null; Camera.CameraInfo cameraInfo = new Camera.Came...
分类:
移动开发 时间:
2014-07-30 20:11:54
阅读次数:
169
1.调用系统摄像头 1.声明常量和变量 2.按钮点击事件,打开系统摄像头 3.重写onActivityResult事件接收拍照返回 4.生成文件名返回路径5.保存图片[java]view plaincopyprivatestaticfinalintTAKE_PICTURE=1;classbtnGot...
分类:
移动开发 时间:
2014-07-27 23:09:39
阅读次数:
245
【Rendering with Replaced Shaders】 It works like this: the camera renders the scene as it normally would. the objects still use their materials, but t....
分类:
其他好文 时间:
2014-07-27 22:26:09
阅读次数:
185
1、voidRender();Description Render the camera manually.This will render the camera. It will use the camera's clear flags, target texture and all other....
分类:
其他好文 时间:
2014-07-27 21:58:19
阅读次数:
335
本文主要介绍使用Google自带的FaceDetectionListener进行人脸检测,并将检测到的人脸用矩形框绘制出来。本文代码基于PlayCameraV1.0.0,在Camera的open和preview流程上进行了改动。原先是放在单独线程里,这次我又把它放到Surfaceview的生命周期里进行打开和开预览。 首先要反省下,去年就推出了静态图片的人脸检测demo,当时许诺一周内推出C...
分类:
移动开发 时间:
2014-07-25 11:19:01
阅读次数:
1085
You can use your robot to send real-time video images, and this could be a very interesting DIY robotic application. In this article, we make an overview of three possible ways for real-time streaming...
分类:
移动开发 时间:
2014-07-24 23:39:43
阅读次数:
634