SSS material tests

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

SSS material tests

Post by OnoSendai » Wed Jan 17, 2007 4:33 am

I plan to do some tests, messing round with parameters here.
Test scene is a modified one of radiances.
Will put up for download soon.
You will need to download the dragon from here:

http://www-graphics.stanford.edu/data/3Dscanrep/

The dragon is about 11cm tall in these renders.

You'll have to wait for 0.7 test 2 to use the henyey_greenstein phase function :)

Image

EDIT: replaced with 2h45m render time version.

Material:

Code: Select all

	<medium> 
		<name>jade</name> 
       
		<ior>1.6</ior> 
		<cauchy_b_coeff>0.0</cauchy_b_coeff> 
		<precedence>20</precedence> 
			
		<absorption_coefficient_spectrum> 
			<rgb> 
				<rgb>2000 2 2000</rgb> 
			</rgb> 
		</absorption_coefficient_spectrum> 
       
		<subsurface_scattering> 
			<scattering_coefficient_spectrum> 
				<uniform>
					<value>1000</value>
				</uniform>
			</scattering_coefficient_spectrum> 
			
			<phase_function> 
				<henyey_greenstein>
					<g>0.8</g>
				</henyey_greenstein>
			</phase_function> 
		</subsurface_scattering> 
	</medium> 
    
    <material> 
		<name>default</name> 

      <!--specular> 
         <transparent>true</transparent> 
         <internal_medium_name>jade</internal_medium_name> 
      </specular--> 
      
		<glossy_transparent>
			<internal_medium_name>jade</internal_medium_name> 
			<exponent>600</exponent>
		</glossy_transparent>

	</material>
Last edited by OnoSendai on Wed Jan 17, 2007 6:33 am, edited 1 time in total.

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

Post by fused » Wed Jan 17, 2007 4:55 am

That looks absolutely beautiful! Awesome render.

nice dof btw :)


when can we expect test 2?

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

Post by OnoSendai » Wed Jan 17, 2007 4:56 am

test 2 will be out in the next few days i think.

User avatar
Camox
2nd Place Winner
Posts: 587
Joined: Sat Aug 05, 2006 5:28 am
Location: Berlin Germany
Contact:

Post by Camox » Wed Jan 17, 2007 6:02 am

Play with sss. The results are not really adequate. I have to find big difficulties the right values.

The yellow material is from Bandar ! Testscene from Ono and Bandar, thx guys for sharing. :wink:


Image

sprocket
Posts: 49
Joined: Wed Aug 09, 2006 7:05 am
Location: UK

Post by sprocket » Wed Jan 17, 2007 6:13 am

Beautiful material!

Just curious, you say it is 11cm tall, is one unit in Indigo equal to one metre?
OnoSendai wrote:You'll have to wait for 0.7 test 2 to use the henyey_greenstein phase function Smile
:D Does thet mean there are other scattering functions like mie and rayleigh in the pieline too??

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

Post by OnoSendai » Wed Jan 17, 2007 6:28 am

Yes, Indigo units are metres.

I may get round to Rayleigh and Mie phase functions.
Would be pretty cool to actually simulate atmospheric scattering etc... with just a sunlight :)

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

Post by CTZn » Wed Jan 17, 2007 6:31 am

Camox wrote:thx guys for sharing. :wink:
Yes, thx people for sharing ! I'm silently copying every posted code in individual xml files for later use :D

User avatar
Camox
2nd Place Winner
Posts: 587
Joined: Sat Aug 05, 2006 5:28 am
Location: Berlin Germany
Contact:

Post by Camox » Wed Jan 17, 2007 6:45 am

CTZn wrote:
Camox wrote:thx guys for sharing. :wink:
Yes, thx people for sharing ! I'm silently copying every posted code in individual xml files for later use :D
Jo silently and auricularly ! What you use ? Your self contrived xml code ? :roll:

You are the best. :wink:

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

Post by Kosmokrator » Wed Jan 17, 2007 8:13 am

i think Ono u are genius...anyway i found an calculator for
Mie phase function i think may help u in some way

u have done amazing work in a sort time!!

http://www.lightscattering.de/MieCalc/
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

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

Post by domparis » Wed Jan 17, 2007 2:10 pm

