Plugin with real time interaction?
On 25/09/2014 at 03:20, xxxxxxxx wrote:
I have a beginner question. I want to get into scripting with C4D. I'm competent with Java, C++ and have used C4D for years. My question is - is it possible to write a plugin which can respond in real time to the movement of the viewing camera. For example - I would like to move the camera through space and have a plugin create new random geometry as you move - the shapes and materials could also change as you move.
Is this kind of thing possible ? also - what is best for this, COFFEE or Python ?
On 12/10/2014 at 11:07, xxxxxxxx wrote:
As it comes to speed, I'd certainly prefer C++.
I think, ToolData or DescriptionToolData would be the plugin types to play this for a start. For example see the Liquid Painting Tool from the SDK examples. It generates geometry while dragging the mouse around.
Sebastian (s_bach) pointed out to me, that I am probably misguided. Indeed I was of the opinion, you were talking about the connection to a real physical camera. You are probably not...
In that case forget the proposed plugin types and rather stick to a combination of MessageData and SceneHook.
On 19/10/2014 at 02:48, xxxxxxxx wrote:
I think I figured out how to do it anyway thanks - in the process of learning it all - having fun :)