[sldev] Avatar mesh/morph exporter/importer

Mike Monkowski monkowsk at watson.ibm.com
Mon Dec 22 10:27:05 PST 2008


Khyota wrote:
> *Excitement* I was suprised that when i imported the base .obj of the upper 
> body into blender, it ligned up EXACTLY with Domino Marama's imported 
> mesh(after rotating 90 degrees). I made a simple change to it and exported it 
> as .obj to reimport to SL, the mesh imported fine but was stuck in the 'base 
> shape' the clothing and skin wouldnt bake correctly(see badbake screenshot and 
> dont laugh at what i changed :)) Also the GTK window to save the OBJ's that 
> appears uses the entire mesh directory as a default filename, whare normaly it 
> is the only a filename.  (see save1)
> 
> I cant tell you how happy i am here Mike :) This will open up a lot of 
> possibilities .

My guess with the texture baking is that the texture vertices changed. 
Compare the two .obj files to see.  I intend to add support for the face 
information in the .obj file which ties the geometric vertices and 
normals to the texture vertices, but for now, they have to be a one to 
one correspondence in the correct order.  You could try manually editing 
the .obj files to use the new geometric vertices with the old texture 
coordinates to see if that's the reason.

I deliberately chose to give the file picker the full path name, since I 
thought it made sense to keep the .obj files with the .llm files.  Is 
the problem that you want to put them somewhere else and you have to 
keep changing it for every save?

Mike


More information about the SLDev mailing list