HI Guys,
I am trying to create standalone app independent from browser using Microsoft web browser control.
I have 2 problems as below.
- Hello world cesium demo on IE 11 and Firefox done not work giving me below error. chrome works great.
Error constructing CesiumWidget.
Visit http://get.webgl.org to verify that your web browser and hardware support WebGL. Consider trying a different web browser or updating your video drivers. Detailed error information is below:
- RuntimeError: The browser supports WebGL, but initialization failed.
Error
at t (http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:418:6877)
at et (http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:448:10768)
at vt (http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:457:4538)
at A (http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:462:15102)
at J (http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:464:24941)
at Global code (http://cesiumjs.org/Cesium/Apps/HelloWorld.html:22:5)*
- I trying to create a standalone app using Microsoft web browser control using below code but getting same error as mentioned above.
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace cesium
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
RegWebBrowserIn32BitIE8Mode();
}
private void RegWebBrowserIn32BitIE8Mode()
{
RegistryKey key = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION");
key.SetValue(Path.GetFileName(Application.ExecutablePath), 0, RegistryValueKind.DWord);
key.Close();
}
private void buttonGo_Click(object sender, EventArgs e)
{
webBrowserCesium.Navigate(textBox1.Text);
// webBrowserCesium.Navigate("http://cesiumjs.org/Cesium/Build/Apps/CesiumViewer/index.html");
}
}
}
Please help me how to get this working I have below hardware configuration for my workstation.
Processor: Dual Intel Xeon 5650 (Two processors)
Memory:24GB
Graphic Card: ATI FirePro V5800
Thanks in advance.
Tejas