帮酷LOGO
  • 显示原文与译文双语对照的内容
文章标签:for  Unity  DES  桌面  plugin  
Plug-in for Vuforia 4

  • 源代码名称:RegionCapture
  • 源代码网址:http://www.github.com/maximrouf/RegionCapture
  • RegionCapture源代码文档
  • RegionCapture源代码下载
  • Git URL:
    git://www.github.com/maximrouf/RegionCapture.git
  • Git Clone代码到本地:
    git clone http://www.github.com/maximrouf/RegionCapture
  • Subversion代码到本地:
    $ svn co --depth empty http://www.github.com/maximrouf/RegionCapture
    Checked out revision 1.
    $ cd repo
    $ svn up trunk
  • 纹理区域捕获( Ver 。 2.0.9 )

    统一 2017和更高版本的插件

    与 Vuforia 6. X - 7.x 兼容

    ARCore & ARKit - 即将推出

    不支持 EasyAR ( 的特殊版本为 EasyAR

    Region Capture description

    如何设置:

    1. Start a new Unity project
    2. Open the Layers-tab in"Project settings -> Tags and Layers" and set the"Layer №20" name as"Region_Capture" 
    3. Go to"Project settings -> Player" and select the"XR Settings -> Vuforia" checkbox
    4. Then click in the upper menu to"GameObject -> Vuforia -> ARCamera" (to import Vuforia files into the project)
    5. Now you can import the"RegionCapture_2.0.unitypackage" into your project
    6. Select"Resources -> VuforiaConfiguration" in the"Project View" and paste your licence key in the upper field
    7. Also you need to enable"Load StonesAndChips" checkbox in the"Datasets" rollout and click"Activate"
    8. Then set the"World Center Mode" in the ARCamera settings as"First_Target"
    9. Run the demo-scenes into"Assets -> Region_Capture -> Examples"

    如何使用:

    1. Set the custom Scale, Position and Rotation to modify region-size
    2. Get Texture from"Render_Texture_Camera" in"PlayMode" - RenderTextureCamera.GetRenderTexture()
    3. Enable the option -"Check if the plane is out of bounds" on the"RegionCapture" GameObject 
     to get the some scripted Unity Events, if the capturing plane is out of a Camera bounds
    4. If all works fine - switch off Layer"Region_Capture" in : ARCamera -> Camera -> Culling Mask 
     (or enable the"Hide this layer from ARCamera" checkbox);
    5. You can switch from"Game" to the"Scene" window in PlayMode only after the marker is found.

    可用的方法:

    Region_Capture.RecalculateRegionSize();//Call it - if the marker has changed
    RenderTextureCamera.RecalculateTextureSize();//Call it - if the marker or size of renderTexture has changed
    RenderTextureCamera.MakeScreen();//Call it - if you want to save RegionTexture to localStorage

    如果你看到捕获图像或者其他 Bug的移动,请在这里报告

    Bug 报告应采用以下格式:

    1. Unity version
    2. Vuforia version
    3. RegionCapture version
    4. Device name
    5. Device OS version
    6. Orientation of the device (portrait/landscape/both)

    如果你想附加屏幕截图,请使用图像上传服务。 ( 例如- https://imgbb.com )

    最好的考虑,Maxim Rouf



    文章标签:plugin  for  DES  桌面  Unity  

    Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备05059198号-3  |  如果智培  |  酷兔英语