Good result Nick, good to know a test2 is almost there :)
So i trying to get some decent result in a way to simulate skin, but like other already said, the specular effect is to much important at a ior between 1.3 and 1.5 and if i set it to a value near 1, i lost the real effect inside the volume.
Have u tracked the bug with skylight ?

Good work and thanks for your effort doing so many ehancement to your renderer !!

Dom

Ok, after seeing your code, using properly the glossy_transparent function help a lot ;)

Bandar
Posts: 22
Joined: Tue Dec 12, 2006 5:15 am
Location: Berlin, Germany
Contact:

Post by Bandar » Thu Jan 25, 2007 10:42 pm

OnoSendai wrote:Would be pretty cool to actually simulate atmospheric scattering etc... with just a sunlight :)
Oooooh, yes :shock: :shock: :shock:

User avatar
YaroslavL
Posts: 34
Joined: Wed Dec 27, 2006 7:20 am
Location: Ukraine
Contact:

Post by YaroslavL » Sun Feb 04, 2007 1:05 am

Can anybody share *.blend file with some SSS material?
Thanks.
________________
Yaroslav Lebidko
"3D XATA"
Photorealistic computer projection & design
of architecture constructions, interiors, furniture.
Ternopil, Ukraine
e-mail: ideja@3dxata.te.ua
web: www.3DXATA.com.ua

danyolgiax
Posts: 81
Joined: Wed Feb 28, 2007 4:36 am

Re: SSS material tests

Post by danyolgiax » Sat Mar 17, 2007 11:03 am

OnoSendai wrote: You will need to download the dragon from here:

http://www-graphics.stanford.edu/data/3Dscanrep/

What model i've to download?

Range data:
dragon_stand.tar.gz (6.1 MB compressed, 23 MB uncompressed)
dragon_side.tar.gz (4.2 MB compressed, 16 MB uncompressed)
dragon_up.tar.gz (5.7 MB compressed, 24 MB uncompressed)
dragon_fillers.tar.gz (6.7 MB compressed, 26 MB uncompressed)
dragon_backdrop.tar.gz (11 MB compressed, 44 MB uncompressed)

Vripped reconstruction:
dragon_recon.tar.gz (11 MB compressed, 43 MB uncompressed)

???

tnx
(Blender 2.46, Indigo 1.1.5, Blendigo 1.1.5)

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

Post by OnoSendai » Sat Mar 17, 2007 4:49 pm

You want
dragon_recon.tar.gz

mrCarnivore
Posts: 517
Joined: Sun Mar 04, 2007 6:20 am
Location: Stuttgart, Germany

Post by mrCarnivore » Tue Mar 20, 2007 10:58 am

I really have some problems with the dragon. I dl'ed the dragon and imported the .ply into blender. I tried res3 and res4 and with both I get some normals flipped and also non-manifold mesh. Re-calculating the normals made things even worse. I think it's because oof the non-manifold mesh that blender gets confused.
Can somebody pls post a blend with the dragon where those problems are not occuring?

Also I'm a little confused by the sss. I used blendigo to try to use this material:
http://www2.indigorenderer.com/joomla/f ... =8824#8824

My material code is this:

Code: Select all

	<medium>
		<name>DragonMaterial</name>
		<precedence>10</precedence>
		<basic>
			<ior>1.2</ior>
			<cauchy_b_coeff>0</cauchy_b_coeff>
			<absorption_coefficient_spectrum>
				<rgb>
					<rgb>0 4.5 5</rgb>
				</rgb>
			</absorption_coefficient_spectrum>
			<subsurface_scattering>
				<scattering_coefficient_spectrum>
					<rgb>
						<rgb>4 20 200</rgb>
					</rgb>
				</scattering_coefficient_spectrum>
				<phase_function>
					<uniform/>
				</phase_function>
			</subsurface_scattering>
		</basic>
	</medium>
	<material>
		<name>DragonMaterial</name>
		<specular>
			<transparent>true</transparent>
			<internal_medium_name>DragonMaterial</internal_medium_name>
		</specular>
	</material>
Seems almost the same to me, doesn't it? The result, however, looks nothing like the original post:
Attachments
im1174343949.jpg
What am I doing wrong?
im1174343949.jpg (112.75 KiB) Viewed 6255 times

Post Reply
34 posts

Who is online

Users browsing this forum: No registered users and 49 guests