HI Marcus...
Thanks for ur instant reply.
I went thru some test examples in System/Window folder.
I tried calling window->render(renderAction) in my code, but it drew only
black in my window. what i want to know is, with fltk do we have to manually
draw our scenegraph thru traversing it and calling openGL commands as
appropriate to my object types, or OpenSG does it for us???
In other examples, they have used simplemanager and just assigning it the
GlutWindow and calling redraw on simplemanager does the work.
Can we do something like that with fltk or I have to code it without
simplemanager????
-----Jaideep
Marcus Lindblom <[EMAIL PROTECTED]> wrote: Jaideep Khadilkar wrote:
> Hi.....
>
> I want to use Fltk as GUI with OpenSG. I am new to OpenSG and don't
> know how to proceed. Is it the case that only Glut , Qt can be used???
> In my Fltk code I have created a class called FltkWindow derived from
> GlWindow(which is a special class in Fltk) , where I put my OpenGL calls
> to draw in the window.
> But how to use that with OpenSG?? Do I have to use PassiveWindow???
> All the examples with OpenSG are in GLUT or QT, so not being able to
> figure out. It will be really helpful if u can give an example.
PassiveWindow is waht you want to use. It's quite simple, just call
render on it where you'd put your glClear()/glDraw() calls.
There might be an example or test in the Source/System/Window directory.
Cheers,
/Marcus
-------------------------------------------------------------------------
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
---------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.-------------------------------------------------------------------------
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