Hi Roy,

I think the next step is just to run osg with simple dx app.

I think that osg can be combined with dx via *GraphicsWindowEmbedded* and

https://sites.google.com/site/snippetsanddriblits/OpenglDxInterop

so - that osg renders inside pair

dxRenderer->BeginGlDraw();

dxRenderer->EndGlDraw();


if you would   achive that, then you would need to subclass those dx calls
via intercept dll which provide necessary info to OpenglDxInterop
<https://sites.google.com/site/snippetsanddriblits/OpenglDxInterop> code

the other way is to use ANGLE as it will translate opengl es calls to dx -
but I think it will be few month hacking vs a week/two with above approach.

Regards
Sergey

On Sun, Dec 14, 2014 at 3:10 PM, Roy Arents <[email protected]> wrote:
>
> Hi,
>
> I've found another example which allows drawing over directx:
> http://www.codeforfun.it/2012/08/30/directx-hooking-with-a-proxy-dll/
>
> This one works for splash screen and menu's as well. Now the second step
> seems more difficult as I expected... How to add osg on top of it.
> There are quite a few solutions on how to add openGL on top of it, but I
> have not been succesfull with them so far. Perhaps someone can point me in
> the right direction?
>
> Thank you very much!
>
> Roy
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=62050#62050
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to