Search Unity

[ARFoundation] Replace recognized image object with 3D model

Discussion in 'AR/VR (XR) Discussion' started by antonioluongo864, Sep 11, 2019.

  1. antonioluongo864

    antonioluongo864

    Joined:
    Mar 23, 2018
    Posts:
    2
    Hello,

    I would like to ask you a question about a feature I have to implement for a personal project I'm currently developing, using ARFoundation.

    What I need to do is to replace a foreground section of the image acquired real-time by my smartphone and replace it with a 3D model, which I already loaded in my app.

    Example : I point with my smartphone camera to a scene in which there is a house; I want to replace that house with a 3D model of a house I have made before and loaded in my assets folder.

    I was thinking about using geolocalization to accomplish that, but I was wondering how can I match the "house" with the corresponding 3D model I have to replace.
    Tried to do some research online but ar foundation gives not so many examples or documentation for this case specifically.

    Any idea on how approach this kind of problem?
    Thank you so much and in advance for the replies :)
     
  2. antonioluongo864

    antonioluongo864

    Joined:
    Mar 23, 2018
    Posts:
    2