├── apps └── myApps │ └── EasyARTest │ ├── EasyARTest.VC.opendb │ ├── addons.make │ ├── bin │ └── data │ │ ├── axe.jpg │ │ ├── dwarf.jpg │ │ ├── idback.jpg │ │ ├── namecard.jpg │ │ ├── sightplus │ │ ├── argame00.jpg │ │ ├── argame01.jpg │ │ ├── argame02.jpg │ │ └── argame03.jpg │ │ ├── targets.json │ │ └── targets2.json │ ├── icon.rc │ ├── src │ ├── main.cpp │ ├── ofApp.h │ └── ofApp.cpp │ ├── EasyARTest.vcxproj.user │ ├── EasyARTest.sln │ ├── EasyARTest.vcxproj.filters │ └── EasyARTest.vcxproj ├── ofxEasyAR.png ├── addons └── ofxEasyAR │ ├── libs │ └── EasyAR │ │ ├── lib │ │ └── vs │ │ │ └── x64 │ │ │ └── EasyAR.lib │ │ ├── include │ │ └── easyar │ │ │ ├── storage.hpp │ │ │ ├── frame.hpp │ │ │ ├── barcode.hpp │ │ │ ├── utility.hpp │ │ │ ├── base.hpp │ │ │ ├── image.hpp │ │ │ ├── tracker.hpp │ │ │ ├── augmenter.hpp │ │ │ ├── player.hpp │ │ │ ├── camera.hpp │ │ │ ├── target.hpp │ │ │ └── matrix.hpp │ │ └── license │ │ └── LICENSE │ └── src │ ├── ofxEasyAR.hpp │ └── ofxEasyAR.cpp └── README.md /apps/myApps/EasyARTest/EasyARTest.VC.opendb: -------------------------------------------------------------------------------- 1 | WeiHuanWEIHUAN-Y50 -------------------------------------------------------------------------------- /ofxEasyAR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weihuan/ofxEasyAR/HEAD/ofxEasyAR.png -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/addons.make: -------------------------------------------------------------------------------- 1 | ofxAssimpModelLoader 2 | ofxEasyAR 3 | ofxGui 4 | -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/bin/data/axe.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weihuan/ofxEasyAR/HEAD/apps/myApps/EasyARTest/bin/data/axe.jpg -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/bin/data/dwarf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weihuan/ofxEasyAR/HEAD/apps/myApps/EasyARTest/bin/data/dwarf.jpg -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/bin/data/idback.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weihuan/ofxEasyAR/HEAD/apps/myApps/EasyARTest/bin/data/idback.jpg -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/bin/data/namecard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weihuan/ofxEasyAR/HEAD/apps/myApps/EasyARTest/bin/data/namecard.jpg -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/lib/vs/x64/EasyAR.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weihuan/ofxEasyAR/HEAD/addons/ofxEasyAR/libs/EasyAR/lib/vs/x64/EasyAR.lib -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/bin/data/sightplus/argame00.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weihuan/ofxEasyAR/HEAD/apps/myApps/EasyARTest/bin/data/sightplus/argame00.jpg -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/bin/data/sightplus/argame01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weihuan/ofxEasyAR/HEAD/apps/myApps/EasyARTest/bin/data/sightplus/argame01.jpg -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/bin/data/sightplus/argame02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weihuan/ofxEasyAR/HEAD/apps/myApps/EasyARTest/bin/data/sightplus/argame02.jpg -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/bin/data/sightplus/argame03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weihuan/ofxEasyAR/HEAD/apps/myApps/EasyARTest/bin/data/sightplus/argame03.jpg -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/icon.rc: -------------------------------------------------------------------------------- 1 | // Icon Resource Definition 2 | #define MAIN_ICON 102 3 | 4 | #if defined(_DEBUG) 5 | MAIN_ICON ICON "icon_debug.ico" 6 | #else 7 | MAIN_ICON ICON "icon.ico" 8 | #endif 9 | -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/bin/data/targets.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : 3 | [ 4 | { 5 | "image" : "sightplus/argame00.jpg", 6 | "name" : "argame" 7 | }, 8 | { 9 | "image" : "idback.jpg", 10 | "name" : "idback", 11 | "size" : [8.56, 5.4], 12 | "uid" : "uid-string" 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/bin/data/targets2.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : 3 | [ 4 | { 5 | "image" : "sightplus/argame01.jpg", 6 | "name" : "argame01" 7 | }, 8 | { 9 | "image" : "sightplus/argame02.jpg", 10 | "name" : "argame02" 11 | }, 12 | { 13 | "image" : "sightplus/argame03.jpg", 14 | "name" : "argame03" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/src/main.cpp: -------------------------------------------------------------------------------- 1 | #include "ofMain.h" 2 | #include "ofApp.h" 3 | 4 | //======================================================================== 5 | int main( ){ 6 | ofSetupOpenGL(640,480,OF_WINDOW); // <-------- setup the GL context 7 | 8 | // this kicks off the running of my app 9 | // can be OF_WINDOW or OF_FULLSCREEN 10 | // pass in width and height too: 11 | ofRunApp(new ofApp()); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/include/easyar/storage.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2016 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. 3 | * EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China 4 | * and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 5 | */ 6 | 7 | #ifndef __EASYAR_STORAGE_HPP__ 8 | #define __EASYAR_STORAGE_HPP__ 9 | 10 | namespace EasyAR{ 11 | 12 | enum StorageType 13 | { 14 | kStorageApp, 15 | kStorageAssets, 16 | kStorageAbsolute, 17 | kStorageJson = 1 << 8, 18 | }; 19 | 20 | } 21 | #endif 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ofxEasyAR 2 | a rough trial addon to use EasyAR SDK with openframeworks 3 | 4 | EasyAR http://www.easyar.cn is a augmented reality sdk from china, I tried to use it without their Unity Plugin, 5 | openframeworks http://openframeworks.cc is an opengl based creative coding platform, I thought maybe someone want to play with this AR sdk. 6 | My code is very badly organized, ofxEasyAR class just copy a lot of code from the EasyARSDKSamples andriod "HelloARNative", but I works on windows vs2015 x64 with of_v0.9.3_vs_release. I dont do android or ios test, sorry for that. The example display a animation model on your ID card(if you are an chinese you will have one). 7 | 8 | 尝试一下在openframeworks里用一下EasyAR,总的来说EasyAR的跟踪还是比较稳定的,身份证反光也能跟踪到,显然图像上做了很多优化,期待国人开发出具有世界竞争力的增强现实开发工具,必须支持国货! 9 | 10 | ![](https://github.com/weihuan/ofxEasyAR/blob/master/ofxEasyAR.png) 11 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/include/easyar/frame.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2016 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. 3 | * EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China 4 | * and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 5 | */ 6 | 7 | #ifndef __EASYAR_FRAME_HPP__ 8 | #define __EASYAR_FRAME_HPP__ 9 | 10 | #include "easyar/base.hpp" 11 | 12 | namespace EasyAR{ 13 | 14 | class AugmentedTargetList; 15 | 16 | class Frame : public RefBase 17 | { 18 | public: 19 | Frame(); 20 | virtual ~Frame(); 21 | 22 | double timeStamp() const; 23 | int index() const; 24 | ImageList images(); 25 | AugmentedTargetList targets(); 26 | const char* text(); 27 | }; 28 | 29 | } 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/include/easyar/barcode.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2016 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. 3 | * EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China 4 | * and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 5 | */ 6 | 7 | #ifndef __EASYAR_BARCODE_HPP__ 8 | #define __EASYAR_BARCODE_HPP__ 9 | 10 | #include "easyar/base.hpp" 11 | 12 | namespace EasyAR{ 13 | 14 | class CameraDevice; 15 | 16 | class BarCodeScanner : public RefBase 17 | { 18 | public: 19 | BarCodeScanner(); 20 | virtual ~BarCodeScanner(); 21 | 22 | virtual bool attachCamera(const CameraDevice& obj); 23 | virtual bool detachCamera(const CameraDevice& obj); 24 | 25 | virtual bool start(); 26 | virtual bool stop(); 27 | }; 28 | 29 | } 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/include/easyar/utility.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2016 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. 3 | * EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China 4 | * and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 5 | */ 6 | 7 | #ifndef __EASYAR_UTILITY_HPP__ 8 | #define __EASYAR_UTILITY_HPP__ 9 | 10 | #include "easyar/base.hpp" 11 | #include "easyar/matrix.hpp" 12 | 13 | namespace EasyAR{ 14 | 15 | class CameraCalibration; 16 | 17 | Matrix44F getProjectionGL(const CameraCalibration& calib, float nearPlane, float farPlane); 18 | Matrix44F getPoseGL(const Matrix34F& pose); 19 | 20 | bool initialize(const char* key); 21 | void onResume(); 22 | void onPause(); 23 | void setRotationIOS(int rotation); 24 | const char* versionString(); 25 | } 26 | #endif 27 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/src/ofxEasyAR.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // ofxEasyAR.h 3 | // Created by Wei Huan on 7/4/16. 4 | // 5 | 6 | #pragma once 7 | 8 | #include "ofMain.h" 9 | 10 | #include "easyar/camera.hpp" 11 | #include "easyar/tracker.hpp" 12 | #include "easyar/augmenter.hpp" 13 | #include "easyar/target.hpp" 14 | #include "easyar/frame.hpp" 15 | #include "easyar/utility.hpp" 16 | 17 | #include 18 | 19 | class ofxEasyAR 20 | { 21 | public: 22 | ofxEasyAR(); 23 | ~ofxEasyAR(); 24 | 25 | void setup(std::string key); 26 | 27 | bool initCamera(); 28 | void loadFromImage(const std::string& path); 29 | void loadFromJsonFile(const std::string& path, const std::string& targetname); 30 | void loadAllFromJsonFile(const std::string& path); 31 | bool start(); 32 | bool stop(); 33 | bool clear(); 34 | 35 | //void initGL(); 36 | //void resizeGL(int width, int height); 37 | //void render(); 38 | void setPortrait(bool portrait); 39 | 40 | //protected: 41 | EasyAR::CameraDevice camera_; 42 | EasyAR::ImageTracker tracker_; 43 | EasyAR::Augmenter augmenter_; 44 | bool portrait_; 45 | 46 | }; -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/EasyARTest.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(ProjectDir)/bin 5 | WindowsLocalDebugger 6 | 7 | 8 | $(ProjectDir)/bin 9 | WindowsLocalDebugger 10 | 11 | 12 | $(ProjectDir)/bin 13 | WindowsLocalDebugger 14 | 15 | 16 | $(ProjectDir)/bin 17 | WindowsLocalDebugger 18 | 19 | -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/src/ofApp.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "ofMain.h" 4 | #include "ofxEasyAR.hpp" 5 | #include "ofxAssimpModelLoader.h" 6 | #include "ofVboMesh.h" 7 | 8 | static std::string key = "677261b33cec2755aeb14f4fe48664705Rfl9b2K8ySCqm0pOuym6QzrD8PtSBu87cXvEL0U0Hp5i1MjjQT27omy7CZGocbxi7cacb2j09OVyImCBChzCuzgpAsuhUxdxHy5ZgMAkEm0Pm0Wglzovmoj1fwdIHULU9jfxztYkB9DnQy0NVkqmk648LYXtp8V8tkh6ELB"; 9 | 10 | 11 | class ofApp : public ofBaseApp{ 12 | 13 | public: 14 | void setup(); 15 | void update(); 16 | void draw(); 17 | 18 | void keyPressed(int key); 19 | void keyReleased(int key); 20 | void mouseMoved(int x, int y ); 21 | void mouseDragged(int x, int y, int button); 22 | void mousePressed(int x, int y, int button); 23 | void mouseReleased(int x, int y, int button); 24 | void mouseEntered(int x, int y); 25 | void mouseExited(int x, int y); 26 | void windowResized(int w, int h); 27 | void dragEvent(ofDragInfo dragInfo); 28 | void gotMessage(ofMessage msg); 29 | 30 | 31 | ofxEasyAR mEasyAR; 32 | 33 | ofImage mVideoFrame; 34 | double mLastFrameTimeStamp; 35 | 36 | ofBoxPrimitive mBox; 37 | ofxAssimpModelLoader mModel; 38 | ofLight mLight; 39 | 40 | }; 41 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/include/easyar/base.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2016 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. 3 | * EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China 4 | * and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 5 | */ 6 | 7 | #ifndef __EASYAR_BASE_HPP__ 8 | #define __EASYAR_BASE_HPP__ 9 | 10 | namespace EasyAR{ 11 | 12 | class RefData; 13 | 14 | class RefBase 15 | { 16 | public: 17 | RefBase(); 18 | virtual ~RefBase(); 19 | 20 | RefBase(const RefBase& b); 21 | RefBase& operator=(const RefBase& b); 22 | 23 | operator bool() const; 24 | bool operator ==(const RefBase& other) const; 25 | bool operator !=(const RefBase& other) const; 26 | template T cast_dynamic() const { return cast_dynamic(static_cast(0)); } 27 | template T cast_static() const { return cast_static(static_cast(0)); } 28 | void clear(); 29 | protected: 30 | template T cast_dynamic(T* t) const; 31 | template T cast_static(T* t) const; 32 | RefData* data_; 33 | }; 34 | 35 | } 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/include/easyar/image.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2016 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. 3 | * EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China 4 | * and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 5 | */ 6 | 7 | #ifndef __EASYAR_IMAGE_HPP__ 8 | #define __EASYAR_IMAGE_HPP__ 9 | 10 | #include "easyar/base.hpp" 11 | 12 | namespace EasyAR{ 13 | 14 | enum PixelFormat 15 | { 16 | kPixelFormatUnknown, 17 | kPixelFormatGray, 18 | kPixelFormatYUV_NV21, 19 | kPixelFormatYUV_NV12, 20 | kPixelFormatRGB888, 21 | kPixelFormatBGR888, 22 | kPixelFormatRGBA8888, 23 | }; 24 | 25 | class Image : public RefBase 26 | { 27 | public: 28 | Image(); 29 | virtual ~Image(); 30 | 31 | int width() const; 32 | int height() const; 33 | int stride() const; 34 | PixelFormat format() const; 35 | const void* data() const; 36 | }; 37 | 38 | class ImageList : public RefBase 39 | { 40 | public: 41 | ImageList(); 42 | virtual ~ImageList(); 43 | 44 | int size() const; 45 | Image operator [](int idx); 46 | Image at(int idx); 47 | }; 48 | 49 | } 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/include/easyar/tracker.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2016 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. 3 | * EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China 4 | * and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 5 | */ 6 | 7 | #ifndef __EASYAR_TRACKER_HPP__ 8 | #define __EASYAR_TRACKER_HPP__ 9 | 10 | #include "easyar/base.hpp" 11 | 12 | namespace EasyAR{ 13 | 14 | class Target; 15 | class TargetList; 16 | class CameraDevice; 17 | 18 | class TargetLoadCallBack 19 | { 20 | public: 21 | virtual void operator() (const Target dataset, const bool status) = 0; 22 | }; 23 | 24 | 25 | class ImageTracker : public RefBase 26 | { 27 | public: 28 | ImageTracker(); 29 | virtual ~ImageTracker(); 30 | 31 | virtual bool attachCamera(const CameraDevice& obj); 32 | virtual bool detachCamera(const CameraDevice& obj); 33 | 34 | virtual void loadTarget(const Target& obj, TargetLoadCallBack* callback = 0); 35 | virtual bool loadTargetBlocked(const Target& obj); 36 | virtual void unloadTarget(const Target& obj, TargetLoadCallBack* callback = 0); 37 | virtual bool unloadTargetBlocked(const Target& obj); 38 | 39 | virtual TargetList targets(); 40 | 41 | virtual bool start(); 42 | virtual bool stop(); 43 | }; 44 | 45 | } 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/include/easyar/augmenter.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2016 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. 3 | * EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China 4 | * and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 5 | */ 6 | 7 | #ifndef __EASYAR_AUGMENTER_HPP__ 8 | #define __EASYAR_AUGMENTER_HPP__ 9 | 10 | #include "easyar/base.hpp" 11 | #include "easyar/matrix.hpp" 12 | #include "easyar/image.hpp" 13 | 14 | namespace EasyAR{ 15 | 16 | class ImageTracker; 17 | class BarCodeScanner; 18 | class Frame; 19 | 20 | class Augmenter : public RefBase 21 | { 22 | public: 23 | enum API 24 | { 25 | kAugmenterAPIDefault, 26 | kAugmenterAPINONE, 27 | kAugmenterAPIGLES2, 28 | kAugmenterAPIGL, 29 | kAugmenterAPID3D9, 30 | kAugmenterAPID3D11, 31 | }; 32 | Augmenter(); 33 | virtual ~Augmenter(); 34 | 35 | void chooseAPI(API api = kAugmenterAPIDefault, void* device = 0); 36 | Frame newFrame(const ImageTracker& obj); 37 | Frame newFrame(const BarCodeScanner& obj); 38 | void setViewPort(const Vec4I& viewport); 39 | Vec4I viewPort() const; 40 | bool drawVideoBackground(); 41 | 42 | Vec2I videoBackgroundTextureSize(); 43 | PixelFormat videoBackgroundTextureFormat(); 44 | bool setVideoBackgroundTextureID(int id); 45 | bool setVideoBackgroundTextureID(void* id); 46 | bool retrieveVideoBackground(int id); 47 | bool retrieveVideoBackground(void* id); 48 | 49 | int id() const; 50 | }; 51 | 52 | } 53 | #endif 54 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/include/easyar/player.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2016 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. 3 | * EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China 4 | * and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 5 | */ 6 | 7 | #ifndef __EASYAR_PLAYER_HPP__ 8 | #define __EASYAR_PLAYER_HPP__ 9 | 10 | #include "easyar/base.hpp" 11 | #include "easyar/storage.hpp" 12 | #include "easyar/matrix.hpp" 13 | 14 | namespace EasyAR{ 15 | 16 | class VideoPlayerCallBack; 17 | 18 | class VideoPlayer : public RefBase 19 | { 20 | public: 21 | enum Status 22 | { 23 | kVideoError = -1, 24 | kVideoReady, 25 | kVideoCompleted, 26 | }; 27 | enum VideoType 28 | { 29 | kVideoTypeNormal, 30 | kVideoTypeTransparentSideBySide, 31 | kVideoTypeTransparentTopAndBottom, 32 | }; 33 | 34 | VideoPlayer(); 35 | virtual ~VideoPlayer(); 36 | 37 | //! should be called before open 38 | void setRenderTexture(int texture); 39 | //! only have effect when called before open 40 | void setVideoType(VideoType videoType); 41 | 42 | void open(const char* path, StorageType storageType, VideoPlayerCallBack* callback = 0); 43 | void close(); 44 | 45 | bool play(); 46 | bool stop(); 47 | bool pause(); 48 | void updateFrame(); 49 | 50 | int duration(); 51 | int currentPosition(); 52 | bool seek(int position); 53 | Vec2I size(); 54 | float volume(); 55 | bool setVolume(float volume); 56 | }; 57 | 58 | class VideoPlayerCallBack 59 | { 60 | public: 61 | virtual void operator() (VideoPlayer::Status status) = 0; 62 | }; 63 | 64 | } 65 | 66 | #endif 67 | -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/EasyARTest.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 12.00 2 | # Visual Studio 14 3 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EasyARTest", "EasyARTest.vcxproj", "{7FD42DF7-442E-479A-BA76-D0022F99702A}" 4 | EndProject 5 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openframeworksLib", "..\..\..\libs\openFrameworksCompiled\project\vs\openframeworksLib.vcxproj", "{5837595D-ACA9-485C-8E76-729040CE4B0B}" 6 | EndProject 7 | Global 8 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 9 | Debug|Win32 = Debug|Win32 10 | Debug|x64 = Debug|x64 11 | Release|Win32 = Release|Win32 12 | Release|x64 = Release|x64 13 | EndGlobalSection 14 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 15 | {7FD42DF7-442E-479A-BA76-D0022F99702A}.Debug|Win32.ActiveCfg = Debug|Win32 16 | {7FD42DF7-442E-479A-BA76-D0022F99702A}.Debug|Win32.Build.0 = Debug|Win32 17 | {7FD42DF7-442E-479A-BA76-D0022F99702A}.Debug|x64.ActiveCfg = Debug|x64 18 | {7FD42DF7-442E-479A-BA76-D0022F99702A}.Debug|x64.Build.0 = Debug|x64 19 | {7FD42DF7-442E-479A-BA76-D0022F99702A}.Release|Win32.ActiveCfg = Release|Win32 20 | {7FD42DF7-442E-479A-BA76-D0022F99702A}.Release|Win32.Build.0 = Release|Win32 21 | {7FD42DF7-442E-479A-BA76-D0022F99702A}.Release|x64.ActiveCfg = Release|x64 22 | {7FD42DF7-442E-479A-BA76-D0022F99702A}.Release|x64.Build.0 = Release|x64 23 | {5837595D-ACA9-485C-8E76-729040CE4B0B}.Debug|Win32.ActiveCfg = Debug|Win32 24 | {5837595D-ACA9-485C-8E76-729040CE4B0B}.Debug|Win32.Build.0 = Debug|Win32 25 | {5837595D-ACA9-485C-8E76-729040CE4B0B}.Debug|x64.ActiveCfg = Debug|x64 26 | {5837595D-ACA9-485C-8E76-729040CE4B0B}.Debug|x64.Build.0 = Debug|x64 27 | {5837595D-ACA9-485C-8E76-729040CE4B0B}.Release|Win32.ActiveCfg = Release|Win32 28 | {5837595D-ACA9-485C-8E76-729040CE4B0B}.Release|Win32.Build.0 = Release|Win32 29 | {5837595D-ACA9-485C-8E76-729040CE4B0B}.Release|x64.ActiveCfg = Release|x64 30 | {5837595D-ACA9-485C-8E76-729040CE4B0B}.Release|x64.Build.0 = Release|x64 31 | EndGlobalSection 32 | GlobalSection(SolutionProperties) = preSolution 33 | HideSolutionNode = FALSE 34 | EndGlobalSection 35 | EndGlobal 36 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/include/easyar/camera.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2016 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. 3 | * EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China 4 | * and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 5 | */ 6 | 7 | #ifndef __EASYAR_CAMERA_HPP__ 8 | #define __EASYAR_CAMERA_HPP__ 9 | 10 | #include "easyar/base.hpp" 11 | #include "easyar/matrix.hpp" 12 | 13 | namespace EasyAR{ 14 | 15 | class CameraCalibration : public RefBase 16 | { 17 | public: 18 | CameraCalibration(); 19 | ~CameraCalibration(); 20 | 21 | Vec2I size() const; 22 | Vec2F focalLength() const; 23 | Vec2F principalPoint() const; 24 | Vec4F distortionParameters() const; 25 | }; 26 | 27 | class CameraDevice : public RefBase 28 | { 29 | public: 30 | CameraDevice(); 31 | virtual ~CameraDevice(); 32 | 33 | enum FocusMode 34 | { 35 | kFocusModeNormal, 36 | kFocusModeTriggerauto, 37 | kFocusModeContinousauto, 38 | kFocusModeInfinity, 39 | kFocusModeMacro, 40 | }; 41 | 42 | enum Device 43 | { 44 | kDeviceDefault, 45 | kDeviceBack, 46 | kDeviceFront, 47 | }; 48 | 49 | virtual bool start(); 50 | virtual bool stop(); 51 | 52 | bool open(int camera = kDeviceDefault); 53 | //! auto detach from everything 54 | bool close(); 55 | bool isOpened(); 56 | 57 | float frameRate() const; 58 | int supportedFrameRateCount() const; 59 | float supportedFrameRate(int idx) const; 60 | //! the proximal value avalible will be selected, use frameRate to get the actural size 61 | bool setFrameRate(float fps); 62 | 63 | Vec2I size() const; 64 | int supportedSizeCount() const; 65 | Vec2I supportedSize(int idx) const; 66 | //! the proximal value avalible will be selected, use size to get the actural size 67 | bool setSize(Vec2I size); 68 | 69 | CameraCalibration cameraCalibration() const; 70 | bool setFlashTorchMode(bool on); 71 | bool setFocusMode(FocusMode focusMode); 72 | }; 73 | 74 | } 75 | #endif 76 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/include/easyar/target.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2016 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. 3 | * EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China 4 | * and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 5 | */ 6 | 7 | #ifndef __EASYAR_TARGET_HPP__ 8 | #define __EASYAR_TARGET_HPP__ 9 | 10 | #include "easyar/base.hpp" 11 | #include "easyar/storage.hpp" 12 | #include "easyar/matrix.hpp" 13 | 14 | namespace EasyAR{ 15 | 16 | class ImageList; 17 | 18 | class Target : public RefBase 19 | { 20 | public: 21 | Target(); 22 | virtual ~Target(); 23 | 24 | //! load named target if name is not empty, otherwise load the first target 25 | virtual bool load(const char* path, int storageType, const char* name = 0); 26 | //! id is valid (non-zero) only after a successfull load 27 | int id() const; 28 | const char* uid() const; 29 | const char* name() const; 30 | const char* metaData() const; 31 | //! data will be copied as string 32 | bool setMetaData(const char* data); 33 | ImageList images(); 34 | }; 35 | 36 | class TargetList : public RefBase 37 | { 38 | public: 39 | TargetList(); 40 | virtual ~TargetList(); 41 | 42 | bool load(const char* path, int storageType); 43 | int size() const; 44 | Target operator [](int idx); 45 | Target at(int idx); 46 | bool insert(const Target& target); 47 | bool erase(const Target& target); 48 | }; 49 | 50 | class ImageTarget : public Target 51 | { 52 | public: 53 | ImageTarget(); 54 | virtual ~ImageTarget(); 55 | 56 | virtual bool load(const char* path, int storageType, const char* name = 0); 57 | Vec2F size() const; 58 | bool setSize(const Vec2F& size); 59 | }; 60 | 61 | class AugmentedTarget : public RefBase 62 | { 63 | public: 64 | enum Status 65 | { 66 | kTargetStatusUnknown, 67 | kTargetStatusUndefined, 68 | kTargetStatusDetected, 69 | kTargetStatusTracked, 70 | }; 71 | 72 | AugmentedTarget(); 73 | virtual ~AugmentedTarget(); 74 | 75 | virtual Status status() const; 76 | virtual Target target() const; 77 | virtual Matrix34F pose() const; 78 | }; 79 | 80 | class AugmentedTargetList : public RefBase 81 | { 82 | public: 83 | AugmentedTargetList(); 84 | virtual ~AugmentedTargetList(); 85 | 86 | int size() const; 87 | AugmentedTarget operator [](int idx); 88 | AugmentedTarget at(int idx); 89 | }; 90 | 91 | } 92 | #endif 93 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/include/easyar/matrix.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2016 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. 3 | * EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China 4 | * and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 5 | */ 6 | 7 | #ifndef __EASYAR_MATRIX_HPP__ 8 | #define __EASYAR_MATRIX_HPP__ 9 | 10 | namespace EasyAR{ 11 | 12 | template class Matrix 13 | { 14 | public: 15 | Matrix(); 16 | explicit Matrix(const _Tp* vals); 17 | public: 18 | _Tp data[m*n]; 19 | }; 20 | 21 | template class Vec : public Matrix<_Tp, cn, 1> 22 | { 23 | public: 24 | Vec(); 25 | explicit Vec(const _Tp* values); 26 | Vec(_Tp v0); 27 | Vec(_Tp v0, _Tp v1); 28 | Vec(_Tp v0, _Tp v1, _Tp v2); 29 | Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3); 30 | 31 | const _Tp& operator [](int i) const; 32 | _Tp& operator[](int i); 33 | }; 34 | 35 | template inline 36 | Matrix<_Tp, m, n>::Matrix() 37 | { 38 | for(int i = 0; i < m*n; i++) data[i] = _Tp(0); 39 | } 40 | 41 | template inline 42 | Matrix<_Tp, m, n>::Matrix(const _Tp* _data) 43 | { 44 | for(int i = 0; i < m*n; i++) data[i] = _data[i]; 45 | } 46 | 47 | template inline 48 | Vec<_Tp, cn>::Vec() {} 49 | 50 | template inline 51 | Vec<_Tp, cn>::Vec(const _Tp* _data) 52 | : Matrix<_Tp, cn, 1>(_data) {} 53 | 54 | template inline 55 | Vec<_Tp, cn>::Vec(_Tp v0) 56 | { 57 | this->data[0] = v0; 58 | for(int i = 1; i < cn; i++) this->data[i] = _Tp(0); 59 | } 60 | 61 | template inline 62 | Vec<_Tp, cn>::Vec(_Tp v0, _Tp v1) 63 | { 64 | this->data[0] = v0; this->data[1] = v1; 65 | for(int i = 2; i < cn; i++) this->data[i] = _Tp(0); 66 | } 67 | 68 | template inline 69 | Vec<_Tp, cn>::Vec(_Tp v0, _Tp v1, _Tp v2) 70 | { 71 | this->data[0] = v0; this->data[1] = v1; this->data[2] = v2; 72 | for(int i = 3; i < cn; i++) this->data[i] = _Tp(0); 73 | } 74 | 75 | template inline 76 | Vec<_Tp, cn>::Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3) 77 | { 78 | this->data[0] = v0; this->data[1] = v1; this->data[2] = v2; this->data[3] = v3; 79 | for(int i = 4; i < cn; i++) this->data[i] = _Tp(0); 80 | } 81 | 82 | template inline 83 | const _Tp& Vec<_Tp, cn>::operator [](int i) const 84 | { 85 | return this->data[i]; 86 | } 87 | 88 | template inline 89 | _Tp& Vec<_Tp, cn>::operator [](int i) 90 | { 91 | return this->data[i]; 92 | } 93 | 94 | template 95 | bool operator == (const Matrix<_Tp, m, n>& m1, const Matrix<_Tp, m, n>& m2) 96 | { 97 | for(int i = 0; i < m*n; ++i){ 98 | if(m1.data[i] != m2.data[i]) 99 | return false; 100 | } 101 | return true; 102 | } 103 | 104 | template 105 | bool operator != (const Matrix<_Tp, m, n>& m1, const Matrix<_Tp, m, n>& m2) 106 | { 107 | return !(m1 == m2); 108 | } 109 | 110 | typedef Matrix Matrix34F; 111 | typedef Matrix Matrix44F; 112 | typedef Vec Vec2F; 113 | typedef Vec Vec3F; 114 | typedef Vec Vec4F; 115 | typedef Vec Vec2I; 116 | typedef Vec Vec3I; 117 | typedef Vec Vec4I; 118 | } 119 | 120 | #endif 121 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/src/ofxEasyAR.cpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | #include "ofxEasyAR.hpp" 4 | #include 5 | 6 | 7 | 8 | class HelloCallBack : public EasyAR::TargetLoadCallBack 9 | { 10 | public: 11 | virtual ~HelloCallBack() {}; 12 | virtual void operator() (const EasyAR::Target target, const bool status) 13 | { 14 | //LOGI("load target: %s (%d) %s\n", target.name(), target.id(), status ? "success" : "fail"); 15 | ofLog() << "load target: " << target.name() << " " << target.id() << " " << (status ? "success" : "fail") << std::endl; 16 | delete this; 17 | } 18 | }; 19 | 20 | ofxEasyAR::ofxEasyAR() 21 | { 22 | portrait_ = false; 23 | } 24 | 25 | ofxEasyAR::~ofxEasyAR() 26 | { 27 | clear(); 28 | } 29 | 30 | void ofxEasyAR::setup(std::string key) 31 | { 32 | EasyAR::initialize(key.c_str()); 33 | } 34 | 35 | bool ofxEasyAR::initCamera() 36 | { 37 | bool status = true; 38 | status &= camera_.open(2); 39 | camera_.setSize(EasyAR::Vec2I(640, 480)); 40 | status &= tracker_.attachCamera(camera_); 41 | return status; 42 | } 43 | 44 | void ofxEasyAR::loadFromImage(const std::string& path) 45 | { 46 | EasyAR::ImageTarget target; 47 | std::string jstr = "{\n" 48 | " \"images\" :\n" 49 | " [\n" 50 | " {\n" 51 | " \"image\" : \"" + path + "\",\n" 52 | " \"name\" : \"" + path.substr(0, path.find_first_of(".")) + "\"\n" 53 | " }\n" 54 | " ]\n" 55 | "}"; 56 | target.load(jstr.c_str(), EasyAR::kStorageAssets | EasyAR::kStorageJson); 57 | tracker_.loadTarget(target, new HelloCallBack()); 58 | } 59 | 60 | void ofxEasyAR::loadFromJsonFile(const std::string& path, const std::string& targetname) 61 | { 62 | EasyAR::ImageTarget target; 63 | target.load(path.c_str(), EasyAR::kStorageAssets, targetname.c_str()); 64 | tracker_.loadTarget(target, new HelloCallBack()); 65 | } 66 | 67 | void ofxEasyAR::loadAllFromJsonFile(const std::string& path) 68 | { 69 | EasyAR::TargetList targets; 70 | targets.load(path.c_str(), EasyAR::kStorageAssets); 71 | for (int i = 0; i < targets.size(); ++i) { 72 | tracker_.loadTarget(targets[i], new HelloCallBack()); 73 | } 74 | } 75 | 76 | bool ofxEasyAR::start() 77 | { 78 | bool status = true; 79 | status &= camera_.start(); 80 | camera_.setFocusMode(EasyAR::CameraDevice::kFocusModeContinousauto); 81 | status &= tracker_.start(); 82 | return status; 83 | } 84 | 85 | bool ofxEasyAR::stop() 86 | { 87 | bool status = true; 88 | status &= tracker_.stop(); 89 | status &= camera_.stop(); 90 | return status; 91 | } 92 | 93 | bool ofxEasyAR::clear() 94 | { 95 | bool status = true; 96 | status &= stop(); 97 | status &= camera_.close(); 98 | camera_.clear(); 99 | tracker_.clear(); 100 | augmenter_.clear(); 101 | return status; 102 | } 103 | 104 | //void ofxEasyAR::resizeGL(int width, int height) 105 | //{ 106 | // EasyAR::Vec2I size = EasyAR::Vec2I(1, 1); 107 | // if (camera_.isOpened()) 108 | // size = camera_.size(); 109 | // if (size[0] == 0 || size[1] == 0) 110 | // return; 111 | // if (portrait_) 112 | // std::swap(size[0], size[1]); 113 | // float scaleRatio = std::max((float)width / (float)size[0], (float)height / (float)size[1]); 114 | // EasyAR::Vec2I viewport_size = EasyAR::Vec2I((int)(size[0] * scaleRatio), (int)(size[1] * scaleRatio)); 115 | // augmenter_.setViewPort(EasyAR::Vec4I(0, height - viewport_size[1], viewport_size[0], viewport_size[1])); 116 | //} 117 | // 118 | //void ofxEasyAR::initGL() 119 | //{ 120 | // 121 | //} 122 | // 123 | //void ofxEasyAR::render() 124 | //{ 125 | // 126 | //} 127 | // 128 | void ofxEasyAR::setPortrait(bool portrait) 129 | { 130 | portrait_ = portrait; 131 | } 132 | -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/src/ofApp.cpp: -------------------------------------------------------------------------------- 1 | #include "ofApp.h" 2 | 3 | //-------------------------------------------------------------- 4 | void ofApp::setup(){ 5 | 6 | //ofLog() << "begin setup" << std::endl; 7 | 8 | //ofSetFrameRate(30); 9 | 10 | mModel.loadModel("dwarf.x", true); 11 | mModel.setScale(0.02f, 0.02f, 0.02f); 12 | mModel.setRotation(0, 90, 1.0f, 0.0f, 0.0f); 13 | mModel.setLoopStateForAllAnimations(OF_LOOP_NORMAL); 14 | mModel.playAllAnimations(); 15 | 16 | mEasyAR.setup(key); 17 | mEasyAR.initCamera(); 18 | mEasyAR.loadFromJsonFile("data/targets.json", "argame"); 19 | mEasyAR.loadFromJsonFile("data/targets.json", "idback"); 20 | mEasyAR.loadAllFromJsonFile("data/targets2.json"); 21 | mEasyAR.loadFromImage("data/namecard.jpg"); 22 | mEasyAR.start(); 23 | 24 | ofSleepMillis(1000); 25 | 26 | mLastFrameTimeStamp = 0.0; 27 | 28 | } 29 | 30 | //-------------------------------------------------------------- 31 | void ofApp::update(){ 32 | 33 | mModel.update(); 34 | 35 | EasyAR::Frame _frame = mEasyAR.augmenter_.newFrame(mEasyAR.tracker_); 36 | EasyAR::Image _image = _frame.images()[0]; 37 | 38 | if (mLastFrameTimeStamp != _frame.timeStamp()) 39 | { 40 | ofPixels _p; 41 | _p.setFromExternalPixels((unsigned char*)_image.data(), _image.width(), _image.height(), OF_PIXELS_BGR); 42 | _p.swapRgb(); 43 | mVideoFrame.setFromPixels(_p); 44 | mLastFrameTimeStamp = _frame.timeStamp(); 45 | } 46 | 47 | } 48 | 49 | //-------------------------------------------------------------- 50 | void ofApp::draw(){ 51 | 52 | /*mEasyAR.augmenter_.drawVideoBackground();*/ 53 | 54 | mVideoFrame.draw(0, 0); 55 | ofSetColor(255, 255, 255); 56 | ofDrawBitmapString("fps: " + ofToString(ofGetFrameRate(), 2), 10, 15); 57 | 58 | EasyAR::Frame _frame = mEasyAR.augmenter_.newFrame(mEasyAR.tracker_); 59 | 60 | EasyAR::AugmentedTarget::Status status = _frame.targets()[0].status(); 61 | 62 | if (status == EasyAR::AugmentedTarget::kTargetStatusTracked) 63 | { 64 | EasyAR::Matrix44F projectionMatrix = EasyAR::getProjectionGL(mEasyAR.camera_.cameraCalibration(), 0.2f, 500.f); 65 | EasyAR::Matrix44F cameraview = EasyAR::getPoseGL(_frame.targets()[0].pose()); 66 | EasyAR::ImageTarget target = _frame.targets()[0].target().cast_dynamic(); 67 | 68 | ofEnableBlendMode(OF_BLENDMODE_ALPHA); 69 | 70 | ofEnableDepthTest(); 71 | #ifndef TARGET_PROGRAMMABLE_GL 72 | glShadeModel(GL_SMOOTH); //some model / light stuff 73 | #endif 74 | mLight.enable(); 75 | ofEnableSeparateSpecularLight(); 76 | 77 | ofPushMatrix(); 78 | 79 | glViewport(0, 0, 640, 480); 80 | glMatrixMode(GL_PROJECTION); 81 | glLoadMatrixf(&projectionMatrix.data[0]); 82 | 83 | glMatrixMode(GL_MODELVIEW); 84 | glLoadMatrixf(&cameraview.data[0]); 85 | 86 | //mBox.setScale(0.02f); 87 | //mBox.draw(); 88 | 89 | mModel.drawFaces(); 90 | ofPopMatrix(); 91 | 92 | ofDisableDepthTest(); 93 | mLight.disable(); 94 | ofDisableLighting(); 95 | ofDisableSeparateSpecularLight(); 96 | 97 | //ofLog() << "marker detected" << std::endl; 98 | } 99 | 100 | 101 | } 102 | 103 | //-------------------------------------------------------------- 104 | void ofApp::keyPressed(int key){ 105 | 106 | } 107 | 108 | //-------------------------------------------------------------- 109 | void ofApp::keyReleased(int key){ 110 | 111 | } 112 | 113 | //-------------------------------------------------------------- 114 | void ofApp::mouseMoved(int x, int y ){ 115 | 116 | } 117 | 118 | //-------------------------------------------------------------- 119 | void ofApp::mouseDragged(int x, int y, int button){ 120 | 121 | } 122 | 123 | //-------------------------------------------------------------- 124 | void ofApp::mousePressed(int x, int y, int button){ 125 | 126 | } 127 | 128 | //-------------------------------------------------------------- 129 | void ofApp::mouseReleased(int x, int y, int button){ 130 | 131 | } 132 | 133 | //-------------------------------------------------------------- 134 | void ofApp::mouseEntered(int x, int y){ 135 | 136 | } 137 | 138 | //-------------------------------------------------------------- 139 | void ofApp::mouseExited(int x, int y){ 140 | 141 | } 142 | 143 | //-------------------------------------------------------------- 144 | void ofApp::windowResized(int w, int h){ 145 | 146 | } 147 | 148 | //-------------------------------------------------------------- 149 | void ofApp::gotMessage(ofMessage msg){ 150 | 151 | } 152 | 153 | //-------------------------------------------------------------- 154 | void ofApp::dragEvent(ofDragInfo dragInfo){ 155 | 156 | } 157 | -------------------------------------------------------------------------------- /addons/ofxEasyAR/libs/EasyAR/license/LICENSE: -------------------------------------------------------------------------------- 1 | Software Licenses 2 | 3 | "EasyAR" is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd. 4 | 5 | The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software. 6 | 7 | 8 | 9 | The following Open Source Software is included in this application: 10 | 11 | =================================================================== 12 | OpenCV 3.0.0 13 | 14 | By downloading, copying, installing or using the software you agree to this license. 15 | If you do not agree to this license, do not download, install, 16 | copy or use the software. 17 | 18 | 19 | License Agreement 20 | For Open Source Computer Vision Library 21 | (3-clause BSD License) 22 | 23 | Copyright (C) 2000-2015, Intel Corporation, all rights reserved. 24 | Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved. 25 | Copyright (C) 2009-2015, NVIDIA Corporation, all rights reserved. 26 | Copyright (C) 2010-2013, Advanced Micro Devices, Inc., all rights reserved. 27 | Copyright (C) 2015, OpenCV Foundation, all rights reserved. 28 | Copyright (C) 2015, Itseez Inc., all rights reserved. 29 | Third party copyrights are property of their respective owners. 30 | 31 | Redistribution and use in source and binary forms, with or without modification, 32 | are permitted provided that the following conditions are met: 33 | 34 | * Redistributions of source code must retain the above copyright notice, 35 | this list of conditions and the following disclaimer. 36 | 37 | * Redistributions in binary form must reproduce the above copyright notice, 38 | this list of conditions and the following disclaimer in the documentation 39 | and/or other materials provided with the distribution. 40 | 41 | * Neither the names of the copyright holders nor the names of the contributors 42 | may be used to endorse or promote products derived from this software 43 | without specific prior written permission. 44 | 45 | This software is provided by the copyright holders and contributors "as is" and 46 | any express or implied warranties, including, but not limited to, the implied 47 | warranties of merchantability and fitness for a particular purpose are disclaimed. 48 | In no event shall copyright holders or contributors be liable for any direct, 49 | indirect, incidental, special, exemplary, or consequential damages 50 | (including, but not limited to, procurement of substitute goods or services; 51 | loss of use, data, or profits; or business interruption) however caused 52 | and on any theory of liability, whether in contract, strict liability, 53 | or tort (including negligence or otherwise) arising in any way out of 54 | the use of this software, even if advised of the possibility of such damage. 55 | 56 | =================================================================== 57 | JSON for Modern C++ 1.0.0-rc1 58 | 59 | The library is licensed under the MIT License 60 | : 61 | 62 | Copyright (c) 2013-2015 Niels Lohmann 63 | 64 | Permission is hereby granted, free of charge, to any person obtaining a copy of 65 | this software and associated documentation files (the "Software"), to deal in 66 | the Software without restriction, including without limitation the rights to 67 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 68 | of the Software, and to permit persons to whom the Software is furnished to do 69 | so, subject to the following conditions: 70 | 71 | The above copyright notice and this permission notice shall be included in all 72 | copies or substantial portions of the Software. 73 | 74 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 75 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 76 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 77 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 78 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 79 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 80 | SOFTWARE. 81 | 82 | =================================================================== 83 | msgpack-c 1.2.0 84 | 85 | Copyright (C) 2008-2010 FURUHASHI Sadayuki 86 | 87 | Licensed under the Apache License, Version 2.0 (the "License"); 88 | you may not use this file except in compliance with the License. 89 | You may obtain a copy of the License at 90 | 91 | http://www.apache.org/licenses/LICENSE-2.0 92 | 93 | Unless required by applicable law or agreed to in writing, software 94 | distributed under the License is distributed on an "AS IS" BASIS, 95 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 96 | See the License for the specific language governing permissions and 97 | limitations under the License. 98 | 99 | =================================================================== 100 | asio 1.11.0 101 | 102 | Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) 103 | 104 | Distributed under the Boost Software License, Version 1.0. (See accompanying 105 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 106 | 107 | =================================================================== 108 | ZXing 2.3.0 109 | 110 | Apache License 111 | Version 2.0, January 2004 112 | http://www.apache.org/licenses/ 113 | 114 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 115 | 116 | 1. Definitions. 117 | 118 | "License" shall mean the terms and conditions for use, reproduction, 119 | and distribution as defined by Sections 1 through 9 of this document. 120 | 121 | "Licensor" shall mean the copyright owner or entity authorized by 122 | the copyright owner that is granting the License. 123 | 124 | "Legal Entity" shall mean the union of the acting entity and all 125 | other entities that control, are controlled by, or are under common 126 | control with that entity. For the purposes of this definition, 127 | "control" means (i) the power, direct or indirect, to cause the 128 | direction or management of such entity, whether by contract or 129 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 130 | outstanding shares, or (iii) beneficial ownership of such entity. 131 | 132 | "You" (or "Your") shall mean an individual or Legal Entity 133 | exercising permissions granted by this License. 134 | 135 | "Source" form shall mean the preferred form for making modifications, 136 | including but not limited to software source code, documentation 137 | source, and configuration files. 138 | 139 | "Object" form shall mean any form resulting from mechanical 140 | transformation or translation of a Source form, including but 141 | not limited to compiled object code, generated documentation, 142 | and conversions to other media types. 143 | 144 | "Work" shall mean the work of authorship, whether in Source or 145 | Object form, made available under the License, as indicated by a 146 | copyright notice that is included in or attached to the work 147 | (an example is provided in the Appendix below). 148 | 149 | "Derivative Works" shall mean any work, whether in Source or Object 150 | form, that is based on (or derived from) the Work and for which the 151 | editorial revisions, annotations, elaborations, or other modifications 152 | represent, as a whole, an original work of authorship. For the purposes 153 | of this License, Derivative Works shall not include works that remain 154 | separable from, or merely link (or bind by name) to the interfaces of, 155 | the Work and Derivative Works thereof. 156 | 157 | "Contribution" shall mean any work of authorship, including 158 | the original version of the Work and any modifications or additions 159 | to that Work or Derivative Works thereof, that is intentionally 160 | submitted to Licensor for inclusion in the Work by the copyright owner 161 | or by an individual or Legal Entity authorized to submit on behalf of 162 | the copyright owner. For the purposes of this definition, "submitted" 163 | means any form of electronic, verbal, or written communication sent 164 | to the Licensor or its representatives, including but not limited to 165 | communication on electronic mailing lists, source code control systems, 166 | and issue tracking systems that are managed by, or on behalf of, the 167 | Licensor for the purpose of discussing and improving the Work, but 168 | excluding communication that is conspicuously marked or otherwise 169 | designated in writing by the copyright owner as "Not a Contribution." 170 | 171 | "Contributor" shall mean Licensor and any individual or Legal Entity 172 | on behalf of whom a Contribution has been received by Licensor and 173 | subsequently incorporated within the Work. 174 | 175 | 2. Grant of Copyright License. Subject to the terms and conditions of 176 | this License, each Contributor hereby grants to You a perpetual, 177 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 178 | copyright license to reproduce, prepare Derivative Works of, 179 | publicly display, publicly perform, sublicense, and distribute the 180 | Work and such Derivative Works in Source or Object form. 181 | 182 | 3. Grant of Patent License. Subject to the terms and conditions of 183 | this License, each Contributor hereby grants to You a perpetual, 184 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 185 | (except as stated in this section) patent license to make, have made, 186 | use, offer to sell, sell, import, and otherwise transfer the Work, 187 | where such license applies only to those patent claims licensable 188 | by such Contributor that are necessarily infringed by their 189 | Contribution(s) alone or by combination of their Contribution(s) 190 | with the Work to which such Contribution(s) was submitted. If You 191 | institute patent litigation against any entity (including a 192 | cross-claim or counterclaim in a lawsuit) alleging that the Work 193 | or a Contribution incorporated within the Work constitutes direct 194 | or contributory patent infringement, then any patent licenses 195 | granted to You under this License for that Work shall terminate 196 | as of the date such litigation is filed. 197 | 198 | 4. Redistribution. You may reproduce and distribute copies of the 199 | Work or Derivative Works thereof in any medium, with or without 200 | modifications, and in Source or Object form, provided that You 201 | meet the following conditions: 202 | 203 | (a) You must give any other recipients of the Work or 204 | Derivative Works a copy of this License; and 205 | 206 | (b) You must cause any modified files to carry prominent notices 207 | stating that You changed the files; and 208 | 209 | (c) You must retain, in the Source form of any Derivative Works 210 | that You distribute, all copyright, patent, trademark, and 211 | attribution notices from the Source form of the Work, 212 | excluding those notices that do not pertain to any part of 213 | the Derivative Works; and 214 | 215 | (d) If the Work includes a "NOTICE" text file as part of its 216 | distribution, then any Derivative Works that You distribute must 217 | include a readable copy of the attribution notices contained 218 | within such NOTICE file, excluding those notices that do not 219 | pertain to any part of the Derivative Works, in at least one 220 | of the following places: within a NOTICE text file distributed 221 | as part of the Derivative Works; within the Source form or 222 | documentation, if provided along with the Derivative Works; or, 223 | within a display generated by the Derivative Works, if and 224 | wherever such third-party notices normally appear. The contents 225 | of the NOTICE file are for informational purposes only and 226 | do not modify the License. You may add Your own attribution 227 | notices within Derivative Works that You distribute, alongside 228 | or as an addendum to the NOTICE text from the Work, provided 229 | that such additional attribution notices cannot be construed 230 | as modifying the License. 231 | 232 | You may add Your own copyright statement to Your modifications and 233 | may provide additional or different license terms and conditions 234 | for use, reproduction, or distribution of Your modifications, or 235 | for any such Derivative Works as a whole, provided Your use, 236 | reproduction, and distribution of the Work otherwise complies with 237 | the conditions stated in this License. 238 | 239 | 5. Submission of Contributions. Unless You explicitly state otherwise, 240 | any Contribution intentionally submitted for inclusion in the Work 241 | by You to the Licensor shall be under the terms and conditions of 242 | this License, without any additional terms or conditions. 243 | Notwithstanding the above, nothing herein shall supersede or modify 244 | the terms of any separate license agreement you may have executed 245 | with Licensor regarding such Contributions. 246 | 247 | 6. Trademarks. This License does not grant permission to use the trade 248 | names, trademarks, service marks, or product names of the Licensor, 249 | except as required for reasonable and customary use in describing the 250 | origin of the Work and reproducing the content of the NOTICE file. 251 | 252 | 7. Disclaimer of Warranty. Unless required by applicable law or 253 | agreed to in writing, Licensor provides the Work (and each 254 | Contributor provides its Contributions) on an "AS IS" BASIS, 255 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 256 | implied, including, without limitation, any warranties or conditions 257 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 258 | PARTICULAR PURPOSE. You are solely responsible for determining the 259 | appropriateness of using or redistributing the Work and assume any 260 | risks associated with Your exercise of permissions under this License. 261 | 262 | 8. Limitation of Liability. In no event and under no legal theory, 263 | whether in tort (including negligence), contract, or otherwise, 264 | unless required by applicable law (such as deliberate and grossly 265 | negligent acts) or agreed to in writing, shall any Contributor be 266 | liable to You for damages, including any direct, indirect, special, 267 | incidental, or consequential damages of any character arising as a 268 | result of this License or out of the use or inability to use the 269 | Work (including but not limited to damages for loss of goodwill, 270 | work stoppage, computer failure or malfunction, or any and all 271 | other commercial damages or losses), even if such Contributor 272 | has been advised of the possibility of such damages. 273 | 274 | 9. Accepting Warranty or Additional Liability. While redistributing 275 | the Work or Derivative Works thereof, You may choose to offer, 276 | and charge a fee for, acceptance of support, warranty, indemnity, 277 | or other liability obligations and/or rights consistent with this 278 | License. However, in accepting such obligations, You may act only 279 | on Your own behalf and on Your sole responsibility, not on behalf 280 | of any other Contributor, and only if You agree to indemnify, 281 | defend, and hold each Contributor harmless for any liability 282 | incurred by, or claims asserted against, such Contributor by reason 283 | of your accepting any such warranty or additional liability. 284 | 285 | END OF TERMS AND CONDITIONS 286 | 287 | APPENDIX: How to apply the Apache License to your work. 288 | 289 | To apply the Apache License to your work, attach the following 290 | boilerplate notice, with the fields enclosed by brackets "[]" 291 | replaced with your own identifying information. (Don't include 292 | the brackets!) The text should be enclosed in the appropriate 293 | comment syntax for the file format. We also recommend that a 294 | file or class name and description of purpose be included on the 295 | same "printed page" as the copyright notice for easier 296 | identification within third-party archives. 297 | 298 | Copyright [yyyy] [name of copyright owner] 299 | 300 | Licensed under the Apache License, Version 2.0 (the "License"); 301 | you may not use this file except in compliance with the License. 302 | You may obtain a copy of the License at 303 | 304 | http://www.apache.org/licenses/LICENSE-2.0 305 | 306 | Unless required by applicable law or agreed to in writing, software 307 | distributed under the License is distributed on an "AS IS" BASIS, 308 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 309 | See the License for the specific language governing permissions and 310 | limitations under the License. 311 | -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/EasyARTest.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | src 6 | 7 | 8 | src 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | addons\ofxAssimpModelLoader\src 18 | 19 | 20 | addons\ofxAssimpModelLoader\src 21 | 22 | 23 | addons\ofxAssimpModelLoader\src 24 | 25 | 26 | addons\ofxAssimpModelLoader\src 27 | 28 | 29 | addons\ofxGui\src 30 | 31 | 32 | addons\ofxGui\src 33 | 34 | 35 | addons\ofxGui\src 36 | 37 | 38 | addons\ofxGui\src 39 | 40 | 41 | addons\ofxGui\src 42 | 43 | 44 | addons\ofxGui\src 45 | 46 | 47 | addons\ofxGui\src 48 | 49 | 50 | addons\ofxGui\src 51 | 52 | 53 | addons\ofxEasyAR\src 54 | 55 | 56 | 57 | 58 | {d8376475-7454-4a24-b08a-aac121d3ad6f} 59 | 60 | 61 | {71834F65-F3A9-211E-73B8-DC85} 62 | 63 | 64 | {DE65D9F7-840A-CD0A-A555-EA3B} 65 | 66 | 67 | {B84008DC-4B5E-271B-05DA-D8C8} 68 | 69 | 70 | {3D854F79-FA4A-75FA-FC0A-2B25} 71 | 72 | 73 | {FE8B5295-D3A7-B9CD-89C9-2613} 74 | 75 | 76 | {EDC34C4F-5D44-FB76-337E-EE48} 77 | 78 | 79 | {E66BABFA-76A1-EB8D-40FF-B940} 80 | 81 | 82 | {A0C31C2E-6C01-8850-3B72-C818} 83 | 84 | 85 | {6E9AD7E2-21EF-9C47-C28E-9B2F} 86 | 87 | 88 | {15B599B3-8642-8761-BD09-0D4D} 89 | 90 | 91 | {0FEAD5A7-2CA5-6C7D-1494-2016} 92 | 93 | 94 | {9BA68A79-9C1C-EA84-45EA-2450} 95 | 96 | 97 | {BB1E0FF4-8AC1-2783-0408-D9EA} 98 | 99 | 100 | {B94C3E33-219E-C077-48F6-B6F6} 101 | 102 | 103 | {4F2A59AF-5F4E-704B-D067-EC13} 104 | 105 | 106 | {645E9533-4DCD-6179-1CDF-CB65} 107 | 108 | 109 | 110 | 111 | src 112 | 113 | 114 | src 115 | 116 | 117 | addons\ofxAssimpModelLoader\src 118 | 119 | 120 | addons\ofxAssimpModelLoader\src 121 | 122 | 123 | addons\ofxAssimpModelLoader\src 124 | 125 | 126 | addons\ofxAssimpModelLoader\src 127 | 128 | 129 | addons\ofxAssimpModelLoader\src 130 | 131 | 132 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 133 | 134 | 135 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 136 | 137 | 138 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 139 | 140 | 141 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 142 | 143 | 144 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 145 | 146 | 147 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 148 | 149 | 150 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 151 | 152 | 153 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp\Compiler 154 | 155 | 156 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp\Compiler 157 | 158 | 159 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp\Compiler 160 | 161 | 162 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 163 | 164 | 165 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 166 | 167 | 168 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 169 | 170 | 171 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 172 | 173 | 174 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 175 | 176 | 177 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 178 | 179 | 180 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 181 | 182 | 183 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 184 | 185 | 186 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 187 | 188 | 189 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 190 | 191 | 192 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 193 | 194 | 195 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 196 | 197 | 198 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 199 | 200 | 201 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 202 | 203 | 204 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 205 | 206 | 207 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 208 | 209 | 210 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 211 | 212 | 213 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 214 | 215 | 216 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 217 | 218 | 219 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 220 | 221 | 222 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 223 | 224 | 225 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 226 | 227 | 228 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 229 | 230 | 231 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 232 | 233 | 234 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 235 | 236 | 237 | addons\ofxAssimpModelLoader\libs\assimp\include\assimp 238 | 239 | 240 | addons\ofxEasyAR\libs\EasyAR\include\easyar 241 | 242 | 243 | addons\ofxEasyAR\libs\EasyAR\include\easyar 244 | 245 | 246 | addons\ofxEasyAR\libs\EasyAR\include\easyar 247 | 248 | 249 | addons\ofxEasyAR\libs\EasyAR\include\easyar 250 | 251 | 252 | addons\ofxEasyAR\libs\EasyAR\include\easyar 253 | 254 | 255 | addons\ofxEasyAR\libs\EasyAR\include\easyar 256 | 257 | 258 | addons\ofxEasyAR\libs\EasyAR\include\easyar 259 | 260 | 261 | addons\ofxEasyAR\libs\EasyAR\include\easyar 262 | 263 | 264 | addons\ofxEasyAR\libs\EasyAR\include\easyar 265 | 266 | 267 | addons\ofxEasyAR\libs\EasyAR\include\easyar 268 | 269 | 270 | addons\ofxEasyAR\libs\EasyAR\include\easyar 271 | 272 | 273 | addons\ofxEasyAR\libs\EasyAR\include\easyar 274 | 275 | 276 | addons\ofxGui\src 277 | 278 | 279 | addons\ofxGui\src 280 | 281 | 282 | addons\ofxGui\src 283 | 284 | 285 | addons\ofxGui\src 286 | 287 | 288 | addons\ofxGui\src 289 | 290 | 291 | addons\ofxGui\src 292 | 293 | 294 | addons\ofxGui\src 295 | 296 | 297 | addons\ofxGui\src 298 | 299 | 300 | addons\ofxGui\src 301 | 302 | 303 | addons\ofxEasyAR\src 304 | 305 | 306 | 307 | 308 | 309 | -------------------------------------------------------------------------------- /apps/myApps/EasyARTest/EasyARTest.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Debug 10 | x64 11 | 12 | 13 | Release 14 | Win32 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {7FD42DF7-442E-479A-BA76-D0022F99702A} 23 | Win32Proj 24 | EasyARTest 25 | 26 | 27 | 28 | Application 29 | Unicode 30 | v140 31 | 32 | 33 | Application 34 | Unicode 35 | v140 36 | 37 | 38 | Application 39 | Unicode 40 | true 41 | v140 42 | 43 | 44 | Application 45 | Unicode 46 | true 47 | v140 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | bin\ 69 | obj\$(Configuration)\ 70 | $(ProjectName)_debug 71 | true 72 | true 73 | 74 | 75 | bin\ 76 | obj\$(Configuration)\ 77 | $(ProjectName)_debug 78 | true 79 | true 80 | 81 | 82 | bin\ 83 | obj\$(Configuration)\ 84 | false 85 | 86 | 87 | bin\ 88 | obj\$(Configuration)\ 89 | false 90 | 91 | 92 | 93 | Disabled 94 | EnableFastChecks 95 | %(PreprocessorDefinitions) 96 | MultiThreadedDebugDLL 97 | Level3 98 | %(AdditionalIncludeDirectories);src;..\..\..\addons\ofxAssimpModelLoader\libs;..\..\..\addons\ofxAssimpModelLoader\libs\assimp;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\include;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\include\assimp;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\include\assimp\Compiler;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\emscripten;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\Win32;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\x64;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\license;..\..\..\addons\ofxAssimpModelLoader\src;..\..\..\addons\ofxEasyAR\libs;..\..\..\addons\ofxEasyAR\libs\EasyAR;..\..\..\addons\ofxEasyAR\libs\EasyAR\include;..\..\..\addons\ofxEasyAR\libs\EasyAR\include\easyar;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib\vs;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib\vs\x64;..\..\..\addons\ofxEasyAR\libs\EasyAR\license;..\..\..\addons\ofxEasyAR\src;..\..\..\addons\ofxGui\src 99 | CompileAsCpp 100 | 101 | 102 | true 103 | Console 104 | false 105 | %(AdditionalDependencies);assimp.lib 106 | %(AdditionalLibraryDirectories);..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\Win32 107 | 108 | 109 | 110 | 111 | 112 | Disabled 113 | EnableFastChecks 114 | %(PreprocessorDefinitions) 115 | MultiThreadedDebugDLL 116 | Level3 117 | %(AdditionalIncludeDirectories);src;..\..\..\addons\ofxAssimpModelLoader\libs;..\..\..\addons\ofxAssimpModelLoader\libs\assimp;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\include;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\include\assimp;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\include\assimp\Compiler;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\emscripten;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\Win32;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\x64;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\license;..\..\..\addons\ofxAssimpModelLoader\src;..\..\..\addons\ofxEasyAR\libs;..\..\..\addons\ofxEasyAR\libs\EasyAR;..\..\..\addons\ofxEasyAR\libs\EasyAR\include;..\..\..\addons\ofxEasyAR\libs\EasyAR\include\easyar;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib\vs;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib\vs\x64;..\..\..\addons\ofxEasyAR\libs\EasyAR\license;..\..\..\addons\ofxEasyAR\src;..\..\..\addons\ofxGui\src 118 | CompileAsCpp 119 | true 120 | 121 | 122 | true 123 | Console 124 | false 125 | %(AdditionalDependencies);assimp.lib;EasyAR.lib 126 | %(AdditionalLibraryDirectories);..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\x64;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib\vs\x64 127 | 128 | 129 | 130 | 131 | 132 | false 133 | %(PreprocessorDefinitions) 134 | MultiThreadedDLL 135 | Level3 136 | %(AdditionalIncludeDirectories);src;..\..\..\addons\ofxAssimpModelLoader\libs;..\..\..\addons\ofxAssimpModelLoader\libs\assimp;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\include;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\include\assimp;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\include\assimp\Compiler;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\emscripten;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\Win32;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\x64;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\license;..\..\..\addons\ofxAssimpModelLoader\src;..\..\..\addons\ofxEasyAR\libs;..\..\..\addons\ofxEasyAR\libs\EasyAR;..\..\..\addons\ofxEasyAR\libs\EasyAR\include;..\..\..\addons\ofxEasyAR\libs\EasyAR\include\easyar;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib\vs;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib\vs\x64;..\..\..\addons\ofxEasyAR\libs\EasyAR\license;..\..\..\addons\ofxEasyAR\src;..\..\..\addons\ofxGui\src 137 | CompileAsCpp 138 | true 139 | 140 | 141 | false 142 | false 143 | Console 144 | true 145 | true 146 | false 147 | %(AdditionalDependencies);assimp.lib 148 | %(AdditionalLibraryDirectories);..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\Win32 149 | 150 | 151 | 152 | 153 | 154 | false 155 | %(PreprocessorDefinitions) 156 | MultiThreadedDLL 157 | Level3 158 | %(AdditionalIncludeDirectories);src;..\..\..\addons\ofxAssimpModelLoader\libs;..\..\..\addons\ofxAssimpModelLoader\libs\assimp;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\include;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\include\assimp;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\include\assimp\Compiler;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\emscripten;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\Win32;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\x64;..\..\..\addons\ofxAssimpModelLoader\libs\assimp\license;..\..\..\addons\ofxAssimpModelLoader\src;..\..\..\addons\ofxEasyAR\libs;..\..\..\addons\ofxEasyAR\libs\EasyAR;..\..\..\addons\ofxEasyAR\libs\EasyAR\include;..\..\..\addons\ofxEasyAR\libs\EasyAR\include\easyar;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib\vs;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib\vs\x64;..\..\..\addons\ofxEasyAR\libs\EasyAR\license;..\..\..\addons\ofxEasyAR\src;..\..\..\addons\ofxGui\src 159 | CompileAsCpp 160 | 161 | 162 | false 163 | false 164 | Console 165 | true 166 | true 167 | false 168 | %(AdditionalDependencies);assimp.lib;EasyAR.lib 169 | %(AdditionalLibraryDirectories);..\..\..\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\x64;..\..\..\addons\ofxEasyAR\libs\EasyAR\lib\vs\x64 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | {5837595d-aca9-485c-8e76-729040ce4b0b} 259 | 260 | 261 | 262 | 263 | /D_DEBUG %(AdditionalOptions) 264 | /D_DEBUG %(AdditionalOptions) 265 | $(OF_ROOT)\libs\openFrameworksCompiled\project\vs 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | --------------------------------------------------------------------------------