THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/07/2007 at 06:33, xxxxxxxx wrote:
Cinema 4D Version: 9.6
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
is there a way to determine if the user is currently changing the perspective view? So, for example if he rotates or moves the view?
On 27/07/2007 at 12:02, xxxxxxxx wrote:
That's a tough one as I think Draw() is called on *every* change including view manipulations. You could store the current camera settings on each call to Draw() and compare them in the next call (before storing them) to see if something has changed (to differentiate between that and other reasons Draw() is being called).
Don't know if that'll give you what you need.
On 28/07/2007 at 01:59, xxxxxxxx wrote:
Well, that would be great if it would be changed "only" on manipulations. However, it´s also called when for example I am only hovering over the object axis or when a new object is selected.
But you are right, maybe difference check of camera parameters and matrix is the most sensible way, although my problem is to then determine the last call of these changes. Must check if after view modifications there is another call that gives me the same settings, so I can do what I want to do.
Thank you Robert!