googlecreativelab / ar-drawing-java

A simple AR drawing experiment build in Java using ARCore.
https://experiments.withgoogle.com/ar/arcore-drawing
Apache License 2.0
416 stars 96 forks source link

drawing over the objects rather than in the air #12

Open khurramengr opened 6 years ago

khurramengr commented 6 years ago

I was trying to draw over the object rather than in the air, currently whenever i draw a line over some object it draws in the air at some specific distance from the camera, and while moving the camera towards that object the camera passes through that line and line doesn't stay on the object anymore. Currently I've tried changing the strokeDrawDistance value inside the AppSettings.java but that doesn't seem working.

khurramengr commented 6 years ago

@HalfdanJ can you guide me further?