WebSimConnect

Extend your Flight Simulation experience

Blog

view:  full / summary

Synthetic Vision released to public

Posted by WebSimConnect on September 28, 2017 at 5:25 AM Comments comments (4)

19 month of studying, prototyping, devlopment, server configuration, security setting, testing, bug fixing, documentation, fine tuning ...

The roll-out has finnaly arrived on 27/9. First ever SVS for FSX/P3D is available for public in the classic C172 Skyhawk designed and integrated by Carenado. Well done.


WebSimConnect 2.1 released

Posted by WebSimConnect on July 10, 2017 at 4:45 AM Comments comments (2)

I am pleased to announce the release of WebSimConnect 2.1 software framework for FSX/P3D add-ons. Major changes compared to 2.0 version are the following:


 added Prepar3D V4 x64 support

 Installation program that setup the engine and installs the examples.

 WebSimXML, a new component that allows to render HTML5 content as an CustomDraw Element in the XML gauge allowing to build XML gauges with some HTML5 content. It also enables the developers both to write in XML some JavaScript code executed on the HTML5 element, and write XML statements in JavaScript. The HTML5 element can also be interactive and responsive to mouse events.

 WebSimSocket, a new component that enables bi-directional communication between FSX/P3D and a web page opened on external browser. You can manipulate HTML5 content using either XML or C++ and from JavaScript you can execute XML code or call your C++ functions. All communication is done using websocket protocol. No more http. Web page is listening to events coming from the sim rather than querying it like in http.

 updated WebSimData component allowing to use the framework with no C++ coding.


The detailed overview can be downloaded from here:


https://www.dropbox.com/s/l44x8ta23kx33k0/WebSimConnect Overview v2.1.pdf?dl=0


The examples include:


 Opaque 2D gauge window with HTML5 content

 Transparent 2D gauge window

 3D embedded gauge in VC

 HTML5 content as an element in the XML gauge

 Manipulating HTML5 content through C++ code

 Manipulating HTML5 content through XML code

 Using WebSimData configuration to send data from the Sim to HTML5

 Using WebSimData to send data from the Sim to externally browsed HTML5 content

 Using WebSimSocket channel and executing XML command from the JavaScript code.

 Using WebSimTexture to render dynamic textures with HTML5 content.


The details how to run the examples are in the overview document. With the installation programs it is now easy to see the demo in action. Just run it and select Beech Baron 58 (WebSimConnect) aircraft. All examples runs well on FSX, P3D V2, V3, V4, with exception that WebSimTexture is not supported on FSX (it uses P3D PDK and DX11)


The full SDK with examples source code and documentations is not yet released. It will be in fe days.


The framework is free for non-commercial use.


Enjoy, Marcin

Synthetic Vision System

Posted by WebSimConnect on October 21, 2016 at 6:40 PM Comments comments (2)

Dear All,

 

I have not posted for a long time, but it does not mean I did not progress with WebSimConnect, quite the contrary, I was quite busy with it building Synthetic Vision component. While WebSimConnect aims at providing development framework for FSX/P3D/XP addons, it is the first instrument I have built. It is also configurable but requires some minor integration work on modelled aircraft by its system developer. It was showcased on October 10th on FSDeveloper site:

http://fsdeveloper.com/forum/threads/synthetic-vision-system-quite-a-milestone.438466/

The first embodiment will be done for Pilatus PC-24 by IRIS simulation.

I hope I will find other modellers willing to integrate in their aircrafts. SVS becomes more and more popular, especially in GA.

The same Synthetic Vision can be reused for other purposes, for example as an overlay for Head-up Guidance System as developed by Rockwell Collins. The Proof of Concept for such embodiment was presented on FSDeveloper site on 15th of October:

http://fsdeveloper.com/forum/threads/head-up-guidance-hgs-another-milestone.438496/

I am not sure I will find a proper home for it, but it is ready to be used by interested parties.

What next, first I want to rebuild and migrate my website, I have a virtual server on the cloud where I host terrains and maps for different SVS implementation and I want to use it for my web server. I have not decided which CMS system to use. I also have a domain www.websimconnect.com which currently points to the old web site. I need to restructure the content of the website and feature the major embodiments of my work. Stay tuned.

Marcin

 


Tornado Panavia and Red Panda success story

Posted by WebSimConnect on December 18, 2015 at 5:35 AM Comments comments (0)

Dear All,

My recent collaboration with Sim Skunk Works has concluded in a fruitful result as in just few days the first ever aircraft powered by WebSimConnect will be released. It is a militrary aircraft Tornado Panavia. Severals systems were symulated using SSW RedPanda technology based on my components. The systems are built in a very creative way, taking the advantage of HTML5 rich content building to utilize GPU power to render the complex system like

HUD (Heads Up Display)

