Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
decimal places and XSI 4.0

decimal places and XSI 4.0

2004-05-06       - By Jim Rothrock

 Back
Reply:     1     2     3     4     5  

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.&nbsp; 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>&nbsp;</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>&nbsp;&nbsp;&nbsp; <FONT face=Arial
 color=#0000ff size=2>UIType = "Number"</FONT></SPAN></DIV>
 <DIV><SPAN class=200140500-07052004>&nbsp;&nbsp;&nbsp; <FONT face=Arial
 color=#0000ff size=2>{</FONT></SPAN></DIV>
 <DIV><SPAN class=200140500-07052004>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;
 <FONT face=Arial color=#0000ff size=2>Decimals = 8;</FONT></SPAN></DIV>
 <DIV><SPAN class=200140500-07052004>&nbsp;&nbsp;&nbsp; <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>&nbsp;</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>