Skip to content

Commit f596b6b

Browse files
committed
Merge both macOS and Windows source codes for v2.3.1
1 parent 8f0e94b commit f596b6b

File tree

5 files changed

+24
-12
lines changed

5 files changed

+24
-12
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Virtual Mapper <!--VERSION-->v2.3.0<!--/VERSION-->
1+
# Virtual Mapper <!--VERSION-->v2.3.1<!--/VERSION-->
22

33
![](./doc/thumbnail.png)
44

55
[Download](https://github.com/baku89/VirtualMapper/releases)
66

7-
**Important: Latest version only supports macOS. Please use [v0.9](https://github.com/baku89/VirtualMapper/releases/tag/v0.9) if you use Windows.**
7+
Available for macOS and Windows.
88

99
## About
1010

@@ -61,7 +61,9 @@ You can download plugins from [Spout official site](http://spout.zeal.co/).
6161
* Load the FBX file from **Scene > Open Scene**
6262
* Select the applopriate input source.
6363

64-
#### NOTE: When you could not open the app and find below alert
64+
## Troubleshooting
65+
66+
### When you could not open the app and found below alert on macOS
6567

6668
![](./doc/unidentified_alert.png)
6769

@@ -71,13 +73,17 @@ Please open **System Preferences > Security & Privacy**, and then click in **Ope
7173

7274
<!--I uploaded [tutorial (when using After Effects as sender on mac)](https://vimeo.com/117640423).-->
7375

76+
### Cannot open any video file as a source on Windows
77+
78+
It probaboly would work fine by installing [K-Lite Codec Pack](https://www.codecguide.com/download_kl.htm).
79+
80+
7481
## License
7582

7683
Virtual Mapper is published under a MIT License. See the included [LISENCE file](./LICENSE).
7784

7885
## TODO
7986

80-
* Windows support
8187
* retina display support
8288
* add rendering options
8389
* add "export to image / video" feature

Virtual Mapper.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
1BEE448D5236FF7A3D1136A0 /* ofxFBXScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 95EB7C733541F64E2C4F7115 /* ofxFBXScene.cpp */; };
1515
1F558B76FB3412843DDAA031 /* ofxSyphonClient.mm in Sources */ = {isa = PBXBuildFile; fileRef = 03EA4DA95B5E1B8409FC058E /* ofxSyphonClient.mm */; };
1616
22FAD71C4C85BA2A59638F67 /* ofxFBXSkeleton.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E43F5FD5CB7F1965F1A06E7 /* ofxFBXSkeleton.cpp */; };
17+
23E0FA5E1F5CD24F004A4432 /* WindowUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23E0FA5D1F5CD24F004A4432 /* WindowUtils.cpp */; };
1718
27CF6B6E279F8EE58C9D4B90 /* BaseTheme.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8E362ECECD928E7B3EBA5C53 /* BaseTheme.cpp */; };
1819
462C212713EFFA5383B35DAB /* EngineGLFW.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2F1C686ADB50E8F79292BA80 /* EngineGLFW.cpp */; };
1920
4B84BE00D8222E1072317E49 /* ofxGrabCam.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 126D728B075C482C4C740428 /* ofxGrabCam.cpp */; };
@@ -132,6 +133,7 @@
132133
239B05081F5BD12000F296A7 /* ofxAdvancedGrabCam.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxAdvancedGrabCam.h; sourceTree = "<group>"; };
133134
239B05091F5BE50200F296A7 /* ofxAdvancedXmlSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxAdvancedXmlSettings.h; sourceTree = "<group>"; };
134135
23BDE498B8F8ECC4F997D259 /* fbxtimecode.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = fbxtimecode.h; path = ../../../addons/ofxFBX/libs/fbxsdk_2016.1/include/fbxsdk/core/base/fbxtimecode.h; sourceTree = SOURCE_ROOT; };
136+
23E0FA5D1F5CD24F004A4432 /* WindowUtils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WindowUtils.cpp; path = WindowUtils/WindowUtils.cpp; sourceTree = "<group>"; };
135137
25934E62B8A9ACB569667003 /* fbxconstraintsinglechainik.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = fbxconstraintsinglechainik.h; path = ../../../addons/ofxFBX/libs/fbxsdk_2016.1/include/fbxsdk/scene/constraint/fbxconstraintsinglechainik.h; sourceTree = SOURCE_ROOT; };
136138
25AE65ACDF27608DDECD2642 /* fbxdocumentinfo.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = fbxdocumentinfo.h; path = ../../../addons/ofxFBX/libs/fbxsdk_2016.1/include/fbxsdk/scene/fbxdocumentinfo.h; sourceTree = SOURCE_ROOT; };
137139
260511FA6A5A5A0D0DAA38EE /* fbxpropertyhandle.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = fbxpropertyhandle.h; path = ../../../addons/ofxFBX/libs/fbxsdk_2016.1/include/fbxsdk/core/fbxpropertyhandle.h; sourceTree = SOURCE_ROOT; };
@@ -508,6 +510,7 @@
508510
children = (
509511
1973941ED00EADDAF44C42D2 /* WindowUtils.h */,
510512
97A2DBA8AE689D8D377B793E /* WindowUtils.mm */,
513+
23E0FA5D1F5CD24F004A4432 /* WindowUtils.cpp */,
511514
);
512515
name = WindowUtils;
513516
sourceTree = "<group>";
@@ -1240,6 +1243,7 @@
12401243
9B5EAD6903CBD88ED1D4627A /* ofxFBXNode.cpp in Sources */,
12411244
AAE7D54A50810641535459E5 /* ofxFBXPose.cpp in Sources */,
12421245
1BEE448D5236FF7A3D1136A0 /* ofxFBXScene.cpp in Sources */,
1246+
23E0FA5E1F5CD24F004A4432 /* WindowUtils.cpp in Sources */,
12431247
22FAD71C4C85BA2A59638F67 /* ofxFBXSkeleton.cpp in Sources */,
12441248
914AF1870F96A0A63B4E36D8 /* AnimationUtility.cxx in Sources */,
12451249
7D001F1365B7FA85A22C5A60 /* GeometryUtility.cxx in Sources */,

openFrameworks-Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.3.0</string>
18+
<string>2.3.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>2.3.0</string>
22+
<string>2.3.1</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.video</string>
2525
</dict>

src/WindowUtils/WindowUtils.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "WindowUtils.h"
22

3+
#ifdef TARGET_WIN32
4+
35
namespace {
46
bool isWindowTop = false;
57
};
@@ -19,4 +21,6 @@ bool WindowUtils::getWindowOnTop() {
1921

2022
void WindowUtils::setTitlebarTransparent(bool flag) {
2123

22-
}
24+
}
25+
26+
#endif

src/WindowUtils/WindowUtils.mm

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#ifdef TARGET_OSX
2-
31
#include "WindowUtils.h"
42

3+
#ifdef TARGET_OSX
4+
55
#import <Cocoa/Cocoa.h>
66

77
#include <GLFW/glfw3.h>
@@ -38,8 +38,6 @@ - (BOOL)fakeMouseDownCanMoveWindow { return YES; }
3838
NSWindow * window = (NSWindow *)ofGetWindowPtr()->getCocoaWindow();
3939

4040
bool flag = window.level != NSNormalWindowLevel;
41-
42-
ofLogNotice() << "top? = " << flag;
4341

4442
return flag;
4543
}
@@ -64,4 +62,4 @@ - (BOOL)fakeMouseDownCanMoveWindow { return YES; }
6462

6563
}
6664

67-
#endif
65+
#endif

0 commit comments

Comments
 (0)