OpenGL mode?

43 views
Skip to first unread message

James Lamanna

unread,
Sep 29, 2008, 5:37:44 PM9/29/08
to KML Developer Support - Google Earth Browser Plugin
Is there any way to make the plugin use OpenGL? (I'm assuming it is
using DX by default..)

Thanks.

barryhunter [KML Guru]

unread,
Sep 30, 2008, 7:13:41 AM9/30/08
to KML Developer Support - Google Earth Browser Plugin

Roman N

unread,
Sep 30, 2008, 1:14:45 PM9/30/08
to KML Developer Support - Google Earth Browser Plugin
Hi James,

There is an OpenGL fallback in case DirectX fails; is there a specific
reason you need OpenGL?

- Roman

James Lamanna

unread,
Sep 30, 2008, 7:55:04 PM9/30/08
to KML Developer Support - Google Earth Browser Plugin
Specifically I want to obtain access to the opengl context so I can
draw opengl graphics on top of the display area (like menus).

Roman N

unread,
Oct 1, 2008, 6:16:37 PM10/1/08
to KML Developer Support - Google Earth Browser Plugin
Hi James,

That's outside the scope of the plugin; we are looking into ways of
allowing browser-rendered content to appear on top of the plugin;
there's a feature request out for something similar to what you're
trying to achieve: http://code.google.com/p/earth-api-samples/issues/detail?id=56

- Roman

James Lamanna

unread,
Oct 20, 2008, 2:08:54 PM10/20/08
to KML Developer Support - Google Earth Browser Plugin
Hi Roman,
I believe what I want to do is outside the scope of that feature
request also.
I'll submit a feature request on this too, but really want I want to
do is migrate our integration against the COM API to the GE Plugin
since it seems as though the COM API is going by the wayside in favor
of the GE Plugin...

We have custom OpenGL menus that we draw on top of the globe which is
possible using some tricks since GE by itself is a windows
application.
However, these tricks seem to no longer work with the GE Plugin,
though I have been able to host the GE Plugin as a standalone C#
application.
The best would obviously be to have a Google-sanctioned way of doing
things like this, almost an "AfterDraw" event mechanism potentially.

Thanks,

-- James


On Oct 1, 3:16 pm, Roman N wrote:
> Hi James,
>
> That's outside the scope of the plugin; we are looking into ways of
> allowing browser-rendered content to appear on top of the plugin;
> there's a feature request out for something similar to what you're
> trying to achieve:http://code.google.com/p/earth-api-samples/issues/detail?id=56
>
> - Roman
>
> On Sep 30, 4:55 pm, James Lamanna wrote:
>
> > Specifically I want to obtain access to theopenglcontext so I can
> > drawopenglgraphics on top of the display area (like menus).
>
> > On Sep 30, 10:14 am, Roman N wrote:
>
> > > Hi James,
>
> > > There is anOpenGLfallback in case DirectX fails; is there a specific
> > > reason you needOpenGL?
>
> > > - Roman
>
> > > On Sep 29, 2:37 pm, James Lamanna wrote:
>
> > > > Is there any way to make the plugin useOpenGL? (I'm assuming it is
Reply all
Reply to author
Forward
0 new messages