Hello Carsten,

> unless GLUTWindow also derives from a NativeWindow
..oh, I missed that, just confirmed it X)

I guess I will try to write some kind of dummy native window for GLUTWindow
this should also simplify the compilation of passivewindow etc..

thanks!

best regards,
Victor

On Tue, Nov 5, 2019 at 4:16 PM Carsten Neumann <carsten.p.neum...@gmail.com>
wrote:

> Hello Victor,
>
> as you've noticed NativeWindow is a typedef for the platform specific
> implementation of accessing an OpenGL context. PassiveWindow is
> intended for cases where you supply an OpenGL context that you have
> created for use by OpenSG. As such you are correct that if you don't
> need that functionality you don't need the PassiveWindow. For
> WebAssembly I guess you could either add a native window
> implementation that uses whatever mechanism is available to create
> OpenGL contexts or go with the GLUTWindow; unless GLUTWindow also
> derives from a NativeWindow - sorry I don't remember off the top of my
> head...
> Good luck!
>
> Cheers,
> Carsten
>
> On Tue, Nov 5, 2019 at 8:34 AM Victor Haefner <victor.haef...@gmail.com>
> wrote:
> >
> > Hi all,
> >
> >
> > I am attempting a webassembly port of OpenSG
> > ..I got to over 60% :D
> >
> > I'm stuck at VRPassiveWindow.h including VRNativeWindow.h
> >
> > As far as I can tell there are 4 native windows, X, Win32, Cocoa and EAGL
> > Does anybody know how to proceed from there?
> > Would I even need the passive window?
> > Webassembvly ports do have GLUT, so GLUTWindow would work..
> >
> > hmm, the more I write.. I guess I'll try without the passive window..
> >
> > Is someone else working on this? Any help/hints would be greatly
> appreciated! :D
> >
> >
> > best regards,
> > Victor
> > _______________________________________________
> > Opensg-users mailing list
> > Opensg-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/opensg-users
>
>
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to