Paul Russam's Church Test-thread

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:

Post by Whaat » Sun Oct 28, 2007 3:55 pm

I finally got around to testing this model again using Indigo 0.9.10 Stable. In a given amount of time, this scene rendered to 888 spp in Indigo 0.8 Stable. In the same amount of time, it rendered to 1192 spp in Indigo 0.9.10 Stable. Pretty impressive speed increase! 34%!

Here are two more shots from this amazing model (that I did NOT create! see first post...). Ignore the texture error on the pillars :)

I should point out that I had to make a slight change to SkIndigo in order to export this model without SketchUp crashing. I had to change instancing to be enabled by default (which it normally isn't). That simply saved me the time of selecting each component individually and enabling instancing. Without instancing, exporting this entire model is probably not possible on most systems.
Attachments
view2.jpg
view2.jpg (212.68 KiB) Viewed 3418 times
view3.jpg
view3.jpg (221.51 KiB) Viewed 3418 times

User avatar
kwistenbiebel
Posts: 496
Joined: Sat Jan 27, 2007 12:31 am

Post by kwistenbiebel » Mon Oct 29, 2007 1:54 pm

That second shot looks amazing!

So by using instancing the export issue for big files is solved.
I must try this.

Thanks for sharing.

The first image has a nice foggy athmosphere but I would prefer a more contrast rich version so I levelled and 'curved' it using Pshop.
If you don't like it I can take it off as I don't want to hijack your thread.

Image

Cheers,
Kwistenbiebel

crc
Posts: 153
Joined: Wed Feb 28, 2007 9:30 am
Location: Portland, Oregon

Post by crc » Tue Oct 30, 2007 4:42 am

Those scenes look great.

Makes me realize that maybe "less is more" when it comes to texturing.

Is there a way to enable instancing be default? Or would this cause problems maybe in other models?

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

Post by Kram1032 » Tue Oct 30, 2007 5:05 am

for auto instancing, you need to code something, that gets the shape of objects, even if they're scaled or rotated differently, compares them, and then, instances them, as a last step...
not too easy ;) (and even if someone codes a fitting program, also time consuming)

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

Post by Whaat » Tue Oct 30, 2007 5:21 am

Kram1032 wrote:for auto instancing, you need to code something, that gets the shape of objects, even if they're scaled or rotated differently, compares them, and then, instances them, as a last step...
not too easy ;) (and even if someone codes a fitting program, also time consuming)
Yeah, ignore what Kram said :P

We're not talking about auto instancing. We're talking about having instancing on by default in SkIndigo. You just have to change one line of code in SkIndigo.

I don't want to put this option in the UI because it can mess up a lot of things (mainly meshlights). It has a lot to do with the exporting algorithm (which is quite different from Blendigo AFAIK)

crc
Posts: 153
Joined: Wed Feb 28, 2007 9:30 am
Location: Portland, Oregon

Post by crc » Tue Oct 30, 2007 6:20 am

Thought maybe it might mess things up because you can't instance lights right?
what about transparencies, like windows?

I just need to remember to use it. :)

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

Post by Whaat » Tue Oct 30, 2007 6:40 am

These are the rules of using instancing in SkIndigo (these may not apply to other exporters):

1) Don't use instancing if the component contains an emitter material
2) Don't use instancing if the component contains an Indigo sphere primitive
3) Don't use instancing if the component contains an exit portal material
4) Don't use instancing if you are using multiple UV sets on that component. (It might work, but it's buggy)
5) If you have nested components with instancing enabled, only the top-level component will be treated as an instance.
6) A component with non-uniform scale will not be exported as an instance.
7) I think that's all. :wink:

There should be no issues with using instancing on windows.

crc
Posts: 153
Joined: Wed Feb 28, 2007 9:30 am
Location: Portland, Oregon

Post by crc » Tue Oct 30, 2007 8:53 am

Wow, thanks for the list.

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

Re: Paul Russam's Church Test-thread

Post by Whaat » Fri Jun 24, 2011 10:52 am

Please note: this is an OLD thread. I am re-writing the core mesh export routine in SkIndigo and I thought I'd give you some interesting numbers for exporting this classic scene.


Hardware Used:
ASUS G73JW Laptop Core I7-640QM 1.73GHz
GeForce GTX 460M
8 GB Ram
Indigo 3.0.9 (64 bit)

SkIndigo 3.0.10 with No Instancing enabled for any components
Export time: approx. 11 minutes
Indigo Loading and Building time: approx. 15 minutes!! (XML meshes file generated was over 750MB)
Total time to start rendering: 26 min 38 seconds
RAM used by Indigo during loading and building: approx 7 GB!!

SkIndigo 3.0.11 with Automatic Instancing and IGMESH file format
1st Export Time - approx. 3min 20 seconds
2nd Export Time (with cached meshes - NOT Quick Export mode) - 39 seconds
Indigo Loading and Building time: 5 seconds
Total Time to start rendering (first export): 3min 25 seconds
Total Time to start rendering (subsequent exports): 44 seconds
RAM used by Indigo during loading and building: approx. 300MB

I'd say it's a game changer... :)

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

Re: Paul Russam's Church Test-thread

Post by Pibuz » Fri Jun 24, 2011 8:05 pm

The last string is the most interesting 8) 8) 8)
MEMORY SAVING!

You're great Whaat! Thank you for your hard work!

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Paul Russam's Church Test-thread

Post by fused » Fri Jun 24, 2011 10:48 pm

Nice improvements!

Can this scene be downloaded somewhere in obj or 3ds or so?

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

Re: Paul Russam's Church Test-thread

Post by Whaat » Sat Jun 25, 2011 4:09 am

fused wrote:Nice improvements!

Can this scene be downloaded somewhere in obj or 3ds or so?
I am sending Nick the PIGM. I could send you the SKP file but I don't have it as OBJ or 3DS

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

Re: Paul Russam's Church Test-thread

Post by Whaat » Wed Jun 29, 2011 5:54 am

quick update from latest test with SkIndigo 3.0.11 (yet to be released)

1st Export Time: 2 minutes and 15 seconds

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

Re: Paul Russam's Church Test-thread

Post by Pibuz » Wed Jun 29, 2011 7:04 pm

..Whaat stop it: we're drooling here! :lol:


I have a question for you: when using external OBJs or 3DSs, the geometry is actually stored in the igs file OR there's only a path pointing to the model? I ask because if I set paths in windows, pack the scene and open it in Linux the paths will all be messed up..

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

Re: Paul Russam's Church Test-thread

Post by Whaat » Thu Jun 30, 2011 2:47 am

Pibuz wrote:..Whaat stop it: we're drooling here! :lol:


I have a question for you: when using external OBJs or 3DSs, the geometry is actually stored in the igs file OR there's only a path pointing to the model? I ask because if I set paths in windows, pack the scene and open it in Linux the paths will all be messed up..
Only the path is stored. I actually am not familiar with how paths are handled in Linux so I can't really help you this one. I don't have Linux installed for testing.

Post Reply
37 posts

Who is online

Users browsing this forum: No registered users and 38 guests