Page 1 of 1

Stupid newbie question about UV mapping external meshes

Posted: Sat May 12, 2007 6:56 pm
by jnelso99
I'm trying to use an external OBJ file which has a UV texture map. Whatever I try results in an error like:

SceneLoaderExcep: TextureUnitExcep: The texture "yadda\yadda.bmp" could not be bound to uv set with name 'uv', because that uv set was not exposed in an expose_uv_set element.

Since I am using an external mesh, and the <external> tag doesn't support said expose_uv_set element like the <embedded> tag does, how do we assign a UV texture to an external mesh?

I've tried using the Blender exporters, but they run out of memory with this model. I do use them with a dummy model to get the correct camera and light positions. The model is exported from Zbrush (so it's pretty hefty) and I'm just trying to see what happens. But still, this might be a good thing to know...

Re: Stupid newbie question about UV mapping external meshes

Posted: Sat May 12, 2007 7:48 pm
by suvakas
jnelso99 wrote:SceneLoaderExcep: TextureUnitExcep: The texture "yadda\yadda.bmp" could not be bound to uv set with name 'uv', because that uv set was not exposed in an expose_uv_set element.
The UV set for OBJ files should be called 'default' and not anything else. Change your UV_set name for that OBJ in your xml/igs file from 'uv' to 'default'.

Posted: Sun May 13, 2007 4:45 am
by jnelso99
Cool. Thanks!