查看: 3093|回复: 0
打印 上一主题 下一主题

unity3d/AR实现方案的对比

[复制链接]

1602

主题

1

听众

2万

积分

资深设计师

Rank: 7Rank: 7Rank: 7

纳金币
24658
精华
6

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

跳转到指定楼层
楼主
发表于 2012-7-21 14:16:59 |只看该作者 |倒序浏览
AR应用忽然就比较流行起来了,这是老外做一个unity3d AR解决方案的对比,有兴趣的朋友可以深入研究下!

I have made a system which enables you to use multiple markers but only use one coordinate system. It is compatible with both Vuforia and String.
Download here:
http://pilotpage.monosock.org/filead...rdinate_03.zip

Features video:

http://vimeo.com/39677324

A few notes:
There is a bug in the messge system which prevents messages from showing up. To fix it, change "displayTimed" to "DisplayTimed" at StartCoroutine and StopCoroutine.

Prerequisites:
-Unity3d 3.5 or later
-Vectrosity (can be purchased at starscenesoftware.com)
-UniFileBrowser (can be purchased at starscenesoftware.com)
-ObjReader (can be purchased at starscenesoftware.com)
-String AR (Developer License) or Vuforia AR. String can be purchased at poweredbystring.com
and Vuforia can be downloaded for free at: ar.qualcomm.at/qdevnet/sdk

Make sure you you use the latest version of all software.

-With this release, you can use different sized Image Targets when using Vuforia but due to a bug, you cannot use markers with a size x=1.0 when using different sized markers and you have to remove the SAMESIZE preprocessor. If all your markers have the same size, set the SAMESIZE preprocessor and then you can use markers which have a size x=1.0 as well.
-The installation process has changed. Please read it again carefully.

Changelog v0.3
-Added *.obj object reader. You can now load more complex shapes created with 3rd party 3d modeling software. These models can be used as geometry just like the build-in primitives. Get it at starscenesoftware.com.
-Added save file version check when loading.
-Added cylinder primitive for geometry creation.
-Added support for different sized markers in one scene for use with Vuforia Image Targets.
-Added ability to create more geometry objects for one scene.
-Added custom filter for vastly improved pose estimation quality and pose error detection for Vuforia.
-Can now use different 3d scenes which will be loaded according to the selected ucs scene.
-Camera focus for Vuforia works again.
-Various speed improvements.
-More accurate marker outline for String.
-Cube geometry can now be stretched in the downward direction as well.
-Changed all applicable QCAR references to Vuforia according to the new marketing guidelines byQualcomm.
-Changed save file to text format for cross platform compatibility.
-Geometry is not automatically attached to a marker anymore when placing.
-Added more debug buttons.
-Video texture plane and camera are created at***ntime so it doesn't interfere with game content creation in the editor.
-Fixed a bug which caused the FrameMarkersManual scene to call SetMorph() when it should not.
-Fixed a bug which caused a game menu button event to be incorrectly generated.
-Fixed a bug which caused some button events to be incorrectly***cuted.
-Fixed a bug which prevented a dataset to be loaded when using Vuforia image targets on Android.
-Fixed a bug which prevented mouse click events not to be applied to objects behind the file browser window.
-Fixed a bug which prevented a mouse click event to be properly registered when tapping on a game object when using Vuforia.
-Fixed a bug which sometimes caused the video background to be scaled incorrectly on Android.
-Fixed a bug which caused the video texture special effect to be incorrectly drawn on some Android and IOS devices.
-Fixed a bug where the full path instead of a file name was shown in the Windows Unity3d Editor.
-Fixed a bug which sometimes caused a geometry object outline to be shown in game mode.
-Fixed a bug which sometimes prevented an object from being able to be deleted by the user.
-Fixed a bug which crashed some Android devices if a file was saved twice in a row.

From the manual:

Introduction
Most Augmented Reality applications draw some 3d content on top of a marker or around a marker. With this method the marker must be in view at all times and camera movement is therefore restricted. The Method described here uses multiple markers and brings them into a single coordinate system. This enables you to point the camera anywhere, as long as there are enough markers scattered around. Another problem is that a normal AR scene is not interactive. The software does not know where for example the walls and floor of the physical scene are. The software described here solves that problem with a geometry creation system. This package also contains a special effect example which makes use of the video texture.

Vuforia uses a similar approach with the multitarget system but the relative marker position must be available during compile time which is often not the case. Also, a method for finding out what the relative marker position is in the first place is not available. Therefore, a dynamic, user based content creation system cannot be used with the Vuforia multitarget system.
The code included in this package is meant to be a reference or framework for game or application development and is not meant to be a game or useful application on it's own.
Introduction Most Augmented Reality applications draw some 3d content on top of a marker or around a marker. With this method the marker must be in view at all times and camera movement is therefore restricted. The Method described here uses multiple markers and brings them into a single coordinate system. This enables you to point the camera anywhere, as long as there are enough markers scattered around. Another common problem is that a normal AR scene is not interactive. The software does not know where for example the walls and floor of the physical scene are. The software described here solves that problem with a geometry creation system. This package also contains some special effects examples which make use of the video texture.
Vuforia uses a similar unified coordinate system approach with the MultiTarget system but the relative marker position must be available during compile time which is often not the case. Also, a method for finding out what the relative marker position is in the first place is not available. Therefore, a dynamic, user based content creation system cannot be used with the Vuforia MultiTarget system.
The code included in this package is meant to be a reference or framework for game or application development and is not meant to be a game or useful application on its own.
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2025-6-14 23:33 , Processed in 0.068617 second(s), 28 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部