Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Capturing the camera location and write to an INI file #263391
04/29/09 11:11
04/29/09 11:11
Joined: Apr 2009
Posts: 10
W
Wayne Offline OP
Newbie
Wayne  Offline OP
Newbie
W

Joined: Apr 2009
Posts: 10
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

Re: Capturing the camera location and write to an INI file [Re: Wayne] #263393
04/29/09 11:23
04/29/09 11:23
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
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?

Re: Capturing the camera location and write to an INI file [Re: Pappenheimer] #263394
04/29/09 11:29
04/29/09 11:29
Joined: Apr 2009
Posts: 10
W
Wayne Offline OP
Newbie
Wayne  Offline OP
Newbie
W

Joined: Apr 2009
Posts: 10
In short that was the question.

Many thanks for you help

Regards Wayne

Re: Capturing the camera location and write to an INI file [Re: Wayne] #263398
04/29/09 11:45
04/29/09 11:45
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
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.


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1