  | | | decimal places and XSI 4.0 | decimal places and XSI 4.0 2004-05-06 - By Jim Rothrock
Back That works for scalar parameters, but not colors. I guess I'll have to use separate red, green, and blue scalar parameters. -- Jim Rothrock | jimr@(protected) -- -- Original Message -- -- From: Halfdan Ingvarsson To: XSI@(protected) ; Softimage Support Call Dispatcher Sent: Thursday, May 06, 2004 5:17 PM Subject: RE: decimal places and XSI 4.0
In the "Defaults" section of your shader, you can configure the number edit control like so:
my_fine_control { UIType = "Number" { Decimals = 8; } }
which will give you at least eight decimal places. <!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>That works for scalar parameters, but not colors. I guess I'll have to use separate red, green, and blue scalar parameters.</FONT></DIV> <DIV>--<BR>Jim Rothrock | <A href="mailto:jimr@(protected)">jimr@(protected)</A></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=hingvars@(protected) href="mailto:hingvars@(protected)">Halfdan Ingvarsson</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=XSI@(protected) href="mailto:XSI@(protected)">XSI@(protected)</A> ; <A title=support@(protected) href="mailto:support@(protected)">Softimage Support Call Dispatcher</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, May 06, 2004 5:17 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: decimal places and XSI 4.0</DIV> <DIV><BR></DIV> <DIV><SPAN class=200140500-07052004><FONT face=Arial color=#0000ff size=2>In the "Defaults" section of your shader, you can configure the number edit control like so:</FONT></SPAN></DIV> <DIV><SPAN class=200140500-07052004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=200140500-07052004><FONT face=Arial color=#0000ff size=2>my_fine_control<BR>{</FONT></SPAN></DIV> <DIV><SPAN class=200140500-07052004> <FONT face=Arial color=#0000ff size=2>UIType = "Number"</FONT></SPAN></DIV> <DIV><SPAN class=200140500-07052004> <FONT face=Arial color=#0000ff size=2>{</FONT></SPAN></DIV> <DIV><SPAN class=200140500-07052004>   ; <FONT face=Arial color=#0000ff size=2>Decimals = 8;</FONT></SPAN></DIV> <DIV><SPAN class=200140500-07052004> <FONT face=Arial color=#0000ff size=2>}</FONT></SPAN></DIV> <DIV><SPAN class=200140500-07052004><FONT face=Arial color=#0000ff size=2>}</FONT></SPAN></DIV> <DIV><SPAN class=200140500-07052004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=200140500-07052004><FONT face=Arial color=#0000ff size=2>which will give you at least eight decimal places.</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>
|
|
 |