Import OBJ with correct UVs
-
Hi,
I'd like to build some model in SU, send it to 3Ds, bake a GI'd render to texture and send it back over to SU to get some nicer definition for a "real time presentation".
Should work fine so far- but I just cant get UVs properly over along with the model.
I tried TIG's OBJ Importer script which works somehow (sometimes doesnt show the materials but this may be because of me trying different setups) but does not seem to bring over the uvs correctly.
See pics.
If OBJ is not an option maybe FBX would be - or is it simply SU which is the bottleneck?
Thanks in advance
PS: the shown model is NOT the one I'm going to build, just for reference..
-
I have no idea if this will work, but have you made sure the materials are applied to the geometry, rather than the containing groups/components?
-
Textured Materials applied to containers are unmapped in SUp.
Textured Materials applied to faces in SUp can be mapped.
But is your SUp model is 'sloppy' - perhaps with materials on the back-sides of wrongly oriented faces, instead of the fronts, then those materials won't export let alone map, and therefore they won't import back into SUp properly either... -
After some further research I could narrow some things down:
@TIG: OBJ files can only contain ONE uvmap channel? Maybe thats the bottleneck in this case? The testmodel was pretty simple, probably does not contain any flipped faces.
@oceanembers: yes, materials were applied to geometry, not groups
Actually exporting the file as FBX from 3DS (containing auto-unwrapped textures, each group rendered to a seperate generated image file) and using the FBX importer from simlab I managed to get it transfered.
Auto-unwrapping and rendering the final model has some downsides, too- collapsed geometry would need a huge texture size, rendering hundreds of objects in seperate image files may take a while too.. But may worth it- as the result is definitely appealing. If one keeps the render options low this process should be more or less quick.
80 β¬ for the FBX importer may be a little expensive, though..
There are other options (if I got it right) like LightUp sending bake-information along with FBX exports in some way, therefor should be useable in a similar way (reimporting to SU if necessary).
-
Better to create a Texture Atlas from the combined UV maps.
This will consolidate multiple maps into one image
-
Thanks Rich! That was very useful!
I was never using unwrapping on large scenes but single / multiple objects only.
Actually even for rendering animations this will be MORE than helpful.Great, thanks again!
Advertisement