But version 1.7.2 is working fine, i dont understand, the problem i have is, the region capture script work for static models but dont for animated 3d models, i dont know why
I have not used the conditions depending on the device. I used Vuforia 5.0.10 and Region Capture 1.7.2 + 1.7.5 update without make some change in frameworks. In my case I take the texture one time when vuforia recognizing the target. To correct the shift I change WaitForTexture method like:
I have not used the conditions depending on the device. I used Vuforia 5.0.10 and Region Capture 1.7.2 + 1.7.5 update without make some change in frameworks. In my case I take the texture one time when vuforia recognizing the target. To correct the shift I change WaitForTexture method like:
Yes, it's possible. We have the solution where we are using Vuforia + Region Capture frameworks. Of course it's not simply to produce the correct result, however we have made it to all iOS and Android devices. To write a complete documentation or to understand exactly your case, you may have to spend a lot of time and resources, which can't be free.
If you don't mean what can be wrong, try to do it from the beggining, and carefully make any changes you completely incomprehensible.
Has anyone solved shit issue and could post his solution? I tried Region Capture 1.7.2 , 1.7.5 and some solutions posted here but I always see difference between iPhone and iPad devices.
Also - why do we have position&scale RegionCapture prefab? If Vuforia knows position of the marker and is able to scale and position objects attached to it in Unity scene aren't we able to read texture out of it using some API? How RegionCapture is exactly working?
Thanks, it really helpful and I found that when my phone is portrait it is always have shift but ok when landscape. I use Iphone 6 and the lastest version of region capture. So it may be the code in here
Hi Maximrouf, these changes did not fix this for me - however, I found my problem and will describe the fix here if it helps anyone else. For context, I updated Region_Capture.cs to 1.7.5 and added two lines to GetTexture.cs as suggested by soznanov.
I was taking the RenderTexture, and converted it to a 512x512 Texture2D. I used this texture to replace an existing Sprite's texture. The problem was that this Sprite's resolution was 576x576. In the Editor, it apparently was interpreted as 512x512 so in Play mode, the newly created Texture2D matched up just fine. However, on the iPhone 6S+, it did not automagically sync up. Changing the existing Sprite's texture to be natively 512x512 fixed this for me.
Btw, thank you Maximrouf for all your effort and support here. It's a fantastic tool, great work :)
I am running on an iPhone 6S+ and am also experiencing alignment issues, possibly sizing issues too. Running in the Unity Editor on a Macbook Pro using the built-in camera works as intended. Does anyone know what the source of the problem is?
CodingMon , my method WaitForTexture is not different, I'm needing to use first texture when target is detected. And I use proprietary method for setting texture.
in WaitForTexture method. And it's solved problem for iPhone 6/6+ and some Android devices where offset was highly visible. But some trouble with shifted texture keep on iPhone 5c.
I'm trying to catch a texture for coloring 3d models. And meet some trouble with wrong center detection of target. I think this may be due to the definition of the target center vuforia. Becouse if I put little cube in center of coordinate it not always in center of picture. And the offset is often different.
Do you can tell me about what you think and how I can solve it?
I'm trying to catch a texture for coloring 3d models. And meet some trouble with wrong center detection of target. I think this may be due to the definition of the target center vuforia. Becouse if I put little cube in center of coordinate it not always in center of picture. And the offset is often different.
Do you can tell me about what you think and how I can solve it?
The video which you shared was awesome.I tried it with tablet nexus and found problem with skin shifting (working fine on small screen device like moto x, samung duos and so on..).sharing some screenshots with you.please find attachement.
The video which you shared was awesome.I tried it with tablet nexus and found problem with skin shifting (working fine on small screen device like moto x, samung duos and so on..).sharing some screenshots with you.please find attachement.
The video which you shared was awesome.I tried it with tablet nexus and found problem with skin shifting (working fine on small screen device like moto x, samung duos and so on..).sharing some screenshots with you.please find attachement.
Hi Maxim for your excellent work, i have the following problem. when i export the 3D model in Editable POLY the Region Capture Script Works perfectly, but when i export in Editable Mesh Doesnt work. please the image attached.
If it can help, ipad mini 2 and ipad mini 3 have almost identical hardware (camera device is identical, screen size etc...). But the texture is offseted on ipad mini 2. Maybe this two devices can be a good reference to understand what is going wrong on devices with offseted texture. Also, with front camera, it works so far with all the devices we have here (no matter it is ios or android). This also can be a good clue.
@maximrouf Firstly i want to appreciate you effort. Really good work! I used the region capture from December and I was able to make it work flawlessly. Now when I used the Jan update, I am perfomring the same steps, the tecture is being captured in the "Show texture window" but not being applied on my 3d Model. Please let me know if there are some addtional steps to be taken in the new update.
are recalculated after switching from back camera to front camera.
But I still observe offset on many devices (including both ios devices and android devices). Did somebody succeed to use the back camera on every devices ?
Region Capture
But version 1.7.2 is working fine, i dont understand, the problem i have is, the region capture script work for static models but dont for animated 3d models, i dont know why
September 15, 2012
Region Capture
Hi, I need 1.7.5 not 1.7.2
thanks
August 25, 2011
Region Capture
The link is working: https://github.com/maximrouf/RegionCapture/blob/master/region_capture_1.7.2.unitypackage?raw=true
September 15, 2012
Region Capture
the link to version 1.7.5 doesn't works.
is it possible to restore the link or someone can post it again?
thanks
August 25, 2011
Region Capture
I have not used the conditions depending on the device. I used Vuforia 5.0.10 and Region Capture 1.7.2 + 1.7.5 update without make some change in frameworks. In my case I take the texture one time when vuforia recognizing the target. To correct the shift I change WaitForTexture method like:
What I have said before! And of course you need set correct all other important settings.
January 18, 2016
Region Capture
I have not used the conditions depending on the device. I used Vuforia 5.0.10 and Region Capture 1.7.2 + 1.7.5 update without make some change in frameworks. In my case I take the texture one time when vuforia recognizing the target. To correct the shift I change WaitForTexture method like:
What I have said before! And of course you need set correct all other important settings.
January 18, 2016
Region Capture
Could you give some details?
What RegionCapture and Vuforia versions are you using? Did you make some changes in RegionCapture code? If so - what they are?
Could you post some example code? How do you position RegionCapture prefab on the scene? Is it something like
Do you somehow post-process image to remove shift issue?
September 7, 2015
Region Capture
Hi, Guys!
Yes, it's possible. We have the solution where we are using Vuforia + Region Capture frameworks. Of course it's not simply to produce the correct result, however we have made it to all iOS and Android devices. To write a complete documentation or to understand exactly your case, you may have to spend a lot of time and resources, which can't be free.
If you don't mean what can be wrong, try to do it from the beggining, and carefully make any changes you completely incomprehensible.
Good luck.
January 18, 2016
Region Capture
Has anyone solved shit issue and could post his solution? I tried Region Capture 1.7.2 , 1.7.5 and some solutions posted here but I always see difference between iPhone and iPad devices.
Also - why do we have position&scale RegionCapture prefab? If Vuforia knows position of the marker and is able to scale and position objects attached to it in Unity scene aren't we able to read texture out of it using some API? How RegionCapture is exactly working?
September 7, 2015
Region Capture
Hi,
anyone has solved the texture shift problem?
thanks..
EG
August 25, 2011
Region Capture
Guys, do any have working demo project with simple model ? please share it.
November 18, 2015
Region Capture
Hello,
I´m getting this bug when building to iOS. On Android I don´t have any trouble.
What could be the cause of this.
I´m using:
Unity 5.3.1f1
iPhone 6
Xcode 7.2
Region Capture
Thanks in advance.
April 6, 2014
Region Capture
Thanks, it really helpful and I found that when my phone is portrait it is always have shift but ok when landscape. I use Iphone 6 and the lastest version of region capture. So it may be the code in here
float aspect = (float)videoTextureInfo.imageSize.x / (float)videoTextureInfo.imageSize.y;
if (Screen.orientation == ScreenOrientation.Portrait || Screen.orientation == ScreenOrientation.PortraitUpsideDown) {
AR_Camera_Vector.transform.localScale = new Vector3 (1.0f / aspect, aspect, 1.0f);
}
Please take a look.
January 11, 2016
Region Capture
To tooMuchMustard / Soznanov
I appreciate your sharing.
According to your suggestion, I put the two lines to GetTexture.cs.
But for my project, the object always comes black as you can see in the picture that I attached below.
I really wonder how you guys get the desired result.
The following is a dropbox link to my unity project.
https://www.dropbox.com/s/5db4447onlvet11/RegionCaptureTest.zip?dl=0
Could you take a look at it and shed some light on me?
March 12, 2014
Region Capture
Hi Maximrouf, these changes did not fix this for me - however, I found my problem and will describe the fix here if it helps anyone else. For context, I updated Region_Capture.cs to 1.7.5 and added two lines to GetTexture.cs as suggested by soznanov.
I was taking the RenderTexture, and converted it to a 512x512 Texture2D. I used this texture to replace an existing Sprite's texture. The problem was that this Sprite's resolution was 576x576. In the Editor, it apparently was interpreted as 512x512 so in Play mode, the newly created Texture2D matched up just fine. However, on the iPhone 6S+, it did not automagically sync up. Changing the existing Sprite's texture to be natively 512x512 fixed this for me.
Btw, thank you Maximrouf for all your effort and support here. It's a fantastic tool, great work :)
January 28, 2016
Region Capture
tooMuchMustard - this problem source is GameObject AR_Camera_Vector orintation vector.
Try to change this line:
AR_Camera_Vector.transform.localEulerAngles = new Vector3 (0.0f, 180.0f, 180.0f); // to 0 0 0
Or (And) this lines:
June 10, 2013
Region Capture
I am running on an iPhone 6S+ and am also experiencing alignment issues, possibly sizing issues too. Running in the Unity Editor on a Macbook Pro using the built-in camera works as intended. Does anyone know what the source of the problem is?
January 28, 2016
Region Capture
However, in Region Capture manual described about use Reculculate method's when the marker has changed.
January 18, 2016
Region Capture
CodingMon , my method WaitForTexture is not different, I'm needing to use first texture when target is detected. And I use proprietary method for setting texture.
January 18, 2016
Region Capture
To Maximrouf,
On the contrary, I found that it often works well with iPhone6 while running in the xcode debug mode with a connected cable.
But it keeps failing when running standalone.
To soznanov,
According to your finding, I've tried putting those lines as follows.
--------------------------------------------------------------------------------------------------------------------------------
private IEnumerator WaitForTexture() {
--------------------------------------------------------------------------------------------------------------------------------
But the texutre comes black.
Could you shed some light on how you put those lines exactly?
*I'll also try to solve this problem as much as I can and let you know if anything good comes out.
Thank you.
March 12, 2014
Region Capture
Hi, friends!
I added this strings:
in WaitForTexture method. And it's solved problem for iPhone 6/6+ and some Android devices where offset was highly visible. But some trouble with shifted texture keep on iPhone 5c.
January 18, 2016
Region Capture
Hi CodingMon. Could you run the application on IPhone6 without a connected cable?
Sometimes I see this problem with the XCode debug mode.
June 10, 2013
Region Capture
I really appreciate your efforts, maximrouf.
FYI, the shifted texture problem has gone on iPhone5, but is still there on iPhone6.
Thank you again.
March 12, 2014
Region Capture
June 10, 2013
Region Capture
Hi, Max.
I'm trying to catch a texture for coloring 3d models. And meet some trouble with wrong center detection of target. I think this may be due to the definition of the target center vuforia. Becouse if I put little cube in center of coordinate it not always in center of picture. And the offset is often different.
Do you can tell me about what you think and how I can solve it?
Thanx.
January 18, 2016
Region Capture
Hi, Max.
I'm trying to catch a texture for coloring 3d models. And meet some trouble with wrong center detection of target. I think this may be due to the definition of the target center vuforia. Becouse if I put little cube in center of coordinate it not always in center of picture. And the offset is often different.
Do you can tell me about what you think and how I can solve it?
Thanx.
January 18, 2016
Region Capture
Hi maximrouf,
Gentle Reminder,
The video which you shared was awesome.I tried it with tablet nexus and found problem with skin shifting (working fine on small screen device like moto x, samung duos and so on..).sharing some screenshots with you.please find attachement.
Wating for your help on the same.
Thanks
Vivek Desai
September 3, 2015
Region Capture
Hi Vivek,
It would be great if you can help me to capture the color of particular region. I am newbee to Vuforia.
Thanks
June 17, 2015
Region Capture
Hi Vivek,
It would be great if you can help me to capture the color of particular region. I am newbee to Vuforia.
Thanks
June 17, 2015
Region Capture
Hi Vivek,
It would be great if you can help me to capture the color of particular region. I am newbee to Vuforia.
Thanks
June 17, 2015
Region Capture
Hi Vivek,
It would be great if you can help me to capture the color of particular region. I am newbee to Vuforia.
Thanks
June 17, 2015
Region Capture
Hi Vivek,
It would be great if you can help me to capture the color of particular region. I am newbee to Vuforia.
Thanks
June 17, 2015
Region Capture
Hi Vivek,
It would be great if you can help me to capture the color of particular region. I am newbee to Vuforia.
Thanks
June 17, 2015
Region Capture
Hi Vivek,
It would be great if you can help me to capture the color of particular region. I am newbee to Vuforia.
Thanks
June 17, 2015
Region Capture
Hi Vivek,
It would be great if you can help me to capture the color of particular region. I am newbee to Vuforia.
Thanks
June 17, 2015
Region Capture
Hi Vivek,
It would be great if you can help me to capture the color of particular region. I am newbee to Vuforia.
Thanks
June 17, 2015
Region Capture
Hi maximrouf,
The video which you shared was awesome.I tried it with tablet nexus and found problem with skin shifting (working fine on small screen device like moto x, samung duos and so on..).sharing some screenshots with you.please find attachement.
Hope for solution from your side.
Thanks
Vivek
September 3, 2015
Region Capture
Hi maximrouf,
Great work!!!
The video which you shared was awesome.I tried it with tablet nexus and found problem with skin shifting (working fine on small screen device like moto x, samung duos and so on..).sharing some screenshots with you.please find attachement.
Hope for solution from your side.
Thanks
Vivek
September 3, 2015
Region Capture
hi,
have you solved the shift problem?
thanks
E.
August 25, 2011
Region Capture
Hi Samuel, I checked it out... mesh and polygons. I don't see any problems.
All animations works fine.
Could you pack your demo-project to the zip file and send it to me?
June 10, 2013
Region Capture
Hi Maxim for your excellent work, i have the following problem. when i export the 3D model in Editable POLY the Region Capture Script Works perfectly, but when i export in Editable Mesh Doesnt work. please the image attached.
Thanks so much
September 15, 2012
Region Capture
Good luck Maxim :)
If it can help, ipad mini 2 and ipad mini 3 have almost identical hardware (camera device is identical, screen size etc...). But the texture is offseted on ipad mini 2. Maybe this two devices can be a good reference to understand what is going wrong on devices with offseted texture. Also, with front camera, it works so far with all the devices we have here (no matter it is ios or android). This also can be a good clue.
Cheers man !
Thibault.
November 27, 2015
Region Capture
June 10, 2013
Region Capture
Hey, how can I make a multi target region capture?
I need to do two differents targets appear and get the texture from the relative imageTarget.
Can I do this? If yes, How?
January 4, 2016
Region Capture
@maximrouf Firstly i want to appreciate you effort. Really good work! I used the region capture from December and I was able to make it work flawlessly. Now when I used the Jan update, I am perfomring the same steps, the tecture is being captured in the "Show texture window" but not being applied on my 3d Model. Please let me know if there are some addtional steps to be taken in the new update.
Thanks
April 23, 2015
Region Capture
I figured out than using the front camera does not have any offset so far as long as :
1 - Matrix4x4 P = Vuforia.VuforiaUnity.GetProjectionGL (0,0,0)
has element m00 inversed on android (and m11 inversed on ios devices)
2 - The ratios
are recalculated after switching from back camera to front camera.
But I still observe offset on many devices (including both ios devices and android devices).
Did somebody succeed to use the back camera on every devices ?
November 27, 2015
Region Capture
hi,
any news?
thanks..
August 25, 2011
Region Capture
I have the same shif with samsung galaxy note 4
with the older version, using it in portrait mode is ok.
in landscape mode, the texture is shifted.
with the new version, the shif is present in both mode.
August 25, 2011
Region Capture
Victor sorry, i can't. It was 2 hours recording video our team-work without saving project.
June 10, 2013
Region Capture
I was trying to do some project here, but the model was so unstable, and the color at it wasn't getting right.
Could you provide me that Pumba project?
Thanks :D
January 4, 2016
Pages