Issues importing models

Comments

13 comments

  • Avatar
    Götz Echtenacher

    Hi Jesse,

    there are plenty of related solutions described here.

    If you name your new file exactly as the old was and put it in the same folder as the rcinfo file, it might work.

    The other possibility is that your software changes something about the orientation, which happens more often than not...

    1
    Comment actions Permalink
  • Avatar
    Jesse Benson

    could you link me to one if you know of one? I tried finding one for more than an hour. I found some hopeful suggestions and I tried all suggestions I found here. I also have tried playing around with both software for almost 10 hours. I must be missing something.

     

    Thank you for your time to help me with my problem.

    0
    Comment actions Permalink
  • Avatar
    Götz Echtenacher

    Hi Jesse,

    No problem!  :-)

    I've summarised the quintessence: the rcinfo file and the mesh need to have the same name. It's saver to name the new mesh like the old one (rename the old one beforehand, obviously) and move it to the original location because I think there can be full paths and file names in the rcinfo file which would need changing as well (not 100% certain though).

    If this does not work for you, then the problem might be caused by something else.

    I just had a thought. Did you re-define the ground plane, meaning did you rotate the mesh in RC before exporting it? If yes, you might want to reset it before export and see if that helps. The reason is that RC doesn not really rotate the mesh, it just changes the way it is displayed. This might screw with the coordinates at export. I'm not sure this is it, but worth a shot...

    0
    Comment actions Permalink
  • Avatar
    Jesse Benson

    I tried naming the mesh the same and placing it in the same location. Same results as before, however this time it seems the mesh is imported into reality capture in a different location (lower).

     

    Is there a way to manually adjust the imported mesh's alignment? I tried to find a way, but could not.

     

    I did not redefine the ground plane.

    0
    Comment actions Permalink
  • Avatar
    Götz Echtenacher

    Sorry, I'm out of ideas then.

    In my opinion it can either be a bug or somewhere in the process outside of RC.

    You can look at the rcinfo with a normal text editor - maybe you can figure something out about the orientation and adjust it to your needs...

    0
    Comment actions Permalink
  • Avatar
    wyattroy

    I'm having the same problem :(

     

    Did you ever find a solution?

     

    0
    Comment actions Permalink
  • Avatar
    Götz Echtenacher

    Hi Wyatt,

    are you sure that the position is off? Because in my experience RC does not display different components at exactly the same position, also the grid is only for orientation and does not correspont to the 0-Plane. Only it seems like the grid is representing some kind of subdivision of the mesuring unit (1 - 0.1 - 0.01 etc) though not absolute, just relative...

    0
    Comment actions Permalink
  • Avatar
    wyattroy

    The original mesh is over on the left, on the grid -- the new mesh that I cleaned up outside of RC is the huge shape over to the bottom right. I'm so confused!

     

    0
    Comment actions Permalink
  • Avatar
    wyattroy

    Also, thank you for replying @Gotz!!

    0
    Comment actions Permalink
  • Avatar
    Götz Echtenacher

    Hey Wyatt,

    no problem!  :-)

    Looks to me like a scaling issue. My guess is that you import (in your other software) in meter units and export in mm (or cm). Since RC doesn't know what's what, it only goes by the numbers and then it's huge.

    0
    Comment actions Permalink
  • Avatar
    wyattroy

    I figured it out -- 

    1) When importing the RC mesh into Medium, you have to make sure you don't change the transform or orientation

    2) Clean the model in Medium

    3) Remove the original RC .obj file from its folder

    4) Export your Medium model as .obj with the exact same name as the original RC mesh

    5) Import model into RC

    Works perfectly!

    0
    Comment actions Permalink
  • Avatar
    crunchywomble

    @Wyatt Roy-

    Can you go into a little more detail on the various steps?
    I've tried this, and so far it's not working. The models are always offset when coming back into RC.

    It may have something to do with Medium's export tools (which are not good), but I'd appreciate any help.

    Thanks.

    0
    Comment actions Permalink
  • Avatar
    wyattroy

    Sure! So let's see. 

    1) You use RC to make a photogrammetric model of something

    2) You unwrap the model in RC,

    3) Texture the model in RC

    4) Export the model as a .obj and save it somewhere locally -- I save it on my desktop. There should be a .obj file as well as a .mtl file and a jpg or png image file (and a .rcinfo file).

    5) I close RC and boot up my Oculus

    6) I open Medium

    7) I import object as clay (I forget what the exact wording is in the menu). I usually make the layer fill 95% of the space

    8) Medium thinks for a while

    9) the model appears in the workspace

    10) DON'T CHANGE THE TRANSFORM! This means don't make the model bigger or smaller or rotated. In fact, even before you put any work into editing the model at all, it might be a good idea to test to make sure you imported it correctly by exporting it (to test, skip the next step)

    11) Clean up the model in Medium

    12) Export model -- I usually simplify the model to under a million triangles. Save it in the same place as you saved the original RC export

    13) Save the Medium file, so you can go in and tweak things later if you want

    14) Close Medium

    15) Go to your desktop, or wherever you saved the .onj.

    16) Copy the name of the RC-exported .obj model, then move that model into a different folder. 

    17) Rename your Medium-exported model to the exact same name as the RC-exported model. 

    18) Open RC again, open the same project, and click "import model"

    19) What you're essentially doing is tricking RC into using the same .rcinfo file for the new Medium model. That's why it's crucial that your cleaned up Medium model has the exact same name as the original RC model had. When you import the new model into RC, it should appear in 1D view as another model within the normal component, 

    20) Unwrap/Texture the new model

    21) Export the model as a new .obj and you're all done!

    0
    Comment actions Permalink

Please sign in to leave a comment.