Layered Material now handles specular

Discussion related to the LuxRender Material system, programming API and Scene file format.

Moderators: jromang, tomb, zcott, coordinators

Re: Layered Material now handles specular

Postby SATtva » Sat Oct 29, 2011 4:41 am

paco wrote:I guess covering a material with a specular/glossy mat really does make it darker: http://graphics.ucsd.edu/~henrik/papers ... materials/

Quite reasonable as more light gets reflected off the specular layer, so less can be diffusely reflected by the base.
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 5547
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: Layered Material now handles specular

Postby Lord Crc » Sat Oct 29, 2011 5:40 am

paco wrote:I guess covering a material with a specular/glossy mat really does make it darker: http://graphics.ucsd.edu/~henrik/papers ... materials/


Indeed, just look at dry asphalt vs asphalt on a rainy day :)
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 4518
Joined: Sat Nov 17, 2007 2:10 pm

Re: Layered Material now handles specular

Postby pciccone » Sat Oct 29, 2011 10:40 am

The latest push seems to break Lux. I get an error in compiling the LayeredDBSDF.h file:


In file included from /Users/<omit>/devel/luxrender/lux/core/reflection/layeredbsdf.cpp:24:
/Users/<omit>/devel/luxrender/lux/core/reflection/layeredbsdf.h:69: error: extra qualification 'lux::LayeredBSDF::' on member 'getPath'
User avatar
pciccone
Developer
 
Posts: 692
Joined: Wed Jan 13, 2010 11:02 am
Location: California

Re: Layered Material now handles specular

Postby J the Ninja » Sat Oct 29, 2011 11:11 am

pciccone wrote:The latest push seems to break Lux. I get an error in compiling the LayeredDBSDF.h file:


In file included from /Users/<omit>/devel/luxrender/lux/core/reflection/layeredbsdf.cpp:24:
/Users/<omit>/devel/luxrender/lux/core/reflection/layeredbsdf.h:69: error: extra qualification 'lux::LayeredBSDF::' on member 'getPath'


A couple things got fixed a few hours later. Did you try pulling again now and building?
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2249
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: Layered Material now handles specular

Postby jeanphi » Sat Oct 29, 2011 11:13 am

Hi,

Very interesting work. Regarding te intermediate result, note that if you have a strongly directional light, the modelled version will have a really hard time while the layered version will easily compute it.
It might be interesting to render the modeled version with sppm as it should overcome the difficulty.

Jeanphi
jeanphi
Developer
 
Posts: 6624
Joined: Mon Jan 14, 2008 7:21 am

Re: Layered Material now handles specular

Postby pciccone » Sat Oct 29, 2011 11:21 am

J the Ninja wrote:
pciccone wrote:A couple things got fixed a few hours later. Did you try pulling again now and building?

Yes, this is just now.
User avatar
pciccone
Developer
 
Posts: 692
Joined: Wed Jan 13, 2010 11:02 am
Location: California

Re: Layered Material now handles specular

Postby J the Ninja » Sat Oct 29, 2011 11:23 am

pciccone wrote:
J the Ninja wrote:
pciccone wrote:A couple things got fixed a few hours later. Did you try pulling again now and building?

Yes, this is just now.


That's strange...I just tried it and built it fine? (using Xcode 4.2 here)
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2249
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: Layered Material now handles specular

Postby pciccone » Sat Oct 29, 2011 11:25 am

I'm using XCode 3.2.6...
User avatar
pciccone
Developer
 
Posts: 692
Joined: Wed Jan 13, 2010 11:02 am
Location: California

Re: Layered Material now handles specular

Postby pciccone » Sat Oct 29, 2011 12:37 pm

I just reverted Lux to a couple of changesets back and it's compiling fine now. So, it seems that there is something that breaks compilation in the Layered mat. This is with the 64-bit compile on XCode 3.2.6

Cheers.
User avatar
pciccone
Developer
 
Posts: 692
Joined: Wed Jan 13, 2010 11:02 am
Location: California

Re: Layered Material now handles specular

Postby paco » Sat Oct 29, 2011 2:51 pm

pciccone wrote:The latest push seems to break Lux. I get an error in compiling the LayeredDBSDF.h


Sorry! I just pushed a fix, let me know if it's still not working. :oops:
paco
Developer
 
Posts: 456
Joined: Sun Feb 07, 2010 1:37 am

PreviousNext

Return to Materials, API & Scene file format

Who is online

Users browsing this forum: No registered users and 0 guests