Nico D. Posted June 7, 2007 Share Posted June 7, 2007 It is posible to extract transmited and reflected ligth separately as deep rasters using Mario's glass shader ? Quote Link to comment Share on other sites More sharing options...
Mario Marengo Posted June 8, 2007 Share Posted June 8, 2007 It is posible to extract transmited and reflected ligth separately as deep rasters using Mario's glass shader ? Yes, it's possible. The variables you want are: vector Crefl, for reflection, and vector Ctrans for transmission. Here's the whole list of export variables (that can become deep raster layers): // Exports export vector n // shading normal export vector wo // unit direction to the viewer export vector wr // unit direction of mirror reflection export vector wt // unit direction of transmission export float kr // fresnel reflection coefficient export float kt // fresnel transmission coefficient export vector Camb // ambient component of result export vector Cdiff // diffuse component of result export vector Cspec // specular component of result export vector Cbrdf // result of brdf (amb+diff+spec) export vector Crefl // reflection component of result export vector Ctrans // transmission component of result You can also view a lot of these by changing the "Output" parameter in the shader itself. Hope that helps. P.S: Sos Argentino? ... yo tambi Quote Link to comment Share on other sites More sharing options...
Nico D. Posted June 8, 2007 Author Share Posted June 8, 2007 thanks Mario, very usefull for compositing ! P.S: Sos Argentino? ... yo tambi Quote Link to comment Share on other sites More sharing options...
MIguel P Posted June 8, 2007 Share Posted June 8, 2007 thanks Mario, very usefull for compositing !Si, argentino tambien ! Vaya! M Quote Link to comment Share on other sites More sharing options...
Mario Marengo Posted June 8, 2007 Share Posted June 8, 2007 [quote name='MIguel P Quote Link to comment Share on other sites More sharing options...
Nico D. Posted June 8, 2007 Author Share Posted June 8, 2007 Viva la revoluci Quote Link to comment Share on other sites More sharing options...
Marc Posted June 9, 2007 Share Posted June 9, 2007 I'd just like to add that I agree with all that you say. Good job. ...er.... Quote Link to comment Share on other sites More sharing options...
Mario Marengo Posted June 9, 2007 Share Posted June 9, 2007 I'd just like to add that I agree with all that you say. Good job. ...er.... Dammit, chief! I really wish you hadn't said anything -- that's two months of undercover work down the drain... we were so close! Anyway... using Mario's account as a front, we managed to at least uncover some bits and pieces. Here's what we've got so far: It's an international plot to start some kind of revolution codenamed "Viva" -- someone suggested it might be a reference to Zapata (a.k.a: "Mexican shoe"), but since so far none of the members are confirmed Mexicans, we've dropped that line of inquiry for now). The key bit of intelligence though, came with the mention of a secret meeting to discuss an "asado", which we've now decoded as an acronym for "All Singing All Dancing Ordnance" (!) ... clearly this has "Weapons Of Mass Destruction" written all over it. Our cover is compromised. All further communications to be carried out over secure channel: 09F911029D74E35BD84156C5635688C0 Agent BRDF over and out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.