TFR ( Terrain Following Radar)

ESRRD (E-Scope Radar Repeater Display)

RPMD ( Radar Projected Map Display)

TV-TAB ( Tornado TV-Tab Head-Down Display)

The release note and DEMO version is available at the following location:

http://www.simskunkworks.com/store/index.php/ssw-pa-200-tornado

More info, on the SSW Facebook fun page at:

https://www.facebook.com/Sim-Skunk-Works-1395203754116505/?fref=ts

My sincere congratulations to all SSW member for this spectacular achievement !

In the meantime I am finishing 2.1 version deployment package including new components like WebSimSocket and WebSimXML and DataRefs API for X-Plane. My next target would be integration with another SIM platform. Hope to have also fruitful results soon.


Cheers


Marcin

WebSimConnect 2.0 for FSX/P3D/X-Plane Win/Mac

Posted by WebSimConnect on July 30, 2015 at 5:30 AM Comments comments (0)

After some heavy development effort I have completed version 2.0 of WebSimConnect Framework. It has two major changes, I replaced the rendering engine (it is not backward compatible with 1.x components of WSC) and developed X-Plane version for Mac OSX 32 and Mac OSX 64. The biggest challenge for me was X-Plane Mac support. I am a "Windows guy" for many years so I had to learn a lot in a short time. I have dusted off my old MacBook (which I have never liked much), upgraded to OSX Yosemite, installed all the tools, synchronised with my on-line code repository and started coding. First of all, I replaced some core functions with cross-platform code and that was the easy part, Then I had to dig into OSX Cocoa world and investigate a bit how X-Plane for Mac is built. It was quite a challenge, however I am glad that after weeks of ups and downs (oh yes there was a time I was frustrated as hell) I managed to integrate WebSimConnect with X-Plane OSX version. I hope you will like the results. Mac version comes also with simple HTTP server called WebSimConnectX.

 

Few remarks on the future. The rendering engine version is fixed for all future 2.X versions.I will not replace is for at least 2 years. Every new minor version of the tool for the same major 2.X release (i.e. 2.1, 2.2. etc) will use the same engine and will be always backward compatible with the previous 2.X versions.

 

I have planned to develop XML based (DataRefs in X-Plane) API for WebSimGauge however I have not managed before holidays which I start this Saturday. I will come back to this task in September, so please stay tunned.

 

As usual, the deployment package contains all binaries, SDK and samples. Please consult the "Installation Guide" on how to install and configure the tool. For Mac, apart from copy-paste method you need to run one script to let X-Plane know about the new framework.

 

no video this time, functionalities has not changed

 

http://websimconnect.webs.com/download

 

Cheers,

 

Marcin


WebSimData

Posted by WebSimConnect on July 6, 2015 at 6:35 PM Comments comments (0)

The need is a mother of invention.

 

When Daan "Dutcheeseblend" from FSDeveloper approached me to help him with integrating my WebSimGauge into his Fokker models, I repeated what I am always saying when using my FSX/P3D X-Plane HTML5 framework, that the best implementation for plane makers is to build custom DLL gauge that will communicate with FSX and WebSimGauge instead of using WebSimConnect HTTP which is targeted for external network access. I provide sample project with source code (WebSimClient) that demonstrate the use. What I did not realize is that not all modellers are familiar with C++ programming as most of the gauges are XML based. I decided to build something universal, and this is how WebSimData was born on extremely hot evening (it was 39C during a day) with a cold glass of beer.

 

What WebSimData does is simple. It reads with specified frequency SimConnnect variables specified in the configuration file and calls JavaScript function that updates the content defined in the HTML. Most of the gauges are read only gauges, so such a tool is very handy as no C++ programming is needed. Everything is specified in the simple INI file, for example:

 

[WebSimData01]

Frequency=5

id=tablet

file=websimdata_map.html

function=updateMap

data00=Plane Longitude,degrees,FLOAT32

data01=Plane Latitude,degrees,FLOAT32

data02=PLANE HEADING DEGREES TRUE,degrees,FLOAT32

 

This configuration defines 3 SimConnect variables (data00, data01, data02 attributes) and FSX will read the values every 5 visual frames (frequency attribute) and will call updateMap() JavaScript function (function attribute) defined in the websimdata_map.html page (file attribute) that is rendered by WebSimGauge browser which identifier is tablet (id attribute).

 

WebSimData.dll is a gauge so it needs to be specified in the panel.cfg along with WebSimGauge gauges.

 

You can download the package at:

 

https://www.dropbox.com/s/y5xd7qr89znyfp4/WebSimData_1.5.zip?dl=0

 

as usual with my tools, binaries, sdk and sample (rotating moving map) included.

 

Cheers,

 

Marcin

 

P.S.

