Capturing the camera location and write to an INI file

Posted By: Wayne

Capturing the camera location and write to an INI file - 04/29/09 11:11

Hi chaps,

I need a little advide, I had a camera that moves around a room to pre set camera coorinates x,y,z, Pan, Rotate and tilt. What I am looking at now, is with the press of a button, writing any given possition to an ini file. So the end user can set where they want the camera's to be located and select they can predifine 6 possitions that write to and update and read from the file.

Has anyone got any ideas on this?

Regards
Posted By: Pappenheimer

Re: Capturing the camera location and write to an INI file - 04/29/09 11:23

This should give you a start:

http://www.conitec.net/beta/afile_var_write.htm

You can write the positions into a text file and read them from that text file later.

Was this your question?
Posted By: Wayne

Re: Capturing the camera location and write to an INI file - 04/29/09 11:29

In short that was the question.

Many thanks for you help

Regards Wayne
Posted By: Pappenheimer

Re: Capturing the camera location and write to an INI file - 04/29/09 11:45

Maybe, you have to write the values of the position first into an array and copy it later from the array into the file, because writing into a a file is quite slow.
© 2023 lite-C Forums