Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 10/25/26 03:42
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
Algorithmic trading course with Zorro
by Haitao_Ren. 10/25/26 03:12
Zorro tutorial ideas?
by Haitao_Ren. 10/25/26 02:47
Zorro plugin for Hyperliquid.xyz
by mayarik. 10/24/26 09:14
Tradestation missing in table of contents
by AndrewAMD. 10/23/26 14:35
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (3run, TipmyPip, opm), 7,722 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Haitao_Ren, JimSimons, julienp, julienper, KelleyAbbey
19247 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