Export mesh doesn't keep rotation

Answered

Comments

24 comments

  • Avatar
    Wishgranter
    Hi HP

    I have marked 2 points on my subject on 4 images / defined distance / aligned cameras / rotated the sparse cloud to align to the grid / reconstruct normal / export mesh as .ply or .obj default settings. Loading the scan in zbrush or Mesh lab, the scan is in the same orientation as the alignment (sparse cloud).

    when add the distance CPs ( and set the distance with the CONSTAINT ) then need realign the scene so its USED in the whole alignment

    then can recon and the scale and rotation will be preserved
    Do you changed anything on the OBJ export ?

    can post some screens so we can solve it ?
    0
    Comment actions Permalink
  • Avatar
    HP
    Hi Milos,

    Thanks for the fast response, here are my settings, I've highlighted what setting I think you are referring as USED;

    Capture.PNG


    Thanks
    HP
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    OK so the scale is set correctly

    so have REaligned as im say ?!?!

    so now try recon with this settings
    go to RECONSTRUCTION=SETTINGS=DEPHT MAP CALCULATIONS= NORMAL MODEL=IMAGE DOWNSCALE and change from 2 to say 3-4
    so get much faster recon but not forget to set BACK when finished experimentation !!! :D

    so get much faster model reconstructed for testing purposes


    If still have issues can take a look on your PC and see if the workflows is correct, because it look something is not done as it should...

    you live in what time zone ? i in CET +1 ( WIEN-BRATISLAVA )
    0
    Comment actions Permalink
  • Avatar
    HP
    Okay I will try settings tomorrow,

    I'm UTC so its late here too!
    Thanks
    HP
    0
    Comment actions Permalink
  • Avatar
    HP
    I still cant get this to work. Even with no scale or constraints.

    I reset program settings on load / import images / align cameras / rotate alignment / normal reconstruction / export obj. Rotation lost, every time. I've tried this all week.

    HP
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi HP

    Send me email to milos.lukac@capturingreality.com and wil arrange a remote session so can take a look and solve you issues... :D
    0
    Comment actions Permalink
  • Avatar
    HP
    Thanks, I will drop you a mail.

    The program is wonderful... but frustrating at the same time :)

    HP
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi HP

    For the orientation of model in RC vs exported rotation
    when you import back it will still be in same place as in RC if you not move, scale or rotate in external app

    get the email, will reply in next few hours...
    0
    Comment actions Permalink
  • Avatar
    jack
    Hi there,

    Loving the software but having the same issue with orientation export. Always comes out in Zbrush in a different orientation to Capturing Reality. I've tried everything in this post, but to no avail. Any suggestions? :)
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi all

    in short the main issue is that the orientation is not same as in RC vs imported in Zbrush ( or other sw )
    so when you import it back from ZBrush to RC its not in same ortientation-position as original model ? or ??
    0
    Comment actions Permalink
  • Avatar
    Green
    Hi,

    Actually after exporting from zbrush back into RC the model looks correctly orientated. It seems like the define ground plane is just moving the grid around not rotating the model...
    0
    Comment actions Permalink
  • Avatar
    brennmat
    Wishgranter wrote:
    Hi all

    in short the main issue is that the orientation is not same as in RC vs imported in Zbrush ( or other sw )
    so when you import it back from ZBrush to RC its not in same ortientation-position as original model ? or ??


    No - the exported model from RC does not maintain the rotation set via "define ground plane". So, although the model LOOKS correctly rotated in RC, when exporting and opening in another software, the rotation is completely wrong.
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi brennmat

    We will add a export dialog where can set that it accept RC scene transformation on export of data.
    0
    Comment actions Permalink
  • Avatar
    brennmat
    Wishgranter wrote:
    Hi brennmat

    We will add a export dialog where can set that it accept RC scene transformation on export of data.


    What transformation is RC using currently? The current state of the software makes exporting from RC with the intention of re-importing to texture extremely frustrating if not impossible.
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi brennmat

    When need process in ZB you NOT need to play with the orientation at all, just process, cleanup in ZB and then import back
    if set scale set it properly and REALIGN and just the process as a model.

    Or use another sw for cleanup ??
    0
    Comment actions Permalink
  • Avatar
    brennmat
    Wishgranter wrote:
    Hi brennmat

    When need process in ZB you NOT need to play with the orientation at all, just process, cleanup in ZB and then import back
    if set scale set it properly and REALIGN and just the process as a model.

    Or use another sw for cleanup ??


    Hi Wishgranter, I understand, but it's very hard to work with a model in ZBrush that has a strange, irregular rotation out of RC. It would simplify the workflow a lot if RC exported the model to reflect the rotation/orientation it has in the RC visualization window.
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi brennmat

    Zb workflow, I don't fully understand the issue with rotation, have processed 100´s of scanns and the beauty of ZB is it not matters how its rotated except you trying to do some own rotation ( what reason ? )
    0
    Comment actions Permalink
  • Avatar
    brennmat
    Wishgranter wrote:
    Hi brennmat

    Zb workflow, Im not fully understand the issue with rotation, have processed 100´s of scanns and the beauty of ZB is it not matters how its rotated except you trying to do some own rotation ( what reason ? )


    The issue is that a model is much harder to work with in ZBrush when it is imported with a bizarre rotation of (for the sake of example) 20 degrees off the Z axis, 40 degrees off the Y axis and 33 degrees off the X axis, rather than being oriented perpendicular to XYZ as I've set it up in RC using the "Define Ground Plane" tool.

    This wouldn't be an issue in and of itself - after all, I can simply fix the orientation in ZBrush. It becomes a problem when I want to import it back into RC to texture: then I have the problem of trying to match RC's strange orientation from the original.

    I've processed more than 1,000 photomodels using Photoscan and ZBrush, and have NEVER had a model exported out of photoscan come into ZBrush with a seemingly arbitrary and random rotation or orientation, that does not match exactly what I was seeing on the screen in PS.
    0
    Comment actions Permalink
  • Avatar
    chris
    I recently figure this out.

    so i was running mga gda 94 zone 55 (im in australia, but use whatever is correct for your project) as my project space. and local as output.

    this was wrong.

    I'm now running mga gda 94 zone 55 for both project and output.

    i preserve co-ordinates on export.

    but then manually enter the x, y offset to re center the model.

    I figure this by first exporting the model at its really far away position. center the pivot point. find its position and use the number to offset the position in rc.

    after this is all working nicely.
    0
    Comment actions Permalink
  • Avatar
    bananajunky
    Hi RC team.

    When exporting model from RC into Maya or ZBrush for client handover, it would be great if the orientation was kept the same as in the define ground plane suggests in RC itself.

    It is incredibly frustrating having to re-orientate every time. There are 15 people in our office at work and we all agree this would be very helpful. In fact we can't understand why it isn't standard?

    Are you able to implement this and if so when might we expect to see this feature in RC?

    Many thanks
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi bananajunky

    when exporting OBJ, set it like in the screenshot.

    We are preparing a solution for the rotation for export...
    0
    Comment actions Permalink
  • Avatar
    bananajunky
    Thank you, looking forward to when the solution is implemented. That will be a good day.
    0
    Comment actions Permalink
  • Avatar
    Lucia CR
    bananajunky wrote:
    Hi RC team.

    When exporting model from RC into Maya or ZBrush for client handover, it would be great if the orientation was kept the same as in the define ground plane suggests in RC itself.

    It is incredibly frustrating having to re-orientate every time. There are 15 people in our office at work and we all agree this would be very helpful. In fact we can't understand why it isn't standard?

    Are you able to implement this and if so when might we expect to see this feature in RC?

    Many thanks

    Fixed with today's release -> Version 1.0.2.1976 RC release
    0
    Comment actions Permalink
  • Avatar
    bananajunky
    Thank you guys, thats great news. Looking forward to testing it out. :)
    0
    Comment actions Permalink

Please sign in to leave a comment.