Indigo v0.7 test 2

General News and accouncements regarding the Indigo render engine
User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Indigo v0.7 test 2

Post by OnoSendai » Fri Jan 19, 2007 4:58 am

Not too many changes this time, mostly fixing + improving the SSS.
There are some important improvements to the Phong model tho.
Also there's a new antialiasing option. (super_sample_factor)

http://www.indigorenderer.com/montecarl ... _test2.zip

Please point out any bugs!


Changelog:

v0.7 test 2
* reverse gamma correcting diffuse and phong diffuse RGB colours
* improved phong sampling
* increased max albedo for diffuse and phong substrate to 0.9
* diffuse colour for diffuse and phong materials now not used when an albedo texture is used.
* added henyey_greenstein phase function
* fixed crash with SSS and no area lights.
* improved SSS russian roulette
* added super_sample_factor option to inifile.
* added display_period option to inifile.
EDIT(something i forgot): fixed energy loss issue in SSS media, causing darkening in highly scattering media.

About super_sample_factor:
This can be set in the inifile.txt.
It basically renders the image internally at a higher res, then downsamples it just before display and disk save time.
Should help aliasing around bright edges a bit; the downside is that it uses lots of RAM (image buffer ram usage is proportional to super_sample_factor squared).
Set it to 2 if you can spare the RAM, 3 or 4 is probably overkill, 1 is no change from before.

more info to follow soon.

EDIT:
Here's an example of a medium using the new Henyey-Greenstein phase function:

Note that the g parameter may vary with wavelength (e.g. g_spectrum could be a RGB spectrum), but here it is a constant with value 0.9, which corresponds to strong forwards scattering.

Code: Select all

<medium> 
		<name>medium1</name> 
       
		<ior>1.0</ior> 
		<cauchy_b_coeff>0.0</cauchy_b_coeff> 
		<precedence>20</precedence> 
			
		<absorption_coefficient_spectrum> 
			<rgb> 
				<rgb>0 0 0</rgb> 
			</rgb> 
		</absorption_coefficient_spectrum> 
       
		<subsurface_scattering> 
			<scattering_coefficient_spectrum> 
				<uniform>
					<value>500</value> 
				</uniform>
			</scattering_coefficient_spectrum> 
			
			<phase_function> 
				<henyey_greenstein>
					<g_spectrum>
						<uniform>
							<value>0.9</value>
						</uniform>
					</g_spectrum>
				</henyey_greenstein>
			</phase_function> 
		</subsurface_scattering> 
	</medium> 
Last edited by OnoSendai on Fri Apr 20, 2007 11:24 pm, edited 3 times in total.

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Fri Jan 19, 2007 5:05 am

Nick, I would like to have your man-babies.

:D

Awesome!

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

Post by OnoSendai » Fri Jan 19, 2007 5:06 am

zsouthboy wrote:Nick, I would like to have your man-babies.

:D

Awesome!
lol :)

User avatar
domparis
Posts: 37
Joined: Sun Nov 26, 2006 8:55 am

:)

Post by domparis » Fri Jan 19, 2007 5:41 am

Exellent nick, your are a king !!

Now let's fire some tests renders :)

Dom

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

Post by manitwo » Fri Jan 19, 2007 5:47 am

yeahh :mrgreen: :twisted:

User avatar
DaveC
Posts: 596
Joined: Mon Sep 11, 2006 12:20 am
Location: The Tottenham, London, UK
Contact:

Post by DaveC » Fri Jan 19, 2007 5:58 am

This is great! What does Henyey Greenstein do? :?:
The hardest part of BEING yourself is FINDING yourself in the first place...
http://thebigdavec.googlepages.com

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Fri Jan 19, 2007 6:09 am

Cool cool cool !

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

Post by manitwo » Fri Jan 19, 2007 6:13 am

DaveC wrote:What does Henyey Greenstein do?
Google wrote:The Henyey-Greenstein phase function is often used to characterize the angular distribution of scattered light ...
:wink:

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

Re: ======== Indigo v0.7 test 2 =========

Post by manitwo » Fri Jan 19, 2007 6:28 am

OnoSendai wrote:Please point out any bugs!
i'm not 100% sure but "blend_material_test.xml" give me a strange result :?

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Fri Jan 19, 2007 6:29 am

Well, thats not what I call an explanation manitwo :lol:

Nick did that better I think:
it is a [...] value [...] which corresponds to [...] forwards scattering.
My try to explain, should be inaccurate: The higher the value, the higher the amount of light that will appear in the opposite side of the object, relative to the light source.

User avatar
Pinko
Posts: 58
Joined: Wed Aug 09, 2006 11:06 pm
Location: Italy

Post by Pinko » Fri Jan 19, 2007 8:11 am

Tnx Ono!!!
Pinko. :wink:

User avatar
Zom-B
1st Place 100
Posts: 4700
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: ======== Indigo v0.7 test 2 =========

Post by Zom-B » Fri Jan 19, 2007 8:29 am

Damn Damn Damn!!!!
Since 0.7t1 I'm playing around with it all the Day, getting nothing else done,
and now you are doing this to me.. another Indigo Week just started today *g* :lol:
OnoSendai wrote:* added henyey_greenstein phase function
Does this mean we can use the "Avarage Cosine (g)" Values in this Paper, just like they are?
And does a - (minus) for g means a 0 or no number?

Thanks a lot for "display_period", this is very handy!!!
Last edited by Zom-B on Fri Jan 19, 2007 8:43 am, edited 1 time in total.
polygonmanufaktur.de

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

Post by OnoSendai » Fri Jan 19, 2007 8:34 am

Yup, u can use the 'g' values from the paper.

Phil
Posts: 154
Joined: Mon Nov 06, 2006 2:22 am
Location: St. Wendel, Germany

Post by Phil » Fri Jan 19, 2007 8:37 am

hi,

:D really nice to see how dynamic, is the developpment here!
Much thanks, I will test some features on the weak-end.

Regards, Phil

User avatar
Kosmokrator
Posts: 1141
Joined: Sat Jul 29, 2006 11:52 am
Location: Greece-Athens

Post by Kosmokrator » Fri Jan 19, 2007 8:44 am

:) :) :D Ono makes people smile!thnx
1)Core i7 965XE stock CLOCK ,PSU:CHIEFTEC 850W
M/B ASUS P6T DELUXE,WATERCOOLING ZALMAN RESERATOR 2
MEMORY:6GB CORRSAIR @1600,Ati HD 4870x2,
MONITOR:LG 1950SQ,CASE:THERMALTAKE SOPRANO

Post Reply
37 posts

Who is online

Users browsing this forum: No registered users and 39 guests