Open JoSuarezC opened 5 years ago
Hi @JoSuarezC!! I'm trying to do something similar but it doesn't work either... Have you achieved any progress? Are you developing with iOS? Maybe with ViroARObjectMarker using a 3D Model of the building could work (I don't have iPhone to tested)
Hello. I haven't tried iOS yet. I changed the scale of the 3D Object and it seems to work in a better way. The geolocalization is not perfect, sometimes there is a little difference of some meters but I will work on this way.
<ViroNode position={[this.state.objectXPosPretil, 0, this.state.objectZPosPretil]} dragType="FixedToWorld" onDrag={()=>{}} >
<Viro3DObject
onClick={this._objectOnClick}
source={require('./res/emoji_smile/emoji_smile.vrx')}
resources={[require('./res/emoji_smile/emoji_smile_diffuse.png'),
require('./res/emoji_smile/emoji_smile_normal.png'),
require('./res/emoji_smile/emoji_smile_specular.png')]}
position={[this.state.objectXPosPretil, 2, this.state.objectZPosPretil]}
scale={[20,20,20]}
type="VRX" />
</ViroNode>
</ViroARScene>
Hello Viro Admins.
I'm developping an app using Viromedia. In this app I want to recognize a specific house or building and activate an animation above it. I got a guide by this issue: https://github.com/viromedia/viro/issues/131 setting the specific 2D Coordinate where I want to place the animation. However, it does not work, the coordinates where the animation it placed is not always exactly. May you help me if there is any mistake on my attached code?
Also I tried using Image Tracking, setting a photo of the house that I want to track but it was not recognized when I was in front of it.
Is there any other option that I can use to build my app using Viromedia?
Thank you so much for your help.