- 最后登录
- 2017-4-1
- 注册时间
- 2011-7-26
- 阅读权限
- 90
- 积分
- 24690
  
- 纳金币
- 24658
- 精华
- 6
|
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.
|
|