  | | | setting frame rate | setting frame rate 2005-06-30 - By Biju Ramachandran
Back Thanks Aloys - the problem with OnNewSceneEvent is that, it is not called when you start XSI, it is called only when you do CTRL + N /File -> New Scene. I think I will go with the empty scenes concept.
Thanks
Biju
__ ____ ____ ____ ____ ____ ____
From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of Aloys Baillet Sent: Tuesday, June 28, 2005 8:07 PM To: XSI@(protected) Subject: Re: FW: setting frame rate
Hi Biju,
You might try to setup two events: OnNewSceneEvent and OnSceneLoadEvent. Then you could set the framerate according to the name of your project (ActiveProject.Name). The problem is that if you make a new scene the active project is the last used one, so you might miss some cases when the user creates a new scene then save it in another project.
What you could also do is prepare a set of empty scenes for all your projects with the good settings and make the user open these scenes instead of create a new one.
Or you could create a OnNewSceneEvent and popup a modal dialog that choose the active project and set the framerate as you want.
Hope this help!
Aloys
On 6/29/05, Biju Ramachandran <biju.ramachandran@(protected)> wrote:
Any help on this will be much appreciated.
Thanks
Biju
__ ____ ____ ____ ____ ____ ____
From: owner-xsi@(protected) [mailto: owner-xsi@(protected) <mailto:owner-xsi@(protected)> ] On Behalf Of Biju Ramachandran Sent: Monday, June 20, 2005 9:46 AM To: XSI@(protected) Subject: setting frame rate
Hi All,
Since we are working on different projects simultaneously with different frame rate setting - I need help finding a way to set the frame rate based on the project the user is working on.
One way would be to call XSI events which runs a script that checks for the project name and calls the corresponding frame rate setting function. Is there any other better way of doing this ?
Thanks
Biju
-- Aloys Baillet - XSI Technical Director Character Dpt - Animal Logic --
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft -com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn :schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
<head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @(protected) {font-family:Tahoma; panose-1 (See http://ose-1.ora-code.com):2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle19 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @(protected) Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style>
</head>
<body lang=FR-CA link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:blue'>Thanks Aloys – the problem with </span></font><font color=blue><span lang=EN-US style='color:blue' >OnNewSceneEvent is that, it is not called when you start XSI, it is called only when you do CTRL + N /File -> New Scene. I think I will go with the empty scenes concept.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;color:blue'><o:p> </o:p></span></font>< /p>
<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;color:blue'>Thanks<o:p></o:p></span></font>< /p>
<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;color:blue'><o:p> </o:p></span></font>< /p>
<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;color:blue'>Biju</span></font><font size=2 color=blue face=Arial><span lang=EN-US style='font-size:10.0pt;font-family: Arial;color:blue'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span>< /font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font ></b><font size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'> owner-xsi@(protected) [mailto:owner-xsi@(protected)] <b><span style='font-weight:bold'>On Behalf Of </span></b>Aloys Baillet<br> <b><span style='font-weight:bold'>Sent:</span></b> Tuesday, June 28, 2005 8:07 PM<br> <b><span style='font-weight:bold'>To:</span></b> XSI@(protected)<br> <b><span style='font-weight:bold'>Subject:</span></b> Re: FW: setting frame rate</span></font><span lang=EN-US><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi Biju,<br> <br> You might try to setup two events: OnNewSceneEvent and OnSceneLoadEvent.<br> Then you could set the framerate according to the name of your project (<a href="http://ActiveProject.Name">ActiveProject.Name</a>).<br> The problem is that if you make a new scene the active project is the last used one, so you might miss some cases when the user creates a new scene then save it in another project.<br> <br> What you could also do is prepare a set of empty scenes for all your projects with the good settings and make the user open these scenes instead of create a new one.<br> <br> Or you could create a OnNewSceneEvent and popup a modal dialog that choose the active project and set the framerate as you want.<br> <br> Hope this help!<br> <br> Aloys<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"> <span style='font-size:12.0pt'>On 6/29/05, <b><span style='font-weight:bold'>Biju Ramachandran</span></b> <<a href="mailto:biju.ramachandran@(protected)">biju .ramachandran@(protected)</a>> wrote:</span></font></span><o:p></o:p></p>
<div>
<p><font size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt; font-family:Arial;color:navy'>Any help on this will be much appreciated.</span> </font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt; font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt; font-family:Arial;color:navy'>Thanks</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt; font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt; font-family:Arial;color:navy'>Biju</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt; font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p><b><font size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'> <a href="mailto:owner-xsi@(protected)" target="_blank">owner-xsi@(protected)< /a> [mailto:<a href="mailto:owner-xsi@(protected)" target="_blank"> owner-xsi@(protected)</a>] <b><span style='font-weight:bold'>On Behalf Of < /span></b>Biju Ramachandran<br> <b><span style='font-weight:bold'>Sent:</span></b> Monday, June 20, 2005 9:46 AM<br> <b><span style='font-weight:bold'>To:</span></b> <a href="mailto:XSI@(protected)" target="_blank">XSI@(protected)</a><br> <b><span style='font-weight:bold'>Subject:</span></b> setting frame rate</span> </font><o:p></o:p></p>
</div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o :p></o:p></span></font></p>
<p><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt; font-family:"Courier New"'>Hi All,</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt; font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt; font-family:"Courier New"'>Since we are working on different projects simultaneously with different frame rate setting - I need help finding a way to set the frame rate based on the project the user is working on. </span></font> <o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt; font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt; font-family:"Courier New"'>One way would be to call XSI events which runs a script that checks for the project name and calls the corresponding frame rate setting function. Is there any other better way of doing this ?</span></font><o :p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt; font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt; font-family:"Courier New"'>Thanks</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt; font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt; font-family:"Courier New"'>Biju</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt; font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt; font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt; font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family: Arial'> </span></font><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><br> <br> <br> -- <br> Aloys Baillet - XSI Technical Director<br> Character Dpt - Animal Logic<br> -- <o:p></o:p></span></font></p>
</div>
</body>
</html>
|
|
 |