  | | | setting frame rate | setting frame rate 2005-06-28 - By Aloys Baillet
Back 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 <http://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)] *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 --
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<br> <br><div><span class="gmail_quote">On 6/29/05, <b class="gmail_sendername">Biju Ramachandran</b> <<a href="mailto:biju.ramachandran@(protected)">biju .ramachandran@(protected)</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font -family: Arial; color: navy;" lang="EN-US">Any help on this will be much appreciated.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font -family: Arial; color: navy;" lang="EN-US"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font -family: Arial; color: navy;" lang="EN-US">Thanks</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font -family: Arial; color: navy;" lang="EN-US"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font -family: Arial; color: navy;" lang="EN-US">Biju</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font -family: Arial; color: navy;" lang="EN-US"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face= "Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN -US">
<a href="mailto:owner-xsi@(protected)" target="_blank" onclick="return top.js .OpenExtLink(window,event,this)">owner-xsi@(protected)</a> [mailto:<a href= "mailto:owner-xsi@(protected)" target="_blank" onclick="return top.js .OpenExtLink(window,event,this)"> 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" onclick="return top.js.OpenExtLink(window,event ,this)">XSI@(protected)</a><br> <b><span style="font-weight: bold;">Subject:</span></b> setting frame rate< /span></font><span lang="EN-US"></span></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> < /span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-US">Hi All,</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-US"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-US">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></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-US"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-US">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></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-US"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-US">Thanks</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-US"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-US">Biju</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-US"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-US"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-US"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial ;" lang="EN-US"> </span></font></p>
</div>
</blockquote></div><br><br><br>-- <br>Aloys Baillet - XSI Technical Director<br >Character Dpt - Animal Logic<br>--
|
|
 |