As I continue my conversation with myself. :-) I realize that the solution I posted doesn't work for the current problem I have:
I have values coming in for where to put the spheres which come in between frames I am rendering. I don't have all of the values at once. Currently every time a new value comes in, I bang the gemlist. To do this without gemlist I need a way to store a gemstate/gpointer until the next value comes in. I can't find any way to store such a beast since it isn't supported by [pack] and there is no variable type for it. Is there some way to store the gpointer that I am missing?
On Sat, Mar 23, 2013 at 2:16 PM, John Harrison john.harrison@alum.mit.eduwrote:
Solved it by making a loop instead of using gemlist. Sorry for the noise. See attached for a demo of the solution if you are curious or if you might have a better/alternative solution.
-John
On Sat, Mar 23, 2013 at 11:47 AM, John Harrison < john.harrison@alum.mit.edu> wrote:
I have about 100 spheres I generate with a gemlist which currently display into a gem window. I'd like to instead put them into a gemframebuffer. Is there a way to do this? It seems that gemlist is hardcoded to display in the window? I can think of workarounds i.e. make 100 abstractions of my sphere but that seems clumsy and perhaps inefficient.