SkIndigo 1.0.5

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

SkIndigo 1.0.5

Post by Whaat » Thu Jan 17, 2008 5:18 pm

Download SkIndigo 1.0.5 here.

Use this version with Indigo 1.0.5.

INSTALLATION
1. Remove any previous versions of SkIndigo from your SketchUp/Plugins directory
2. Copy SkIndigo.rb into your SketchUp/Plugins directory
3. Copy the SkIndigo folder into your SketchUp/Plugins directory
4. Run SketchUp

#Version 1.0.5

#Added: region rendering
#Added: Advanced Texture Editor
#Added: support for a,c, and gamma texture attributes
#Changed: all textures exported in JPG format (BMP, GIF, TIF, all PNG should now work except for grayscale textures)
#Changed: replaced cube preview scene with new fast cube preview scene
#Added: Lambertian material preset
#Changed: made IGM export compliant with new proposed IGM spec
#Changed: improved IGM loading code and fixed some bugs
#Changed: SUpreviews folder moved to the SkIndigo directory
#Changed: thumbnails saved in the indigo/SUthumbnails directory (cannot be changed)
#Changed: exported textures filenames converted to material name at export time (removes texture naming conflicts)
#Fixed: export selection only

Please let me know of any bugs. Thanks!

Whaat
Attachments
screen_web.jpg
screen_web.jpg (303.46 KiB) Viewed 9384 times

Stinkie
Indigo 100
Posts: 616
Joined: Sat Oct 27, 2007 9:22 pm

Post by Stinkie » Thu Jan 17, 2008 5:20 pm

Thanks!

User avatar
cpfresh
Posts: 501
Joined: Thu Jun 14, 2007 12:20 pm
Location: California, USA
Contact:

Post by cpfresh » Thu Jan 17, 2008 5:33 pm

AWESOME!! Thanks Whaat!! :D

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Thu Jan 17, 2008 5:37 pm

Nice one Whaat.
Did implementing render regions pose any problems?

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 » Thu Jan 17, 2008 10:53 pm

Hi whaat!
Just downloaded your latest release and it works perfectly! :D
I'm not a developer, but as a user i think you did an excellent job!

Nice idea to have a popup window to remember we use camera setting when rendering a region!

The only thing i can't understand is how to open up the advanced texture editor.. :?

How can i?

THANK YOU A LOT!!

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Fri Jan 18, 2008 2:41 am

OnoSendai wrote:Nice one Whaat.
Did implementing render regions pose any problems?
It was a bit of pain to implement the interface. I didn't want to be lazy and have the user have to manuallly input the x,y coordinates. It took some time to figure out how to get the region coordinates from a selection window (and to get it working right).

Camera tonemapping is forced if the user wants to region render. It would be nice if you could get region rendering to work with Reinhard (even if it is a bit of a hack)

Region rendering seemed to work fine in all my tests. Nice job, Ono!
Last edited by Whaat on Fri Jan 18, 2008 2:44 am, edited 1 time in total.

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Fri Jan 18, 2008 2:44 am

Pibuz wrote: The only thing i can't understand is how to open up the advanced texture editor.. :?

How can i?
I didn't want to make it too obvious because it's not a feature for beginners :wink: .

