PXCProjection.ProjectXXX and .MapXXX supposed to take arrays?
The transformation methods in PXCProjection all take arrays of points in the SDK but the java versions take single points. Should they be taking arrays as parameters or should you just call them for a single point at a time?
Single point at a time. Passing them as arrays via JNI/SWIG would be a bit problematic. On Nov 29, 2014 11:49 PM, "jimthev" [email protected] wrote:
The transformation methods in PXCProjection all take arrays of points in the SDK but the java versions take single points. Should they be taking arrays as parameters or should you just call them for a single point at a time?
— Reply to this email directly or view it on GitHub https://github.com/libgdx/gdx-realsense/issues/3.
QueryUVMap/QueryInvUVMap/QueryVertices are also methods of Projection that take arrays that won't currently work. I don't have a current workaround for these.
The latest RealSense SDK has a wrapper created by Intel. You could give that a try, but it won't work with the StreamTexture class (which isn't that complex).
Sorry for all the issues, i didn't have enough time to test all of the APIs. On Dec 1, 2014 6:05 PM, "jimthev" [email protected] wrote:
QueryUVMap/QueryInvUVMap/QueryVertices are also methods of Projection that take arrays that won't currently work. I don't have a current workaround for these.
— Reply to this email directly or view it on GitHub https://github.com/libgdx/gdx-realsense/issues/3#issuecomment-65097393.
I couldn't even get any image streams out of the Intel wrapper. I was able to do that within the first 1/2 hour of using your wrapper.
With respect to passing arrays. I looked at the Intel code and understand the idea of what they are doing, but I don't yet know enough SWIG to duplicate their technique or if it is even possible.
The only reason I'm hitting these issues is because I'm advancing so quickly. The only reason I'm advancing so quickly is your wrapper! Thanks for giving me the jump start code I needed.
I'm posting issues as I find them for future reference, for the other libGDX contestant and so that I can maybe help once I actually learn enough to understand what's going on and patterns emerge. I'm not expecting fixes since the Intel SDK is mostly still a moving target.
I'll try to make some room this weekend to fix the issues. It would be very helpful if you could post any code you have for testing! On Dec 1, 2014 6:56 PM, "jimthev" [email protected] wrote:
I couldn't even get any image streams out of the Intel wrapper. I was able to do that within the first 1/2 hour of using your wrapper.
With respect to passing arrays. I looked at the Intel code and understand the idea of what they are doing, but I don't yet know enough SWIG to duplicate their technique or if it is even possible.
The only reason I'm hitting these issues is because I'm advancing so quickly. The only reason I'm advancing so quickly is your wrapper! Thanks for giving me the jump start code I needed.
I'm posting issues as I find them for future reference, for the other libGDX contestant and so that I can maybe help once I actually learn enough to understand what's going on and patterns emerge. I'm not expecting fixes since the Intel SDK is mostly still a moving target.
— Reply to this email directly or view it on GitHub https://github.com/libgdx/gdx-realsense/issues/3#issuecomment-65105890.