<br><div class="gmail_quote">Hi, I am a newbie in VTK coding. I have VTK 5.10 installed on my PC running windows XP.. I am trying to develop an application where I need to blink or glow or change the color of an actor. I am trying out on one of the demo example cone4 that came with the source code. My apologies if its a stupid question but I was wondering if I can change the properties of actor like color while it is rendered and running the window-interactor. Since from what I have understood, once the interactor runs, the actor can be moved but I cant seem to change its properties since it continues the interactor loop. I have a snippet of the code I am running, may be it might help to understand what I intend to do. The cone moves and changes color at every iteration (2 second per iteration). But if I also simultaneously want to interact which I try to do by uncommenting the highlighted text, it wont serve the purpose. Any thoughts of how I can accomplish this blinking actor. I would really appreciate your help.<br>



<br><div>Thanks,<br>Srikanth<br><br></div><br><br>  for (i = 1; i &lt; 360; i++)<br>    {<br>        if (i % 2 ==0)     // if i is even number<br>        {<br>            coneActor2-&gt;GetProperty()-&gt;SetColor(0.2, 0.63, 0.79);}// change to color 1<br>


        else                 // if is odd number<br>
        {<br>            coneActor2-&gt;GetProperty()-&gt;SetColor(0.7, 0.2, 0.19);} // change to color 2<br>      // render the image<br>      renWin-&gt;Render();<br><span style="background-color:rgb(51,255,51)">      //iren-&gt;Initialize();     <br>



      //iren-&gt;Start();</span><br>      // rotate the active camera by one degree<br>      ren1-&gt;GetActiveCamera()-&gt;Azimuth( 10 );<br>      Sleep(2000);<br>    }<br><br><br><br clear="all"><br></div><br>