-
-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Add new shape 'ARCorePlane'? Add (png) image as material for ARCorePlane to display an image #66
Comments
Hi, I'll try to implement this feature in this week! Thank you |
Looking forward to it! |
I'm releasing new version... You can add image now:
|
Tested it and can confirm it works flawlessly! Closing this issue now. I'll sponsor you today 👍 |
Instead of the image could you display a video on it and play it on a loop ? |
me too, i create a ARCoreMaterial instance, try to give video byte to textureByte show imagedecode error.. |
Hi,
Could anyone (or @giandifra himself) see if they can expand the current shapes (cube, cylinder, sphere) with a 'plane'? I would like to display an 2D image. Right now I'm showing a flat cube with the image as its texture, but it has a white reflectance that I can't get rid of.
When using a (flat) cube with certain png's as its texture, I'm getting "Unhandled Exception: PlatformException(error, Invalid Bitmap: Bitmap's configuration must be ARGB_8888, but it was RGBA_F16, null)" when trying to display certain png's. These png's work fine with ARKit's Flutter plugin (https://pub.dev/packages/arkit_plugin).
ARKit code example:
I tried to add this feature myself but it seemed more involved than I hoped. If I got it working myself I'll close this issue, but I'm not that familiar with Kotlin and Android in general.
The text was updated successfully, but these errors were encountered: