help with error when exporting

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
Post Reply
8 posts • Page 1 of 1
User avatar
2kemon
Posts: 51
Joined: Sun Feb 25, 2007 10:59 pm

help with error when exporting

Post by 2kemon » Sat Mar 28, 2009 1:36 am

Hi again guys
I'm sorry to bother you again, but it's been a while, since I last used indigo. So I'm kinda rusty. Can you help me with this error message?

Error: IndigoDriverExcep: SceneLoaderExcep: ObjectExcep: No such uv set 'default' (In element 'model', around line 70248, column 9

Executing 'F:\indigo\indigo_v1.1.16\indigo.exe'
WARNING: Failed to open log file at 'F:\indigo\indigo_v1.1.16\log.txt' for writing.
SSE present.
SSE2 present.
SSE3 present.
Using base Indigo directory path 'F:\indigo\indigo_v1.1.16'.
Scene file path: 'F:\indigo\indigo_v1.1.16\default.igs'
Using working directory path 'F:\indigo\indigo_v1.1.16'.
Loading Scene 'F:\indigo\indigo_v1.1.16\default.igs'...
Processing included XML file 'F:\indigo\indigo_v1.1.16\default-settings.igs...
Using Reinhard tone mapping with pre_scale=4.500000, post_scale=1.000000, burn=6.000000
extra_atmospheric: 0
sun_theta_rad: 1.02842
sun_solid_angle: 0.00006
Sky zenith luminance: 3549.51958 cdm^-2
Sun spectral radiance at 500nm: 16953651494912.000000 Wsr^-1m^-3
Calculating energy loss compensation curve for exponent 1000000.000000
Loaded texture successfully.
Loaded texture successfully.
Loaded texture successfully.
Loaded texture successfully.
Loaded texture successfully.
Loaded texture successfully.
Calculating energy loss compensation curve for exponent 30000.000000
Loaded texture successfully.
Loaded texture successfully.
Loaded texture successfully.
Error: IndigoDriverExcep: SceneLoaderExcep: ObjectExcep: No such uv set 'default' (In element 'model', around line 392, column 9)
Stopped.
Executing 'F:\indigo\indigo_v1.1.16\indigo.exe'
WARNING: Failed to open log file at 'F:\indigo\indigo_v1.1.16\log.txt' for writing.
SSE present.
SSE2 present.
SSE3 present.
Using base Indigo directory path 'F:\indigo\indigo_v1.1.16'.
Scene file path: 'C:\Documents and Settings\2kemon.ZEPTO\Desktop\testA.igs'
Using working directory path 'C:\Documents and Settings\2kemon.ZEPTO\Desktop'.
Loading Scene 'C:\Documents and Settings\2kemon.ZEPTO\Desktop\testA.igs'...
Processing included XML file 'C:\Documents and Settings\2kemon.ZEPTO\Desktop\testA-settings.igs...
Using Reinhard tone mapping with pre_scale=4.500000, post_scale=1.000000, burn=6.000000
extra_atmospheric: 0
sun_theta_rad: 1.02842
sun_solid_angle: 0.00006
Sky zenith luminance: 3549.51958 cdm^-2
Sun spectral radiance at 500nm: 16953651494912.000000 Wsr^-1m^-3
Calculating energy loss compensation curve for exponent 1000000.000000
Loaded texture successfully.
Loaded texture successfully.
Loaded texture successfully.
Loaded texture successfully.
Loaded texture successfully.
Loaded texture successfully.
Calculating energy loss compensation curve for exponent 30000.000000
Loaded texture successfully.
Loaded texture successfully.
Loaded texture successfully.
Error: IndigoDriverExcep: SceneLoaderExcep: ObjectExcep: No such uv set 'default' (In element 'model', around line 70248, column 9)
Stopped.

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Sat Mar 28, 2009 5:19 am

The <uv_set> tag exposed in the scene definition contains a name for an UV set that was not found in the geometry itself. One amongst the two must be corrected to match the other, you choose wich, and how. I think Indigo would throw another error if no uvset were declared at all in the geometry, so that should be easily fixed as I mentioned. I don't know the correct workflow to avoid this in the exporter you are using, neither if the user is guilty in this case :)

User avatar
2kemon
Posts: 51
Joined: Sun Feb 25, 2007 10:59 pm

Post by 2kemon » Sat Mar 28, 2009 11:04 pm

I'm sure it's a user error, CTZn ;)
But from what I understand, you're saying, that I don't have any geometri with "default material"?

Because, without any technical knowledge of the problem, I guessed, that it might have something to do with sketchup having a default material, when I started the model, but then replaced the default material. My not-so-clever fix was to paint a box with a material and call it 'default'. But that didn't help.
It's a relatively simple scene, but I would still hate to remodel the whole thing.

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Sun Mar 29, 2009 3:10 am

Again, no SKetchup specific answers from me :)

Generally speaking, material and uvset names can be independent without a problem, they are two different things. What I can't tell is (1) wether the geometry has an uvset (I'm too lazy'n'busy to check), and (2) how you can edit its name in Sketchup.

The uvset will tell how the textures are dispatched onto a surface, the shader will eventually use this "distribution" to get its paramters values from the texture at the specified spot. UVset are part of the definition of the geometry, while materials are attached to that whole thing.

Now to SKIndigo users !?
edit wrote:What I can't tell is (1) wether the geometry has an uvset (I'm too lazy'n'busy to check)
I confirm this happen when a mesh has no uvset at all.
Last edited by CTZn on Sun Mar 29, 2009 9:14 am, edited 3 times in total.

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Post by Pibuz » Sun Mar 29, 2009 3:59 am

Hi 2kemon!
In my personal experience, that kind of error message pops up when you try to render a simple-color material with an additional map applied.
I mean, a simple white plastic (no diffuse texture) with a bump map, for example.

Generally, that problem is fixed by following the UVmapping tutorial Whaat provided along with his updated versions of SkIndigo.

neo0.
Posts: 1784
Joined: Thu Feb 28, 2008 7:11 am
Location: the US of A

Post by neo0. » Sun Mar 29, 2009 12:50 pm

You loaded a a material that was expecting a uv set, but you didn't give it one it sounds like. This isn't going to sound very encouraging, but your best bet would be to delete the material and start over again. This is problem with the new skindigo material loading system.

User avatar
2kemon
Posts: 51
Joined: Sun Feb 25, 2007 10:59 pm

Post by 2kemon » Mon Mar 30, 2009 5:08 am

Pibuz wrote:Hi 2kemon!
In my personal experience, that kind of error message pops up when you try to render a simple-color material with an additional map applied.
I mean, a simple white plastic (no diffuse texture) with a bump map, for example.

Generally, that problem is fixed by following the UVmapping tutorial Whaat provided along with his updated versions of SkIndigo.
pibuz, you're da man!!! 8)

That was the problem, so now It's working, and I'll just finetune the scene, and then I'll post it on the forum, so people can use it for tests. Just like you did at SCF.

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Post by Pibuz » Mon Mar 30, 2009 7:59 pm

You're welcome :D

...and thanks for sharing :wink:

Post Reply
8 posts • Page 1 of 1

Who is online

Users browsing this forum: Ahrefs [Bot] and 48 guests