Need some OBJ import help
I loaded an OBJ and I it said something about scale 26453%. And in Daz, at 100% scale it is several kilometers in size. I can set the scale to .3% (or whatever works) but I don't want to have to remember that. Will the scale be fixed if I export and reimport it? What format should I use if so? Any other needed steps?
The only interesting text in the log file is "Importing Wavefront Object" if that helps.
EDIT: Nevermind. The scale during import was the issue. Setting it to 100% fixed it.
Post edited by jmucchiello on

Comments
Right, OBJ doesn't have an inherent scale (well, it might have in the original context - but in practice most applications just take one OBJ unit as whatever their base unit it). You wer, I think, importing with the Poser preset but the mesh itself was exported at 1 unit = 1 cm (which is the Daz Studio default). The same issue arises with respect to the axis system used (Y-up or Z-up). DS allows you to specify scale and orientation, and to use and create presets (which will be correctly inverted between export and import).
Yeah, I was using a few OBJ files from different sources and everyone of them was different. Is the "normal workflow" for loading an OBJ?
If you have re-scaled something in Daz to be the appropriate size for your scene in Daz and you want to "bake transforms" then yes export and reimport.
Also this statement doesnt make sense.
"it said"
What said?
OBJ Import dialogue, I would assume - if you have it showing options as well as presets then there is a field for scale.
It isn't a matter of something missing, it's a matter of the file not specifying what its scale should be (OBJ doesn't have a place for that) so if you don't know where it came from, and have a preset to match, then yes some trial and error may be required - though once you have settings that work for a particular source you can add your own preset to pick it next time. I would start with the modo preset as Y-up, 1 unit = 1m seems to be fairly common.
When creating obj files yourself it's worth working in cm, that way 100% is a standard and easy figure to remember for import.
For obj files generated by other people, I always import them into a modeller where I can measure them first to get an idea of the overall size.
It could be feasible to write a DS script to extract the bounding box size of an imported object, and then possibly ask the user for a desired object size to scale it to. Then you could export that & re-import at 100% to bake in the scale. There are many ways to do this and it could be down to personal preference which way you go.
Regards,
Richard