THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/10/2009 at 00:41, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform: Windows ;
Language(s) : C++ ;
---------
I develop a plugin based on LookAtCamera.exp and i came across the problem: MyCameraTag::Execute is called about 10 times a sec, that's not enough for my plugin.
Is there a way to make this routine be called faster by engine?
Now i run a separate thread which made such call:
while( !stop ){
GeSleep( 100 );
EventAdd( EVENT_CAMERAEXPRESSION );
}
If i try to change value to 50 for example, then Cinema starts to work very very slow
I noticed, that when moving an object in scene, Execute method is called much more often. Maybe there are some settings or priority must be changed to achieve such behaviour by default?