Hello,
Is there a way to fix/stick AR objects in space so if I move off target I can continue to see augmentations in proper relation to target without having the target in view? What i want to do is see particles come from a target area and when I move off target, I can still see the particles coming from the same direction. Like wise, if there is a model that appears when a target is tracked, if I want to look at a view of the model that doesn't include the target, i can move around the model without the target in view. I guess its more like using the target as a trigger or spacial scaler to set up an AR Space.:confused:
Anyone Ideas?
- Sort Posts
- 5 replies
- Last post
Off target models/animations
Re: Off target models/animations
You have control of what happens when tracking is lost and found. See the TrackableEventHandler script that comes with the samples. You could choose not to hide the renderers when tracking is lost. You could also "unbind" content from a trackable at any time by unparenting the content from the trackable (set the transform's parent to null). If you do this you may want to set the World Center Mode on the ARCamera to NONE, which guarantees that the camera will not move in the scene.
- Kim
Re: Off target models/animations
Re: Off target models/animations
Re: Off target models/animations
You can accomplish some of what you're looking for by using the compass, but it's not going to be as precise as the image registration that QCAR provides.
For instance, if you want to retain that particle animation, simply don't disable its rendering when tracking is lost (e.g. OnTrackingLost() in the samples). Then orient the field according to the compass heading until the image target is in view again.
reh,
Using the compass is going to be very laggy. You can compensate for the latency with clever use of the rotational accelerometers. However, you are going to be surprised by how bad the result will look compared to marker tracking.
QCAR has been out of beta for a while now.
If you want to move the camera off the marker, it is best to use another marker to pick up the tracking again. But you have to bring the markers into a unified coordinate system. Which is exactly what my project is about:
http://ar.qualcomm.at/node/2001030
Have a look at it. I think it will suit your needs just fine.