stag Posted October 25, 2009 Report Posted October 25, 2009 Hi, I've learnt somewhere that the maximum refresh rate was set at 18hz in FS. (2d panels in FS9) Are there any way to create 2D gauges using FSUIPC and displaying smooth graphics ? Or, the only way to get smooth frames is to create a new software like project magenta ? Thanks
Pete Dowson Posted October 25, 2009 Report Posted October 25, 2009 I've learnt somewhere that the maximum refresh rate was set at 18hz in FS. (2d panels in FS9) I don't know. It might be. 18Hz is the normal windows timer "tick" (55 mSecs). Are there any way to create 2D gauges using FSUIPC and displaying smooth graphics ? You should be able to get updated values from FS directly (from the gauge token variables interface, or via FSUIPC, at least as fast as the frame rate, so i suppose you can. I'm afraid I've never written a gauge and don't know the gauge SDK at all. You'd need to write it in C or C++, not in XML like the more recent ones. Regards Pete
stag Posted October 26, 2009 Author Report Posted October 26, 2009 By the way Pete, does FSUIPC work with flash (action script) ?
Pete Dowson Posted October 26, 2009 Report Posted October 26, 2009 By the way Pete, does FSUIPC work with flash (action script) ? Sorry, I've never heard of it. What do you want to do? FSUIPC supports Lua plug-ins, which are really powerful -- I added socket support recently, for networking and internet access from a plug-in. Regards Pete
stag Posted October 26, 2009 Author Report Posted October 26, 2009 I'm trying to get vector graphics in FS. Lua can support vector graphics ? Thanks, Sébastien
Pete Dowson Posted October 26, 2009 Report Posted October 26, 2009 I'm trying to get vector graphics in FS.Lua can support vector graphics ? No. There's no graphics support in any of my programs. you need the panels SDK. Regards Pete
stag Posted October 27, 2009 Author Report Posted October 27, 2009 Ok. I might be wrong but does FSUIPC can stock variables into xml files ?
Pete Dowson Posted October 27, 2009 Report Posted October 27, 2009 I might be wrong but does FSUIPC can stock variables into xml files ? Sorry, what does "can stock" mean? For FSX or ESP there are facilities in FSUIPC4, which extensions in Lua, for reading and writing L:vars, variables which are used in XML gauges. Is that what you mean? Please check the FSUIPC documentation. The L:var macro facilities are described in the Advanced User's guide and the Lua facilities in the Lua Library document. there's also an example Lua program which lists L:vars for you. Regards Pete
stag Posted October 27, 2009 Author Report Posted October 27, 2009 Sorry, I meant, does FSUIPC can write L:vars into xml file ? (with FS9) Then I would like to read that xml file for vector graphic rendering (using flash for exemple). I'll check the documentation, thanks.
Pete Dowson Posted October 27, 2009 Report Posted October 27, 2009 Sorry, I meant, does FSUIPC can write L:vars into xml file ? (with FS9) No, sorry, only with FSX and ESP. Regards Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now