Thanks for great asset! Can you explain how to save captured texture to file?
GOtoApplyTexture - object that we paint on
mainTextureAs2D- mainTexture from GOtoApplyTexture object
TextureToSave - public Texture2D - original mainTexture of GOtoApplyTexture object
Ok.. I added version for Unity 4X.
Now, all versions will be available on SourceForge.
I was getting some weird probelms with the unity 5.0 version. When i build the android app, the app was laggy and crashed every now and then. With the older version i'm not having such issues, so i decided to use the older version.
I tried to create the region capture prefab my self, but wasn't able to get the region capture perfectly. i think i might be having an issue with the shader script. The camera feed looks distorted on my region capture prefab. Any idea on how to go fix that. I seriously am out of ideas as to how to fix that
Why do you use an older Unity version?
So i'm working with unity 4.6
and when i import the region capture project, i'm unable to use the region_capture prefab for some reason.
do you have any idea why this might be an issue.
I tried to work your code in unity 5.0 it worked fine
Great !! it's exactly what i want to do. Thank you very much!
I have read your request and I added some new elements in the code.
– RenderTexture draw in GUI --- ("Show Texture" checkbox)
– Auto Position and Scale --- ("Auto Region Size" checkbox)
– Update help information --- (new ReadMe.txt)
Click here – Setup image
ok i'm just a complete newbie to this, so ths question may sound very trivial.
I want to obtain the image as Texture2d and i can't figure out how to go about it.
Some guidlines as to how to go about it
oh, I see, what we want to do now is change the position, rotation of "region_capture" reference to the position of "Image Target" ?
For scale size? ..
I just know the aspect ratio of my prefab to ImageTarget. (1/10)
how are you doing the calculation for it ?
Set your "region_capture" prefab size is 256 / 10 = 25.6
256 for the image target scale.
I mean - the scale values of the ImageTarget.
512 x 512 pixel
What is the size of your ImageTarget?
Thank you very much about your code !I followed your guide, but it just wrap everything which camera watched to "Region_Capture" material. Should i finish step 5 before i can get just image target in camera image ? and you sad that use Scale, Position, and Rotation, these modifies attack to texture of material ?
Are you sure you want to delete this message?
Are you sure you want to delete this conversation?
To reset your password please enter the email address associated with your account. An email will be sent to you with instructions on how to complete changing your password.