Page 1 of 10

SkIndigo 3.8.6.1

Posted: Fri Jul 25, 2014 1:05 am
by OnoSendai
Hi All,

I'm pleased to announce a major new version of SkIndigo, with some major architectural changes, and large performance increases!

We have spent the last week or so revising the core scene traversal and export code, making the export more modern.
This has allowed some major speed improvements, especially for subsequent exports of a scene.

Some long-standing issues have also been fixed.


Some measurements of export time for a mid-sized scene:
Old SkIndigo version (3.6.28.3):
Initial export time: about 20s
Subsequent export time: about 19s

New SkIndigo version (3.8.6.1):
Initial export time: 22s
Subsequent export time: 1.32 s

Note that the export time for subsequent exports has been reduced from 19 s to 1.32 s, that's a ~14x speedup!


Because so much code has changed, there will inevitably be some new bugs introduced.
Just let us know about them in this thread and we'll fix them ASAP.


Full changelog:

Code: Select all

Version 3.6.28.4

Not exporting textures to texture dir if already present.  Greatly speeds up export on subsequent runs.
If mesh for component or group is already on disk, don't build and export it.  Greatly speeds up export on subsequent runs.
Only exporting materials actually used in the scene.
Disabled quick export for now.
Improved names for objects/instances (as shown in GUI).
Rewrote traversal over scene for instance gathering.
Fixed issue where group mesh would sometimes be incorrect.
Don't store last IGS path if it hasn't change, to avoid showing a 'save changes?' prompt.
Windows installer is now signed. (for standalone installation)
Rewrote mesh processing and export, a lot faster now.  Only one UV set supported currently.
Minimum required Indigo version is 3.8.5.

RBZ: (Works on all platforms)
http://downloads.indigorenderer.com/dis ... .8.6.1.rbz

Windows Installer:
http://downloads.indigorenderer.com/dis ... taller.exe


EDIT: updated in place with hopeful syntax fix, and:
Rewrote mesh processing and export, a lot faster now. Only one UV set supported currently.

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 7:12 am
by OnoSendai
So... anyone tried it?

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 7:52 am
by Voytech
OnoSendai wrote:So... anyone tried it?
I get this on Sketchup startup after installing new Skindigo:

Error Loading File /Users/Voytech/Library/Application Support/SketchUp 2013/SketchUp/Plugins/skindigo/skindigo_core.rb
/Users/Voytech/Library/Application Support/SketchUp 2013/SketchUp/Plugins/skindigo/IndigoExporter.rb:203: parse error, unexpected ')', expecting '='
def write_mat(mat, out, generate_uvs=false, mat_uid)
^
/Users/Voytech/Library/Application Support/SketchUp 2013/SketchUp/Plugins/skindigo/IndigoExporter.rb:2586: parse error, unexpected kEND, expecting $
end #End IndigoExporter class
^
Error Loading File skindigo.rb
/Users/Voytech/Library/Application Support/SketchUp 2013/SketchUp/Plugins/skindigo/IndigoExporter.rb:203: parse error, unexpected ')', expecting '='
def write_mat(mat, out, generate_uvs=false, mat_uid)
^
/Users/Voytech/Library/Application Support/SketchUp 2013/SketchUp/Plugins/skindigo/IndigoExporter.rb:2586: parse error, unexpected kEND, expecting $
end #End IndigoExporter class
^

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 9:10 am
by bubs
+1

I'm on SU 8 if that makes any difference...

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 9:14 am
by OnoSendai
bubs wrote:+1

I'm on SU 8 if that makes any difference...
Why such an old version?

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 9:32 am
by OnoSendai
updated in place with hopeful syntax fix, and:
Rewrote mesh processing and export, a lot faster now. Only one UV set supported currently.

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 9:50 am
by OnoSendai
Voytech, bubs: please download and try again. Cheers.

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 9:31 pm
by bubs
OnoSendai wrote:
bubs wrote:+1

I'm on SU 8 if that makes any difference...
Why such an old version?
I'm just lazy...

Thanks for the update I'll give it a try now.

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 10:03 pm
by bubs
Tried it on just the plain empty scene with susan, and it exported OK but all the diffuse mats seemed to inverted in colour...

I then tried opening an existing scene and got this;

An error occurred while SkIndigo was exporting the scene.
Please copy and paste the following details into an email to support@indigorenderer.com:

SkIndigo version: 3.8.6.1
SketchUp version: 8.0.11752
Ruby platform: i386-mswin32
Error during processing: undefined method `guid' for #<Sketchup::Group:0x2377ac40>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoMeshBuilder.rb:160:in `build_mesh_full_or_mats_only'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoMeshBuilder.rb:201:in `build_meshes'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoMeshBuilder.rb:198:in `each'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoMeshBuilder.rb:198:in `build_meshes'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/skindigo_core.rb:217:in `export'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/skindigo_core.rb:2597

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 10:28 pm
by OnoSendai
bubs wrote:Tried it on just the plain empty scene with susan, and it exported OK but all the diffuse mats seemed to inverted in colour...
Hi bubs, this might be a caching issue. Can you please try this:
Open up a command prompt (Start -> type "cmd")
cd into your temp directory, e.g.

cd C:\Users\nick\AppData\Local\Temp

then type

del *.igmesh

And then try re-exporting the scene.

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 10:38 pm
by bubs
Yeah that worked for the colours on the default model but I still can't export from existing models...

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 10:51 pm
by OnoSendai
I have updated the builds in-place.
Bubs: please re-download and try again.

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 11:23 pm
by bubs
Still no joy I'm afraid:

An error occurred while SkIndigo was exporting the scene.
Please copy and paste the following details into an email to support@indigorenderer.com:

SkIndigo version: 3.8.6.1
SketchUp version: 8.0.11752
Ruby platform: i386-mswin32
Error during processing: comparison of String with 0 failed
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoExporter.rb:2347:in `>'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoExporter.rb:2347:in `export_meshes'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoExporter.rb:2331:in `each'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoExporter.rb:2331:in `export_meshes'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/skindigo_core.rb:252:in `export'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/skindigo_core.rb:2492

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 11:40 pm
by OnoSendai
Hi bubs, can you send me the scene you're testing with?

Re: SkIndigo 3.6.8.1

Posted: Fri Jul 25, 2014 11:44 pm
by OnoSendai
Have updated builds with some fixes.