Direct Camera Control in ProScene
in
Contributed Library Questions
•
2 years ago
Hi.
I'm continuing to have a lot of fun working with ProScene, but there is something I can't get my head around. I know ProScene has extensive camera profiles (such as 'wheeled arcball' and 'third person' for example), but I can't find a simple, more basic way of manipulating the camera object. (And I'll admit that this is almost certainly down to my lack of knowledge of 3D programming conventions and maths, not the library!)
I want to be able to apply translations and rotations to a single object (the camera), without having to use a look-at point, or camera target. In 3D modelling tools that I've used in the past (such as 3Ds Max) this was called a 'free' camera, rather than a targeted camera.
My ultimate aim in this is to be able to control the camera in a ProScene using my 3D Connexion Space Navigator, (there is an old discussion on it here:
http://processing.org/discourse/yabb2/YaBB.pl?num=1201465182 which works very well for integration with processing). However as this is a fairly rare desktop accessory, for the purposes of this discussion we should just think of the question as one of controlling the camera directly with any source of translation and rotation input.
I suspect the answer to this might lie in ProScene's first or third person camera profiles, but I can't see an interface to the translation and rotation in the reference docs. Has anyone got any direction on this?
cheers
Jim
1