Multiple Error messages for my 1st tests with indigo v2.0.6

Announcements, requests and support regarding the Blender Indigo export script
Post Reply
3 posts • Page 1 of 1
User avatar
ROUBAL
Indigo 100
Posts: 78
Joined: Mon Nov 20, 2006 10:31 am
Location: FRANCE
Contact:

Multiple Error messages for my 1st tests with indigo v2.0.6

Post by ROUBAL » Wed May 20, 2009 3:42 pm

Hi,
I have received my Licence Key for Indigo Renderer v2.0.6 today, (Windows 32-bit Release build, running under Windows XP Pro SP2).

I have been able to install Indigo and enable it without problem.

I have also reinstalled Blendigo 1.0.9 with the new path. I encountered a problem at rendering for my first test, with a simple cube on a plane and a sun lamp : (Error message : UV set data not provided). After reading posts on the forum, I solved the problem by installing Blendigo 1.1.18, but I'm not sure that it is the exporter I should use with indigo v2.0.6 : Could you confirm Please ?

Now, rendering one of the scene that worked fine with previous versions of indigo, I encounter many other problems. I have read many topics here, without finding solutions.

1 - I got this Error message :

Error: SceneLoaderExcep: ModelLoadingStreamHandlerExcep: Triangle material_index is out of bounds.
(material index=1) (In element 'mesh', around line 186485, column 5)

The concerned mesh has nothing special : 2 materials, Subsurf level 1 and less polygons than some other meshes.

I have read this:
message in indigo is usually an indicator of 'doubles' in the blender mesh
-you should remove doubles where ever you get that warning as a first solution - it usually fixes it
-sometimes it happens because the modelling is otherwise 'unusual' - your wall window could be a candidate.
get into the habit of 'removing doubles' and 'applying scale and rotation' in your scene preparation

I havent looked to see how smartden has changed his script code lately but the material index error probably is related to having a mesh in blender with multiple materials assigned
In this case to fix it I just separated the parts of the mesh according to material -ie its not the size thats the issue...
You can do this in edit mode using the 'link and materials' panel to select the vertices with the same material then shortcut "P"
Checked everything, but yes this mesh has 2 materials, like many others that, and this scene was rendered fine with previous indigo version and Blendigo 1.0.9.

Does it mean that indigo 2.0.6 supports only one material per mesh ??? :(

As I'm very clumsy with XML files, and I didn't understand what was the problem,I have deleted the object and got an other message about an other object :

2 - Error: SceneLoaderExcep: The Mesh 'Tronc' tried to use the material 'Tronc', which has not been defined.
(In element 'model', around line 828222, column 5)

As I didn't understand more what was wrong with this object and its material, I also deleted it...

After deleting this object, I got an other different Error message :

3 - Error: SceneLoaderExcep: ObjectExcep: No such uv set 'uv' (In element 'model', around line 824760, column 5)

This scene was rendered in one click with indigo 1.0.9.3 and Blendigo 1.0.9 !

I'm pulling my few remaining hairs. Please, could you help me finding the origin of these troubles.

Do I have to do something special to render my scenes in v2.0.6 ?

Do I have missed something important ?

Thank you in advance.

Philippe.

User avatar
WytRaven
Indigo 100
Posts: 905
Joined: Mon Aug 27, 2007 8:24 pm
Location: Dubbo, Australia
Contact:

Re: Multiple Error messages for my 1st tests with indigo v2.0.6

Post by WytRaven » Thu May 21, 2009 12:00 am

Number 3. Blender's default name for a UV set is UVTex. I have asked smartden to make that the default name in Blendigo on multiple occasions to no avail so to fix that problem you will need to rename the UV set from uv to UVTex in all materials in Blendigo.
:idea: "A foolish consistency is the hobgoblin of little minds..." - Emerson 1841

User avatar
ROUBAL
Indigo 100
Posts: 78
Joined: Mon Nov 20, 2006 10:31 am
Location: FRANCE
Contact:

Multiple Error messages for my 1st tests with indigo v2.0.6

Post by ROUBAL » Thu May 21, 2009 12:50 am

Thanks WytRaven,

For the 1- , I have created a simple scene and imported an object with 8 materials,and I have rendered it without problem... So, multiple materials are allowed, and the problem is somewhere else...

After spending night and day and one other night on this crazy stuff,I am still unable to render more than a simple object With indigo 2.0.6 and Blendigo 1.1.18.

All my previous Blender scenes when exported with Blendigo 1.1.18 return lots of errors :

1 - Some objects return this kind of message :

Error: SceneLoaderExcep: ModelLoadingStreamHandlerExcep: Triangle material_index is out of bounds.
(material index=1) (In element 'mesh', around line 1113526, column 5)

The only way I found for these objects has been keeping only one material on the objects.

2 - For unknown reasons, many materials are not exported in the igs file. They have nothing special and other
similar materials seem to be correctly exported (at least they are present in the igs file).

I get this kind of message :

Error: SceneLoaderExcep: The Mesh 'Portamphore' tried to use the material 'Portamphore',
which has not been defined. (In element 'model', around line 2355953, column 5)

I have been able to avoid the Error messages by creating an igm file for each material reporting this message,
copying all the materials parameters and pasting them in the igs file.

It gave me some hope, but now I get this message :

Error: Memory allocation failure while allocating master buffer.

I can't go further.

In an other case,I also got this message :

Image

With indigo 1.0.9_3 and Blendigo 1.0.9, I rendered all my scenes simply by clicking on EXPORT Scene !

I still can't get anything from 2.0.6... I'm desperate !

Edit :

After new experiments and one more bad night, It seems that the 1.0.9 exporter corrupts something in the structure of the Blend file which is no more exportable with 1.1.18.

I haven't been able to get rid of all problems, but after creating a new Empty Blend file, I have imported all the objects of my previous scene. Then, I have loaded Blendigo 1.1.18 and exported my scene.

This time, I have been able to render it in indigo 2.0.6.

However, some materials are not exported and have to be exported individually in igm materials files. Then, copied and pasted in the igs scene file.

Some objects still require their materials number reduced to only one.

Philippe.

Post Reply
3 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 8 guests