(Let me know if you still can't find it...)

tonyrockyhorror
Posts: 1
Joined: Mon Jun 11, 2007 10:31 am

Post by tonyrockyhorror » Fri Jan 18, 2008 6:25 am

Hi,
I keep getting this error message when trying to export scene from sketchup 6:
SceneLoaderExcep: Found unexpected element 'aperture_shape' in element 'camera'. (Around line 36, column 13)
Fatal Error: SceneLoaderExcep: Found unexpected element 'aperture_shape' in element 'camera'. (Around line 36, column 13)
I'm not really sure if this has anything to do wyth exporter? Can anyone help me with this?

Thanks in advance
Grzegorz

User avatar
xrok1
Posts: 287
Joined: Wed Jun 13, 2007 11:26 am

Post by xrok1 » Fri Jan 18, 2008 12:25 pm

whats the a,b,c in the texture editor?

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Sat Jan 19, 2008 4:04 am

tonyrockyhorror wrote:Hi,
I keep getting this error message when trying to export scene from sketchup 6:
SceneLoaderExcep: Found unexpected element 'aperture_shape' in element 'camera'. (Around line 36, column 13)
Fatal Error: SceneLoaderExcep: Found unexpected element 'aperture_shape' in element 'camera'. (Around line 36, column 13)
I'm not really sure if this has anything to do wyth exporter? Can anyone help me with this?

Thanks in advance
Grzegorz
You need to use Indigo 1.0.5. You are using an older version. There is a file in your SketchUp/Plugins directory called 'indigo_1_0_5_path.txt' Open this file and make sure it points to the correct version of Indigo. If it doesn't, delete this file and restart SketchUp.

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Sat Jan 19, 2008 4:05 am

xrok1 wrote:whats the a,b,c in the texture editor?
Check the Indigo manual.

Also..I'm sure Kram would be happy to explain them to you. :wink: :P

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sat Jan 19, 2008 7:58 am

Lol
Actually, that was the first time, I didn't want to (too tired) but when you ask me for, that "kind" ^^


SOOOOO

A B and C are for Indigo to know, how to interpret the textures.
Standard usually is

A 0 B 1 C 0

This is translated as "the darkest colour is pure black, the brightest colour is pure white" - B stands for the brightest colour and C for the darkest.
A is a value, you'll want to change VERY seldom. It strongly increases the contrast... Which also is done by the difference of B and C...

For albedo maps (colour maps) the standard settings should be just fine.
Maybe, you'll want to give slightly higher C, if your texture has (quite big) black parts, as pure black might look odd, especially in combination with reinhard tonemapping.

For Blend maps, the Standard settings are recommended.

For Exponent maps, B and C give the actual exponent. I wonder, how they are defined... If the values are tweaking the exponent 1:1, the default value will be quite useless...
In that case (and I don't know, IF it is the case), you'll need to set your B to the maximum Exponent you want to use (Exponent infinite = fully specular) and your C to the minimum Exponent, you want to use. (Exponent of 0 = fully Diffuse)

For Bumps, your B value sets your bumpiness... As a B of 1 gives extremely deep bumps, already, I guess that it's translated in meters. So, if you roughly know how deep the bumpmap actually is, translate that depth to meters and use it as your B :) - Here, pure blacks might also look strange, so you'll want to slightly increase your C, too


Ok.... Now to the A value:
The three values translate the texture's pixels in Ax²+Bx+C=interpreted Value (Where x is the R G and B values of the image)

So, if you change all your Bs to 0 and therefore put the same values in A, you actually translate the image to have a quadratic gradient, resulting in sharper appearance... Overally, it might not be the easiest value to control, but under circumstances, especially where you need contrast, it could be very useful :)
You might want to try it on bump- and exponent maps... albedo and especially blend maps most likely come out weird.

One more thing: Indigo uses normalized colours... So, if you want to increase the darkest colour of your image by 1 of 255 possible steps, you need to add 0,00392 to the C-value.
The conversion is simple: If you want to convert any value from palette RGB to Normalized RGB, you simply need to divide your value by 255.
The other way round works via multiplying 255, obviously.

I hope, this is helpful.
And I hope, a(n if needed) corrected and maybe illustrated version of this comes into the manual...
Which I hope gets updated soon.

neepneep
Indigo 100
Posts: 413
Joined: Wed Jun 28, 2006 10:21 am

Post by neepneep » Sat Jan 19, 2008 8:57 am

Thanks Kram :D !

You should consider sticking this in the Wiki...!

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sat Jan 19, 2008 10:52 am

No problem.
Though, the question *just* was posted again :?
Indigo's Manual needs to be updated SOO badly....

User avatar
xrok1
Posts: 287
Joined: Wed Jun 13, 2007 11:26 am

Post by xrok1 » Sat Jan 19, 2008 12:36 pm

thanks

Post Reply
26 posts

Who is online

Users browsing this forum: No registered users and 6 guests