Hi Jaideep,
Jaideep Khadilkar wrote:
> HI Marcus....
>
> Sorry for the top post. But yahoo mail works like that....
>
> Anyway.. attached is the test code. My original code is much bigger.
> But I have trimmed it to avoid confusion, I have checked this code also.
> And getting the same Blank Window.
>
> Basically there are three layers.
>
> Main -------- FltkGUI ------------ FltkWindow
>
> where FltkWindow is derived from glWindow , where we are supposed
> to draw objects, and where I have used Passive Window.
>
> Tell me if there is any confusion.
I didn't get it to compile, but looking at it the main thing I'm missing is
handling resizes. You need to tell the PassiveWindow the size of the OpenGL
window, otherwise it will draw a 1x1 window which won't show you much. Take a
look at the tutorials to see what you need to call.
Hope it helps
Dirk
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users