Start a new topic

Render image on a plane

Hello,

I am using the plane detection feature of the SDK to detect vertical walls. I want to render an image from my phone onto that rectangle which appears when a wall is detected but i am unable to do so.

Can anyone help me out?


I am using Android SDK


Hi Rahul,


Can you please provide further details:


  • Which version of the SDK are you using?
  • Are you using any of our Extensions (Cordova, Xamarin, Unity)? If yes, which version are you using? Please keep in mind that the plane detection feature is currently available in our Native and Unity SDK (professional edition) only.
  • What device does this happen with (model details and OS version)?
  • Is this happening with the sample app or in your own app? If it happens with your own app, does the sample app and the plane detection sample work on your device?


Thx and greetings

Nicola

Hi,

Please find my response inline:

  • Which version of the SDK are you using? - Latest Android SDK 9.1
  • Are you using any of our Extensions (Cordova, Xamarin, Unity)? NO
  • If yes, which version are you using? N/A
  • Please keep in mind that the plane detection feature is currently available in our Native and Unity SDK (professional edition) only.What device does this happen with (model details and OS version)? Samsung A80, Android 10 Version
  • Is this happening with the sample app or in your own app? MY OWN APP
  • If it happens with your own app, does the sample app and the plane detection sample work on your device? YES, Plane detection works. I have not changed anything from the sample app.

My requirement is to show an image, any image from the device on that detected plane

Hi Rahul,


As it sounds you're working with the Native API. If this is the case you'll need to implement / use your own rendering engine:


The Native API wraps the main functionalities of the Wikitude and enables the full computer vision power in your app. To keep it lean, the  Native API does not integrate a separate rendering engine, but offers you the full flexibility in terms of rendering augmented reality content. Details on feature support and comparison to the JS API can be found here:


https://www.wikitude.com/products/native-and-js-api-comparison/


So if you don't plan to use a specific rendering engine, we recommend to go with the Unity Plugin in your case.


Thx and greetings

Nicola

Hi,

I am new to this AR thing.

Can you guide me? I just want to put an image on the plane. Thats it

Login or Signup to post a comment