> On a related note to last post i have been drawing 'pseudo3d' objects > in an FL_Group so far for my 3d game of life, but i really need to > convert it to OpenGl drawing objects now that it is working.
Or do you? If the drawing is working and provides the view you need, what will GL provide in addition? Drawing with GL is very different from drawing by filling a group with coloured widgets... > I am stuck with the idea of how my gl window can 'know' about drawing > all my world cells? You make some data abstraction that represents your world - maybe just an array of little structs or something - and at drawing time (for example, there are other options, GL is very flexible...) you interpret that abstraction and use GL to render the appropriate scene. You do not update the GL scene as you run your model, only the data is changed. Once you have a "complete" set of data ready you request a redraw() and carry on... > I mean i cannot directly cll the gl window draw() > function (...can i?) I would advise against it. The effects can be "interesting". (Though technically under some circumstances you can get away with that... But don't...) There are several GL drawing examples in the test folder, and Greg has a few more on his Cheat Pages. You can refer to any and all of those for some hints. Note that drawing with GL is very different from drawing with fltk "native" calls, so you'll have a wee bit of work to do there! SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

