Script Bug 2004-05-21 - By Jabbar Raisani
Back Forgot to take the last frame into account.
Sorry for the extraneous posts.
Here it is slightly changed:
oCtr = GetValue("PlayControl.In")
oOut = GetValue ("PlayControl.Out")
While oCtr<=oOut
SetValue "Dog_Head.Head.polymsh.clustershapecombiner.Point_AUTO_Wt", 0
SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture _Projection5.CameraTxt.Freeze", False
SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture _Projection5.CameraTxt.Freeze", True
SetValue "DOG_HEAD.HEAD.polymsh.clustershapecombiner.Point_AUTO_Wt", 1
refresh
RenderPass "", "", oCtr, oCtr, 1
oCtr = oCtr + 1
if oCtr <= oOut then
SetValue "PlayControl.Current", oCtr
end if
Wend
Maybe this time, Jabbar -- -- Original Message -- -- From: Jabbar Raisani To: XSI@(protected) Sent: Friday, May 21, 2004 10:28 AM Subject: Re: Script Bug
Ok, I think this will work then. I didn't think about the dangers of the hacked Scripted Op But here is a script that should work:
oCtr = GetValue("PlayControl.In")
oOut = GetValue ("PlayControl.Out")
While oCtr<oOut
SetValue "Dog_Head.Head.polymsh.clustershapecombiner.Point_AUTO_Wt", 0
SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture _Projection5.CameraTxt.Freeze", False
SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture _Projection5.CameraTxt.Freeze", True
SetValue "DOG_HEAD.HEAD.polymsh.clustershapecombiner.Point_AUTO_Wt", 1
refresh
RenderPass "", "", oCtr, oCtr, 1
SetValue "PlayControl.Current", oOut
oCtr = oCtr+1
Wend
RenderPass "", "", oCtr, oCtr, 1
Maybe this time, Jabbar <!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> <P>Forgot to take the last frame into account.</P> <P>Sorry for the extraneous posts.</P> <P>Here it is slightly changed:</P> <P> </P><FONT size=2> <P>oCtr = GetValue("PlayControl.In")</P> <P>oOut = GetValue ("PlayControl.Out")</P> <P>While oCtr<=oOut </P> <P> SetValue "Dog_Head.Head.polymsh.clustershapecombiner.Point_AUTO_Wt", 0</P> <P> SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection5 .CameraTxt.Freeze", False</P> <P> SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection5 .CameraTxt.Freeze", True</P> <P> SetValue "DOG_HEAD.HEAD.polymsh.clustershapecombiner.Point_AUTO_Wt", 1</P> <P>refresh</P> <P>RenderPass "", "", oCtr, oCtr, 1</P> <P>oCtr = oCtr + 1</P> <P>if oCtr <= oOut then </P> <P> SetValue "PlayControl.Current", oCtr</P> <P>end if</P> <P>Wend</P> <P> </P></FONT><FONT face=Arial size=2></FONT> <DIV><FONT size=1><FONT face=Arial size=2>Maybe this time,</FONT></FONT></DIV> <DIV><FONT size=1><FONT face=Arial size=2> Jabbar</FONT></DIV></FONT></FONT></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=jabbar@(protected) href="mailto:jabbar@(protected)">Jabbar Raisani</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> Friday, May 21, 2004 10:28 AM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Script Bug</DIV> <DIV><BR></DIV> <DIV><FONT face=Arial size=2>Ok, I think this will work then.</FONT></DIV> <DIV><FONT face=Arial size=2>I didn't think about the dangers of the hacked Scripted Op</FONT></DIV> <DIV><FONT face=Arial size=2>But here is a script that should work:</FONT></DIV> <DIV><FONT size=1><FONT face=Arial size=2></FONT></FONT> </DIV> <DIV><FONT size=1><FONT face=Arial size=2><FONT size=2> <P>oCtr = GetValue("PlayControl.In")</P> <P>oOut = GetValue ("PlayControl.Out")</P> <P> </P> <P>While oCtr<oOut </P> <P>SetValue "Dog_Head.Head.polymsh.clustershapecombiner.Point_AUTO_Wt", 0</P> <P>SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection5 .CameraTxt.Freeze", False</P> <P>SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection5 .CameraTxt.Freeze", True</P> <P>SetValue "DOG_HEAD.HEAD.polymsh.clustershapecombiner.Point_AUTO_Wt", 1</P> <P>refresh</P> <P>RenderPass "", "", oCtr, oCtr, 1</P> <P>SetValue "PlayControl.Current", oOut</P> <P>oCtr = oCtr+1</P> <P>Wend</P> <P>RenderPass "", "", oCtr, oCtr, 1</P></FONT></FONT></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT size=1><FONT face=Arial size=2>Maybe this time,</FONT></FONT></DIV> <DIV><FONT size=1><FONT face=Arial size=2> Jabbar</FONT></DIV></BLOCKQUOTE></FONT></BODY></HTML>
|
|