Exporting metaball as obj uv issues
Oso3D
Posts: 15,004
So I made a random bunch of metaballs, converted to vertex, exported as obj, imported into Daz.
From what I can tell, uv mapping is pretty much... toast. No patterns appear, or it's some tiny corner magnified weirdly. So while I can certainly make cool shader stuff (like water and glass), anything using texture maps just doesn't work.
Any tips?
Comments
I think this would work,except the converted metaball is a real mess geometry-wise, so it's not easy. I'm not great at UVs either but I gave it a quick try and there are no good edge loops to add seams and the shapes are weird enoughthat none of the default projections work at all.
Here's my quick try - it's two positive metaballs, converted to the vertex modeler at 100% fidelity. I added one seam looped more or less around the bottom to split it in two pieces and then unwrapped it. I had to move the two islands around a little since Carrara just crunches them at the bottom of the grid, and the result was kind of distorted. I added one level of smoothing before exporting (when you export from Carrara it converts those extra smoothing polys to real polys). You can see it kind of works but still has quite a bit of distortion - if you really took your time with creating the UV unwrap I think you could avoid most of this, at least in parts you know will be seen in your render.
Image Below: UV Edit Mode in the Vertex Modeler, showing the geometry and my final UV map:
Image Below: 3DL render of the UV mapped metaball object, with a quick grid map applied, after I imported it to Daz Studio. You can see it is pretty distorted in places because the triangles in the UV map above are all difference sizes - if I had taken more time on that I could have reduced the distortion by a lot.
I tried taking the Carrara export into Blender and using the Smart Project UV unwrapping then importing that one into DAZ Studio. The results were a less distorted but there are still some issues. I think to get a good unwrap on a metaball object you'd either need to be much better at UV mapping than I am; have a ton of time/patience; use a dedicated UV mapping program (I don't have one but from what I hear they have a lot more options for this kind of thing); or else after you create it, take it into a program like Blender and re topologize it. I don't have any tips on that last one as I'm just starting to dip my toe in that subject.
To the OP's original question - any of the methods I tried will work if you want to 3D paint your texture on it, but I think that if you are just applying a premade image as your texture, then you are going to get some level of texture distortion unless you spend a fair amount of time on creating the UV's. If you are going to use a texture that doesn't have a ton of detail on it, I'd probably go with the export to Blender and then use Smart Projection to unwrap it.
Image below: metaball object after being converted to a vertex object, exported from Carrara, imported to Blender, smart projection unwrapped, exported again, imported to DAZ Studio and rendered in 3DL with a basic checked pattern in the diffuse. It sounds like a lot, but it took me a total of about 5 minutes to actually do it, and part of that was because my cat was attacking my mouse while I was working.
So if your texture image doesn't have a ton of detail and you're OK with the mediocre results I got above, you could try two things:
Method 1
Method 2
Hmm, interesting, thanks a lot.
I'm still struggling with even the basics of UV mapping. The workflow you mention with smart projection looks useful. Is it pretty straightforward to do the projection unwrapped thing in Blender?
Yes - it's literally just click a few buttons.
One caution on the export though - make sure there is nothing else in the scene or it will all get exported together - the first time I tried it I ended up with an OBJ that included the ground plane I had added and the light I had in the scene.
MD: I suspect a lot of people make that mistake. I've grabbed a bunch of free obj online and a bunch of them end up with weird ground or back planes that don't seem to serve a purpose. Thanks.