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?
 
Script Bug

Script Bug

2004-05-21       - By Jabbar Raisani

 Back
Reply:     1     2  

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>&nbsp;</P><FONT size=2>
<P>oCtr = GetValue("PlayControl.In")</P>
<P>oOut = GetValue ("PlayControl.Out")</P>
<P>While oCtr&lt;=oOut </P>
<P>&nbsp;&nbsp;&nbsp; SetValue
"Dog_Head.Head.polymsh.clustershapecombiner.Point_AUTO_Wt", 0</P>
<P>&nbsp;&nbsp;&nbsp;SetValue
"DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection5
.CameraTxt.Freeze",
False</P>
<P>&nbsp;&nbsp;&nbsp; SetValue
"DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection5
.CameraTxt.Freeze",
True</P>
<P>&nbsp;&nbsp;&nbsp; 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 &lt;= oOut then </P>
<P>&nbsp;&nbsp;&nbsp; SetValue "PlayControl.Current", oCtr</P>
<P>end if</P>
<P>Wend</P>
<P>&nbsp;</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>&nbsp;&nbsp;
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>&nbsp;</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>&nbsp;</P>
 <P>While oCtr&lt;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>&nbsp;</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>&nbsp;&nbsp;
Jabbar</FONT></DIV></BLOCKQUOTE></FONT></BODY></HTML>