Comments (10)
Actually, this is work in progress. Kinect has a number of issues in WinRT, but a unified solution seems feasible. It's part of our upcoming update.
In terms of reusability, the solution you propose is, indeed, necessary.
from vitruvius.
btw, I could help on that (have become quite proficient in that Code Compare extension [https://visualstudiogallery.msdn.microsoft.com/dace3633-0b51-4629-85d4-c59cdce5bb3b] while merging WPF and Silverlight codebases of various libraries in ClipFlair project [http://clipflair.codeplex.com])
However, a thing I noticed is that if I have Kinect 1.8 SDK installed and I install Kinect 2.x SDK, the v2 projects from Vitruvius seem to find the Kinect.dll from the 1.8 SDK and not find the Kinect.Face one. How come? I'd expect them to use different DLL names there or have strong names etc. Do I have to browse and find the Kinect v2 DLLs. Or are they installed in the GAC only when I plug-in a Kinect v2 device which I don't have? (quite unfortunate design they have in that case).
from vitruvius.
Your feedback is valuable. We are not using the Shared Project Reference Manager because it only supports Visual Studio 2013.
Instead, we are working with conditional compilation symbols with preprocesor directives. We add the source code files "as a link" into multiple projects. This way, we only maintain one reusable file.
We are trying to support .NET 4.5, WinRT, and Unity3D.
from vitruvius.
To use a Kinect v2 dll, you have to navigate to C:\Program Files\Microsoft SDKs\Kinect\v2.0_1409\Assemblies
from vitruvius.
I think Visual Studio 2015 has support for it via a template:
http://dailydotnettips.com/2015/07/28/using-shared-project-across-multiple-applications-in-visual-studio-2015/
and it's not only for Windows 8.1 Universal app projects as it once was
from vitruvius.
I also use the linked files approach in ClipFlair's code instead of the Shared Projects one (had done it more or less for the same reason you have mentioned, was using VS2012 when I started that project anyway), but compared to Shared Projects it has the fuss of adding links manually and an even greater fuss when you want to rename files (have to remove them from projects, rename the originals, close the projects and reopen [due to VS bug] and add the linked files again to the projects they were being used - or else edit project files by hand to rename)
In current version of Vitruvius at GitHub I didn't see any linked files, are you working offline or at other branch I didn't notice for the merged version?
from vitruvius.
btw, please consider merging this pull request: #6
it doesn't cause any backwards compatibility issues to Vitruvius for Kinect v1 users, just has a file structure more close to the Vitruvius for Kinect v2 version (plus some small code optimizations at one of the WPF extensions)
from vitruvius.
Thanks, I have added you as a contributor in the README file.
Regarding the shared code approach, we have been working internally to support .NET, WinRT and Unity. The reason we do not have a separate branch for this is that Unity is not part of the project (and, so far, it doesn't seem feasible to support it in a universal assembly). We'll commit and push our updates soon.
from vitruvius.
thanks, I'll keep an eye here for the updates
from vitruvius.
btw, just added a new pull request (cleanup / small optimization at the Kinect v1 solution) - #9
from vitruvius.
Related Issues (19)
- Constants.cs missing HOT 2
- Problem getting gesture type HOT 2
- Project not run in visual studio for kinect v2 HOT 4
- General Question HOT 2
- Error on XAML file HOT 1
- Rename solutions/projects to show target platform HOT 1
- Update Vitruvius NuGet package with latest Kinect v1 version HOT 4
- Broken project at Kinect v2/WPF/VitruviusTest HOT 3
- Bug at KinectViewer control HOT 1
- v1 test app: Moving backwards at depth mode freezes display HOT 8
- GreenScreen sample on WPF is not working HOT 2
- Add FlipHorizontally and FlipVertically to viewer control HOT 4
- Toggle Skeleton at Kinect v2 WPF demo leaves back garbage HOT 3
- Joint selector
- using vitruvius library HOT 2
- kinect and arduino HOT 4
- warning on runtime HOT 10
- Axis Enumeration HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vitruvius.