Error while rendering in sketchup

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
Post Reply
15 posts • Page 1 of 1
Turwaithion
Posts: 8
Joined: Fri Jun 17, 2011 8:04 pm

Error while rendering in sketchup

Post by Turwaithion » Fri Jun 17, 2011 8:14 pm

Hello

I am currently trying to render a scene but a problem is occuring while rendering the message is:

A problem occurred with the scene:
Error while building scene: Error while loading diffuse material 'fusya': Failed to load texture 'C:\Users\Niko\AppData\Roaming\Indigo Renderer\TX_default/fusya.jpg': Only 1 or 3 component JPEGs are currently supported..
Indigo version: Indigo Renderer v3.0.10, Windows 32-bit build.
Exporter:
Platform:
Author:
Description:
Date created:


What seems to be the problem ? I do not remember having used this "fusya.jpg for anything in my Sketchup model

I hope you can help me.

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

Re: Error while rendering in sketchup

Post by Pibuz » Fri Jun 17, 2011 9:08 pm

Hi Turwa.
I wrote this many times, but once more won't harm :wink:
Sometimes there are "hidden" textures applied to components coming from the warehouse: the texture will be visible in the materials panel only if you explode the component in which they're contained. So, check every block you downloaded from the warehouse.

Just to make sure, run a "purge unused" too :wink:

Turwaithion
Posts: 8
Joined: Fri Jun 17, 2011 8:04 pm

Re: Error while rendering in sketchup

Post by Turwaithion » Fri Jun 17, 2011 10:28 pm

I have looked into it and without changing anything in the model the error message is now "cannot find map for material named" even before indigo is opened.

I have opened the ruby console but do not know what to look after.

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

Re: Error while rendering in sketchup

Post by Pibuz » Fri Jun 17, 2011 10:34 pm

Try switching the material panel to LIST, and check if there are double materials.
Also, try downloading and running "cleanup.rb" by thomthom, sometimes it fixes this sort of things.

Are you sure you exploded all the components you downloaded from the warehouse? You should definitely be able to spot the new mat!

Turwaithion
Posts: 8
Joined: Fri Jun 17, 2011 8:04 pm

Re: Error while rendering in sketchup

Post by Turwaithion » Fri Jun 17, 2011 10:35 pm

The ruby console is attached as an image along with the error
Attachments
error2.jpg
error.jpg

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

Re: Error while rendering in sketchup

Post by Pibuz » Fri Jun 17, 2011 10:39 pm

I'm no ruby expert, sorry :oops:

Turwaithion
Posts: 8
Joined: Fri Jun 17, 2011 8:04 pm

Re: Error while rendering in sketchup

Post by Turwaithion » Fri Jun 17, 2011 11:01 pm

I have exploded all the models i have imported and cannot seem to find anything strange in the materials list..

Where do i get the cleanup.rb ?

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

Re: Error while rendering in sketchup

Post by Pibuz » Fri Jun 17, 2011 11:05 pm

Search through sketchucation forums 8)

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

Re: Error while rendering in sketchup

Post by Pibuz » Fri Jun 17, 2011 11:05 pm

Also check if any of your mats use special characters such as ç, è, à, ù....

Turwaithion
Posts: 8
Joined: Fri Jun 17, 2011 8:04 pm

Re: Error while rendering in sketchup

Post by Turwaithion » Fri Jun 17, 2011 11:49 pm

i have tried to run cleanup and have no material names with odd characters :-(

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

Re: Error while rendering in sketchup

Post by Pibuz » Sat Jun 18, 2011 12:59 am

..ok: another hint.
You know how SkIndigo handles additional maps, do you? I mean, bump and exponent maps..
Try to check if you accidentally chose a custom map without specifying any. You have to check that for every single SU mat, so it will be boring, I warn you..

Turwaithion
Posts: 8
Joined: Fri Jun 17, 2011 8:04 pm

Re: Error while rendering in sketchup

Post by Turwaithion » Sat Jun 18, 2011 1:14 am

No i dont know how it handles additional maps ?.. Is it in material properties ?

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

Re: Error while rendering in sketchup

Post by Pibuz » Sat Jun 18, 2011 1:23 am

Yep. Double click on a SU material to view the Indigo material editor. If you only see cursors, switch UI clicking on the UI button on top of Indigo Mat editor. Now you should see the additional maps parameters, and a drop-down meny nearby each characteristic (bump, exponent..). Check that the drop down menu is set to "SketchUp" or "Constant" for all the parameters.

Turwaithion
Posts: 8
Joined: Fri Jun 17, 2011 8:04 pm

Re: Error while rendering in sketchup

Post by Turwaithion » Sat Jun 18, 2011 1:49 am

I am very gratefull - it seemed to have helped. I have added a texture to a color i did not use but did not specify any texture

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

Re: Error while rendering in sketchup

Post by Pibuz » Sat Jun 18, 2011 1:55 am

Ok. Glad we solved that. 8)

Post Reply
15 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 32 guests