> :: I am intrigued by this idea although i do not follow perfectly what
> you mean, i mean i could populate a struct with vertice 
> information i get
> that part, i could create an array or these structs, or 
> multidimensional
> array thereof, but i still cannot see how once all the 
> structs are updated
> and its 'drawing time' how i can pass the vertice info to the 
> opengl, unless
> i just use include gl/gl.h and useopengl calls directly in my 
> main code rather
> than within the Fl_Gl_Window::draw() method?


I'm sorry, I think we've got some kind of disconnect going here - I
don't understand what it is that you don't understand...

What I mean is, in the draw() method of the window that you derived from
Fl_Gl_Window, you can run through the array of structs and use that (the
vertice, colour, whatever, data in the struct) to draw (using GL) the
polygons needed to render your scene...

What am I missing here?



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

Reply via email to