Page 1 of 2
SkIndigo 0.6 Beta is available for testing!
Posted: Sat Feb 03, 2007 3:00 am
by Whaat
The plug-in will ONLY work with the current stable release of Indigo 0.6.
Please read the ENTIRE “About SkIndigo” menu item before posting questions and bugs. Your help in bug-fixing is greatly appreciated.
Save the ruby script in your Sketchup\Plugins directory. The script has been tested using Google Sketchup(Beta) and Google Sketchup 6. It should work for Pro versions as well.
http://forum.sketchup.com/showthread.php?t=78152
Posted: Sat Feb 03, 2007 12:37 pm
by afecelis
wow! Whaat, whaat a great work!
Thanks for sharing it. Sketchup buffs will worship you!

Posted: Sat Feb 03, 2007 8:45 pm
by OnoSendai
Thanks Whaat,
so this exporter works with the free version of sketchup?
Posted: Mon Feb 05, 2007 4:14 pm
by Whaat
OnoSendai wrote:
so this exporter works with the free version of sketchup?
Yes! For everyone not familiar with Sketchup, there is the free version (Google Sketchup 6) and the Pro version (Sketchup Pro 6). The exporter will work with both versions. It has been tested succesfully on version 5 as well.
Posted: Wed Feb 07, 2007 7:20 pm
by peer
Hi Whaat, Thanks for this exporter. I'm using SU 6 Pro on OS X. The exporter works fine, but I'm not able to render texturemaps. Somehow the path to the textures is wrong. I tried editing the xml file but couldn't get it to work. Maybe it's something in the way that Crossover (the vmware) handles the paths. Is it possible to set a texturemap path in the inifile.txt? Thanks in advance for your help and your exporter!
Regards,
Peter
edit: After some checking I found out that I had to remove the absolute path in the inifile.txt, I now just use testscenes/SUtest.xml and it works!!! Thanks!
Posted: Thu Feb 08, 2007 2:21 am
by Whaat
peer,
Are the textures being exported to the same directory as your XML file under the folder TX_FILENAME?
I am guessing this is an issue with Crossover because no one else has mentioned this.
I don't believe it is possible to set a texture path in inifile.txt.
Thanks for the feedback!
Whaat
Posted: Thu Feb 08, 2007 3:23 am
by Whaat
To All:
You may have noticed that solid colored materials are not rendering as expected. The color generally renders brighter and less saturated than the color displayed in the Sketchup interface. I neglected to apply reverse gamma correction to solid colors in the exporter script. This will be fixed with the official release of SkIndigo 0.6.
Whaat
Posted: Thu Feb 08, 2007 3:39 am
by kwistenbiebel
Whaat wrote:To All:
You may have noticed that solid colored materials are not rendering as expected. The color generally renders brighter and less saturated than the color displayed in the Sketchup interface. I neglected to apply reverse gamma correction to solid colors in the exporter script. This will be fixed with the official release of SkIndigo 0.6.
Whaat
Can we change that manually in the xml file for now? ...And how should we do this?
I also notice that when rendering phongs the colours seem to wash out a little.
When i try to get a 'plastic' effect the diffuse coulour seems to desaturate and looks to dark.
But maybe i am not using the right specular/exponent settings.
thanks,
kwistenbiebel
Posted: Thu Feb 08, 2007 3:50 am
by Whaat
From what I understand, all you have to do is raise the color values in your materials to the power of 2.3.
For example,
<phong>
<diffuse>.74215 .277 .0695</diffuse>
<specular>0.0200 0.0200 0.0200</specular>
<fresnel_scale>1.0</fresnel_scale>
<exponent>300.0</exponent>
</phong>
changes to:
<phong>
<diffuse>0.5037 0.0522 0.0217</diffuse>
<specular>0.0200 0.0200 0.0200</specular>
<fresnel_scale>1.0</fresnel_scale>
<exponent>300.0</exponent>
</phong>
I haven't figured out yet if the specular values must be raised to the power of 2.3 as well. Can any of the other exporter writers help me out on this one?
Whaat
Posted: Thu Feb 08, 2007 3:57 am
by kwistenbiebel
Whaat,
By the looks of that example it seems that you 'lowered' the RGB values of the diffuse colour instead of raising.
Which one should it be?
regards,
kwistenbiebel
Posted: Thu Feb 08, 2007 4:05 am
by Whaat
(0.74215)^2.3 ( 0.277)^2.3 ( 0.0695)^2.3
I can't make it any clearer than that.....
Posted: Thu Feb 08, 2007 4:23 am
by kwistenbiebel
My mistake,
I thought you meant multiplying instead of 'to the power of'.
It's a language thing
Thanks for clearing that out.
Posted: Thu Feb 08, 2007 7:12 am
by peer
Whaat wrote:peer,
Are the textures being exported to the same directory as your XML file under the folder TX_FILENAME?
Whaat
If my scene is in Indigo/testscenes/ then the exporter makes a new directory in my Indigo directory called "testscenes/TX_FILENAME" since OS X doesn't use the "/" in te directorystructure (i think) it makes a directory with the "/" in the name. It then also doesn't export texturemaps. When I manually make a TX_FILENAME dir in the testscenes directory it all works perfect (are you still with me?

) So with a little manual adjustments here, I can use your exporter! Maybe there's a simple solution to it (maybe a rendersetting where you can set the texturemap location?) I'll try and post some scene soon.
Regards,
Peter
Posted: Wed Feb 14, 2007 11:16 pm
by peer
Hi Whaat! Any progress in your exporter for SKetchup? I'm still playing with it, but hope to show something this week. I modified your script, so that I can also choose to have 4 threads (Mac Pro quadcore 3.0 GHz). That was quite easy to do.
Regards,
Peter
Posted: Thu Feb 15, 2007 1:16 am
by peer
Hi,
Here are the first renders I made with your great exporter. This is just the start of an office interior.
Regards,
Peter
