Export mesh doesn't keep rotation

Hi,

When I export my mesh it doesn’t retain the rotation that I have moved my model to, by using ‘DEFINE GROUND PLANE’.

My workflow;
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).

I have read not to press UPDATE, even if I do it, still doesn’t work.

Please help!

HP

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 ?

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

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 !!! :smiley:

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 )

Okay I will try settings tomorrow,

I’m UTC so its late here too!
Thanks
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

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… :smiley:

Thanks, I will drop you a mail.

The program is wonderful… but frustrating at the same time :slight_smile:

HP

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…

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? :slight_smile:

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 ??

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…

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.

Hi brennmat

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

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.

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 ??

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.

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 ? )

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.

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.