SkIndigo Progress Updates (Whaat's Development Blog)

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 » Fri Apr 20, 2007 2:29 am

OK...This is my last fog test that I will post. I just thought it looked too cool. No XML editing, no complicated setup, just one light, 3 glass spheres, and turning on Sketchup Fog. Notice the volume caustic below the bottom sphere caused by light from the volume caustic on the upper sphere. Ono, how do you do it??
Attachments
Fogtest5.jpg
Fogtest5.jpg (225.4 KiB) Viewed 4924 times

User avatar
manitwo
Posts: 1029
Joined: Wed Jul 05, 2006 4:50 am
Location: Tirol - Austria

Post by manitwo » Fri Apr 20, 2007 2:38 am

:shock: .... seriously

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

Post by OnoSendai » Fri Apr 20, 2007 2:41 am

lol... a volume caustic... of a volume caustic. Cool! :)

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

Post by Kram1032 » Fri Apr 20, 2007 4:28 am

:shock: :shock: :shock:
nothing more to say!
I'd like to see more fog tests!
You don't have to stop!
Maybe, you should an own thread, though...

Koba
Posts: 36
Joined: Wed Jul 05, 2006 3:44 am

Post by Koba » Fri Apr 20, 2007 5:37 am

That last fog test is so sweet.

Koba

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

Post by Whaat » Mon Apr 23, 2007 6:26 pm

I still have a lot of testing and bug-fixing before the next release but here's what's going on....

Instancing has now been implemented. Still a couple of glitches but almost finished. For those who don't know, instancing can be a HUGE memory and export speed optimization depending on your model. For Sketchup users, if you use components that are copied several times, you will see a significant export speed increase when enabling instancing. You will be able to enable instancing for any component in your model. It is a completely optional feature.

Here are some numbers from the titanic model (downloaded from 3D warehouse):

Without Instancing:
Export Time=1m 44sec
XML Filesize=51 MB

With Instancing:
Export Time=41 seconds
XML Filesize=24 MB

In other news, the "Failure to Load Texture" problem that most users of SkIndigo 0.7test7 have likely been experiencing will be fixed. All of your textures will be exported even if they are not currently applied to any geometry in your model (bump maps, unused materials, etc.)
Attachments
titanic.jpg
titanic model from 3D Warehouse
titanic.jpg (183.39 KiB) Viewed 4853 times

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

Post by Whaat » Thu Apr 26, 2007 2:22 am

@Kram1032:

Here's one more fog test/instancing test for you. Way in the distance you can just barely see the second bridge support. BTW, models are from the 3D Warehouse.

Whaat
Attachments
FoggyGoldenGate2.jpg
Foggy Golden Gate Bridge
FoggyGoldenGate2.jpg (90.51 KiB) Viewed 4807 times
Last edited by Whaat on Fri Apr 27, 2007 4:14 am, edited 1 time in total.

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

Post by Kram1032 » Thu Apr 26, 2007 2:39 am

I see :D
weak fog - great effect!
More or less an additional DoF that also washes out the colour :D
the car instances look great :D

peer
Posts: 45
Joined: Wed Jul 26, 2006 8:43 am
Location: Rotterdam, The Netherlands

Post by peer » Tue May 08, 2007 7:29 pm

Hi Whaat, what settings do you use for fog? I tried a very low type fog, but it still is quite foggy. I don't know if that's (another :-) ) Mac thing.

Regards,

Peter
Mac Pro 3GHz quadcore, iMac dualcore 2 GHz, Vectorworks 2008, Sketchup 7 Pro, Indigo Renderer, Cheetah3d 4.6.3, OS X 10.5.6

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

Post by Whaat » Wed May 09, 2007 2:29 am

For fog export, the left-most slider should always be set at zero distance. The right-slider should be set to the distance that you want objects to be completely blocked by the fog (not visible). That should get you started. You might have to do a couple quick test renders until you are satisfied. If your fog is too thick, drag the right slider closer to infinity.

Warning: expect very long render times when using fog. :wink:

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

Post by Whaat » Wed May 16, 2007 9:08 am

Here is my first test with the awesome new diffuse transmitter material:
Any regular diffuse material that has Sketchup transparency enabled will be exported as a diffuse transmitter. Actually, during export, it will be converted internally to a Blend material that blends between the diffuse transmitter material and a 100% diffuse material. The Sketchup opacity slider controls the amount of blending. All this is in keeping with my WYSIWYG concept with SkIndigo.
From left to right the opacity is set at 80, 50, and 30 (blend factor=0.8,0.5,0.3). Notice the variation between the inner and outer surface of the lampshade for each setting. Interesting....
One of the best features of this material is that it does not need to have thickness. I think SU users will really appreciate this one, Ono... :) :) Now, if only you waited a bit longer between releases so I could take a much-needed break from working on this..... :lol: :lol:
BTW, I know these are the ugliest lampshades in the world...
Attachments
Diffuse Transmitter.jpg
All materials are the same (diffuse) except for opacity setting
Diffuse Transmitter.jpg (176.97 KiB) Viewed 4663 times

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Wed May 16, 2007 9:18 am

Nice !
I'm about to add this new mat type into Maxigo too and i like your approach.
I wanted to ask about the diffuse material (i haven't done any test myself yet)
Is it only plain color or does it has the same bitmap applied as for transmitter material?

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

Post by Whaat » Wed May 16, 2007 9:28 am

suvakas: The diffuse component is a carbon copy of the diffuse_transmitter material (same texture). This is how they are exported.

Code: Select all

<material>
			<name>_D_Lampshade_D_</name>
			<diffuse>
				<colour>1.0 1.0 1.0</colour>
				<albedo_texture>
					<uv_set>uv</uv_set>
					<path>TX_Tutorial_SkIndigo07\Carpet_Pattern_LeafSquares_Tan.jpg</path>
 					<exponent>2.2</exponent>
 				</albedo_texture>
			</diffuse>
		</material>
		<material>
			<name>_DT_Lampshade_DT_</name>
			<diffuse_transmitter>
				<colour>1.0 1.0 1.0</colour>
				<albedo_texture>
					<uv_set>uv</uv_set>
					<path>TX_Tutorial_SkIndigo07\Carpet_Pattern_LeafSquares_Tan.jpg</path>
 					<exponent>2.2</exponent>
 				</albedo_texture>
			</diffuse_transmitter>
		</material>
		<material>
			<name>Lampshade</name>
			<blend>
				<a_name>_DT_Lampshade_DT_</a_name>
				<b_name>_D_Lampshade_D_</b_name>
				<blend_factor>0.8</blend_factor>
			</blend>
		</material>

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

Post by crc » Wed May 16, 2007 10:27 am

that looks really great Whaat,
can't wait to try that one out!!

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Wed May 16, 2007 7:45 pm

Gotcha !
Thanks for the explanation !

Post Reply
123 posts

Who is online

Users browsing this forum: No registered users and 9 guests