For me it was a nice break to build such a tool as I am struggling with porting my framework to Mac version of X-Plane which is giving me a lot of headache (OSX and Cocoa are not my best friends). I hope to have the results very soon.

X-Plane support

Posted by WebSimConnect on May 18, 2015 at 6:05 PM Comments comments (0)

Let me share some news with you.
Most of FSX/P3D work is finsihed and the components are mature enough to be used in the FSX/P3D products. I will share the news with you once the first virtual aircrafts using WSC hit the market.

Some time ago I decided to target another sim platforms. The natural choice was to port WebSimgauge to XPlane - great multi platfrom flight simulator. Today I am proud to announce WebSimGaugeX - a plugin for X-Plane 10 which can do the same as FSX and even a little bit more.

The idea behind is to create unified cross-sim framework for HTML5 gauges, so you would not need to bother whether your PFD/MFD is for FSX or X-Plane. I hope you'll like the results.

The interface to communicate with WebSimGaugeX is the same IWebSimClient C++ class that can be easily adopted for LUA script programming.

I hope you'll like it.

Appart from X-Plane, I developed WebSimScript component. It offers two major functionalities:

- allows you to write JavaScript programs that communicates with WebSimGauge or WebSimTexture

- allows you to build own scripting functionalities (JavaScript objects) with your own native implementation.

WebSimScript is shipped with one example with source code, which offers XML variables via JavaScript code.

The next weeks I focus on porting my code for Mac - so it would be cross-platform for X-Plane. I expect some results this summer.


Cheers, Marcin

WebSimTexture - Christmas gift

Posted by WebSimConnect on December 12, 2014 at 9:05 AM Comments comments (0)

Today I deployed version 1.4 of the WebSimConnect suite.


It consists of several improvments compared to version 1.3. The main change is the rendering engine that was replaced with new version and bringing full GPU support for the rendered web pages.

The true gift is a new component calles WebSimTexture. It is capable to map the existing file textures residing on the hard drive to dynamic textures defined by HTML5 content.

Just watch my new posted videos to see what I mean.

I also posted a new videos to show you the installation process (copy-paste method) and how to remotely debug web pages embedded in gauges and texture.

I hope you'll enjoy.


I am leaving for a short holidays, though I will try to read and reply to emails regulary. I'll be back beginning of January.


Marcin.


11/11 First Year Anniversary

Posted by WebSimConnect on November 11, 2014 at 7:50 AM Comments comments (0)

It all started a year ago when I decided to go public with my work. This is a very special day for myself.


A year ago, I did not know where it would lead. I started with simple WebSimConnect HTTP server for mobile use for simmers, now it eveloved into full framework for web based tool for FSX and P3D.


No doubt, WebSimGauge was a milestone, however this is not ALL I want to offer you. I am preparing a new gift, a Christmas gift for All simmers. So, please stay tuned ....

WebSimConnect 1.3 suite released

Posted by WebSimConnect on October 16, 2014 at 11:25 AM Comments comments (1)

Dear All,

As promissed earlier this month, I released today the version 1.3 of WebSimConnect suite.The scope of this version was focused on webpage and add-on integration. Please find below the list of new features:


1. Bug fixing


  • When having multiple WebSimGauges in the Virtual Cockpit, it resulted in the crash
  • Reloading aircraft/flight did not release all memory
  • Fixed rendering issue that could result in the crash during the rendering
  • Fixed sizing of the windowed gauge
  • Fixed mouse handling allowing drag operations in the 2D window mode. Please note, dragging in 3D is not possible, due to a bug that exists in FSX/P3D (Support ticket for P3D created)


2. Callback and JavaScript integration

A new class was created to handle messages related to JavaSctipt processing. A Function called from JavaScript code can be captured in the C++ code. Additionally three message handlers OnBeforeBrowse OnPageLoaded, OnBeforeClose were added to the Callback class.

3. Support for IFRAME

All functions operating on HTML5 page have optional szFrame argument that allows choosing to which IFRAME window the call should be redirected.

4. CrossDomain calls and PDF rendering

The page can be enabled to allow cross domain calls. This is required to render PDF images with the use of pdf.js - JavaScript PDF reader - https://github.com/mozilla/pdf.js/

5. Disable rendering

A new function that allows to switch on/off rendering. It is useful for Virtual Cockpit gauges that unlike windowed gauges are always visible.

6. Debugging

The deployment package comes with Release and Debug versions of WebSimBrowser.dll. The Debug version allows to remotely debug the page rendered in the gauge using external Chromium based browser.

7. Synthetic Vision System example

New example (WebSimSVS) with full source code, so you can explore how to build new generation gauges with my software.

All the new functionality can be tested with updated WebSimClient project. I hope you will enjoy it.


The suite is available in the Download section


Cheers


Rss_feed