so, basicly, if i wrap the gemstate object, i should be able to get to everything. i think this might be what i'm looking for.
Yep. Adding the GemState to all of the PDP 3D objects would pretty much allow any objects in PDP to work in a GEM render chain.
ok, then i think it's best i do it like that. still need to figure out how exactly, but it is certainly possible without too much work. actually, i can see the gem state as an extension to the already present internal GL state and work on that.
so if the 3dp object would echo anything that comes in, but use the message just as a synchronization for when to execute the GL code, would this work?
It would be interesting to actually have the PDP objects manipulate the data passed with the GemState. For example, you could write some texture coordinate manipulations, add a display list or detect lighting changes. At some point the vertex arrays will stabilize and that will offer more fun as well.
this is starting to look really good.
Make sure you are on the gem-dev list as well!
see you on gem-dev