-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ebc49e9
Showing
1,834 changed files
with
474,320 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
ofxArtool5 | ||
===================================== | ||
|
||
OpenFrameworks addon wrapping the functionalities of ArtoolKit 5. | ||
At the moment it provides : | ||
|
||
- Marker based AR | ||
- NFT based AR | ||
|
||
Licence | ||
------- | ||
Artoolkit is [LGPLv3](https://github.com/artoolkit/artoolkit5/blob/master/LICENSE.txt), so you can consider my code LGPLv3 too. | ||
Copyright (c) 2015 Enrico<naus3a>Viola | ||
[email protected] | ||
|
||
Installation | ||
------------ | ||
Copy to your openFrameworks/addons folder. | ||
|
||
Compatibility | ||
------------ | ||
openFrameworks 009.x | ||
|
||
|
||
Known issues | ||
------------ | ||
For some reason (I think it's a libjpg issue), it seems like you cannot load .iset image set files (used for NFT) from OF; since I could not find documentation about the .iset format, I simply made my own custom.dat file providing the same functionality. | ||
|
||
You can use ofxArtool5::saveSurfaceSetData to make a your own custom file from an Artoolkit surface set. | ||
|
||
Version history | ||
------------ | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Attempt to load a config.make file. | ||
# If none is found, project defaults in config.project.make will be used. | ||
ifneq ($(wildcard config.make),) | ||
include config.make | ||
endif | ||
|
||
# make sure the the OF_ROOT location is defined | ||
ifndef OF_ROOT | ||
OF_ROOT=$(realpath ../../..) | ||
endif | ||
|
||
# call the project makefile! | ||
include $(OF_ROOT)/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
//THE PATH TO THE ROOT OF OUR OF PATH RELATIVE TO THIS PROJECT. | ||
//THIS NEEDS TO BE DEFINED BEFORE CoreOF.xcconfig IS INCLUDED | ||
OF_PATH = ../../.. | ||
|
||
//THIS HAS ALL THE HEADER AND LIBS FOR OF CORE | ||
#include "../../../libs/openFrameworksCompiled/project/osx/CoreOF.xcconfig" | ||
|
||
//ICONS - NEW IN 0072 | ||
ICON_NAME_DEBUG = icon-debug.icns | ||
ICON_NAME_RELEASE = icon.icns | ||
ICON_FILE_PATH = $(OF_PATH)/libs/openFrameworksCompiled/project/osx/ | ||
|
||
//IF YOU WANT AN APP TO HAVE A CUSTOM ICON - PUT THEM IN YOUR DATA FOLDER AND CHANGE ICON_FILE_PATH to: | ||
//ICON_FILE_PATH = bin/data/ | ||
|
||
OTHER_LDFLAGS = $(OF_CORE_LIBS) $(OF_CORE_FRAMEWORKS) | ||
HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ofxArtool5 | ||
ofxOpenCv | ||
ofxXmlSettings |
2,290 changes: 2,290 additions & 0 deletions
2,290
artool5NFTexample/artool5example.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
artool5NFTexample/artool5example.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+52.8 KB
...codeproj/project.xcworkspace/xcuserdata/nausea.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
86 changes: 86 additions & 0 deletions
86
...5NFTexample/artool5example.xcodeproj/xcshareddata/xcschemes/artool5example Debug.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "0600" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" | ||
BuildableName = "artool5example.app" | ||
BlueprintName = "artool5example" | ||
ReferencedContainer = "container:artool5example.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
buildConfiguration = "Debug"> | ||
<Testables> | ||
</Testables> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" | ||
BuildableName = "artool5example.app" | ||
BlueprintName = "artool5example" | ||
ReferencedContainer = "container:artool5example.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</TestAction> | ||
<LaunchAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Debug" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
allowLocationSimulation = "YES"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" | ||
BuildableName = "artool5example.app" | ||
BlueprintName = "artool5example" | ||
ReferencedContainer = "container:artool5example.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
<AdditionalOptions> | ||
</AdditionalOptions> | ||
</LaunchAction> | ||
<ProfileAction | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Debug" | ||
debugDocumentVersioning = "YES"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" | ||
BuildableName = "artool5example.app" | ||
BlueprintName = "artool5example" | ||
ReferencedContainer = "container:artool5example.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Debug" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
86 changes: 86 additions & 0 deletions
86
...FTexample/artool5example.xcodeproj/xcshareddata/xcschemes/artool5example Release.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "0600" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" | ||
BuildableName = "artool5example.app" | ||
BlueprintName = "artool5example" | ||
ReferencedContainer = "container:artool5example.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
buildConfiguration = "Release"> | ||
<Testables> | ||
</Testables> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" | ||
BuildableName = "artool5example.app" | ||
BlueprintName = "artool5example" | ||
ReferencedContainer = "container:artool5example.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</TestAction> | ||
<LaunchAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Release" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
allowLocationSimulation = "YES"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" | ||
BuildableName = "artool5example.app" | ||
BlueprintName = "artool5example" | ||
ReferencedContainer = "container:artool5example.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
<AdditionalOptions> | ||
</AdditionalOptions> | ||
</LaunchAction> | ||
<ProfileAction | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Release" | ||
debugDocumentVersioning = "YES"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" | ||
BuildableName = "artool5example.app" | ||
BlueprintName = "artool5example" | ||
ReferencedContainer = "container:artool5example.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Release"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
14 changes: 14 additions & 0 deletions
14
...artool5example.xcodeproj/xcuserdata/nausea.xcuserdatad/xcschemes/xcschememanagement.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>SuppressBuildableAutocreation</key> | ||
<dict> | ||
<key>E4B69B5A0A3A1756003C02F2</key> | ||
<dict> | ||
<key>primary</key> | ||
<true/> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Number of markers | ||
1 | ||
|
||
# Entries for each marker. Format is: | ||
# | ||
# Name of pattern file (relative to this file) | ||
# Marker type (SINGLE) | ||
# Marker width in millimetres (floating point number) | ||
# Optional tokens: | ||
# FILTER [x] Enable pose estimate filtering for the preceding marker | ||
# x (optional) specifies the cutoff frequency. Default | ||
# value is AR_FILTER_TRANS_MAT_CUTOFF_FREQ_DEFAULT, which | ||
# at time of writing, equals 5.0. | ||
# A blank line | ||
|
||
pinball | ||
NFT | ||
FILTER 15.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
2 | ||
|
||
../OSG/axes.osg | ||
0.0 0.0 0.0 | ||
0.0 1.0 0.0 0.0 | ||
40.0 40.0 40.0 | ||
MARKER 1 | ||
LIGHTING 0 | ||
|
||
../OSG/p51d-jw-animated.osg | ||
4.5 118.25 30.0 | ||
90.0 1.0 0.0 0.0 | ||
25.0 25.0 25.0 | ||
MARKER 1 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.