XSI and user frame buffers 2004-05-28 - By Guy Rabiller
Back Hey Jim,
this is an old message from Dave Lajoie:
> any shader can have a frame buffer statement like this > upon using the shader in a scene, it will instruct MR > to make those frame buffer available for the shader. > > phenomenon "myshader_declare" > { > ... > output options = "rgba,tag,z"; > output options = "rgba+,tag,z+"; > output options = "fb0,rgba+,z+"; > ... > } > > The string is the exact same thing as the mi file definitin for frame > buffers.
I still don't get how to set the file format and filename however, but at least a frame buffer is created and available.
Does it helps ? -- guy rabiller | 3d technical director @ LaMaison
-- -- Original Message -- -- From: Jim Rothrock To: XSI@(protected) Sent: Tuesday, May 04, 2004 7:16 PM Subject: XSI and user frame buffers
Is it possible to define mental ray user frame buffers in XSI? I cannot find any mechanism for doing this. -- Jim Rothrock | jimr@(protected) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hey Jim,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>this is an old message from Dave Lajoie:</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV> > any shader can have a frame buffer statement like this<BR>> upon using the shader in a scene, it will instruct MR<BR>> to make those frame buffer available for the shader.<BR>><BR>> phenomenon "myshader_declare"<BR>> {<BR>> ...<BR>> output options = "rgba,tag,z";<BR>> output options = "rgba+,tag,z+";<BR>> output options = "fb0,rgba+,z+";<BR>> ...<BR>> }<BR>><BR>> The string is the exact same thing as the mi file definitin for frame<BR>> buffers.<BR></DIV> <DIV><FONT face=Arial size=2>I still don't get how to set the file format and filename however, but at least a frame buffer is created and available.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Does it helps ?</FONT></DIV> <DIV>--<BR>guy rabiller | 3d technical director @ LaMaison<BR></DIV> <BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=jimr@(protected) href="mailto:jimr@(protected)">Jim Rothrock</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=XSI@(protected) href="mailto:XSI@(protected)">XSI@(protected)</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, May 04, 2004 7:16 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> XSI and user frame buffers</DIV> <DIV><BR></DIV> <DIV><FONT face=Arial size=2>Is it possible to define mental ray user frame buffers in XSI? I cannot find any mechanism for doing this.</FONT></DIV> <DIV><FONT face=Arial size=2>--<BR>Jim Rothrock | <A href="mailto:jimr@(protected)">jimr@(protected)</A></FONT></DIV>< /BLOCKQUOTE></BODY></HTML>
|
|