Dear list,
I couldn't find anyone answering my question on the list... (sob!) Given the traffic these days, I can see various reason for this...
1- Nobody understood what I meant 2- Nobody ever had this problem 3- Noobody ever solved this problem within PD 4- My mail just got drowned in friday's mail rush 5-The question is too hard and nobody wanted to waste time answering this. 6-The question is too easy and nobody wanted to waste time answering this. 7- other?
still searching ... waiting for a kind GEM/OpenGL guru
to help me find sleep again many thanks! vinc (eyes wide shot)
--- Georges Babouche infopapier@yahoo.com.sg wrote:
Date: Fri, 25 Mar 2005 20:43:22 +0800 (CST) From: Georges Babouche infopapier@yahoo.com.sg Subject: GEM : How to create vertex dynamically? / drawing 3D lines? To: pd-list@iem.at
Hi,
I would like to be able to draw lines in a 3D space with a Wacom pen tablet, and I cannot find any solution for creating the vertex.
I had managed to do that with Jitter quite simply with the sketch object and commands "moveto" "lineto".
But it seems that there is no way to dynamically add new vertex and link them to get a line (bezier or even a simple).
I thought I could it with VertexArrays but the function handling pointers are not (?) accessible in GEM. Example : glEnableClientState(GLenum array) is instanciated correctly but glVertexPointer(GLint size, (...), const GLvoid *pointer); is not.
If this is actually implemented, are there any reference guide for how one should type the names and command? Something like GLdefine for pointers?
I guess dynamically instanciating new [GEMglVertex3f] objects every time I get a message from the tablet is not the solution. (Well, I hope too ;-)
The operation seems quite common though... I guess that some people must have done similar stuff, if the GEMtablet exists... Did I miss a sooooo simple function/command? Are there any objects/patchs already doin this? Any patch repository for GEM could be nice...
Last: since I would like to be able to deform these lines after drawing them, maybe my solution is not the best... (and sure isn't at the present time)
Thanks for any helpful advice! Vincent (still RTFM and STFW for now)
Do You Yahoo!? Download the latest ringtones, games, and more! http://sg.mobile.yahoo.com
Do You Yahoo!? Download the latest ringtones, games, and more! http://sg.mobile.yahoo.com