About GL_SELECT and GL_FEEDBACK
2 posters
About GL_SELECT and GL_FEEDBACK
Hi! I am about to finish my first project with SIO2 and I am doing some research for some sort of a "tech demo" that I would like to do for the iPhone.
The thing is that for this guessed tech demo I would need GL_FEEDBACK,glFeedbackBuffer and so on for doing some stuff, but OpenGL|ES 1.1 does not support it.
I have seen that you have included some picking code inside sio2, I didn't go trough the entire code on picking, but do you think that is possible for the device to add these features? I mean if I could just copy the code from opengl into my sources and use it even if its not included into OGLES1.1, if that's possible at all...
The thing is that for this guessed tech demo I would need GL_FEEDBACK,glFeedbackBuffer and so on for doing some stuff, but OpenGL|ES 1.1 does not support it.
I have seen that you have included some picking code inside sio2, I didn't go trough the entire code on picking, but do you think that is possible for the device to add these features? I mean if I could just copy the code from opengl into my sources and use it even if its not included into OGLES1.1, if that's possible at all...
exavi- Posts : 37
Join date : 2008-10-21
Re: About GL_SELECT and GL_FEEDBACK
The picking in SIO2 is done using the color picking method... pretty much the fastest way to pick something on the device and precise at the pixel... What exactly to you want to do that would require you to use GL_SELECT or GL_FEEDBACK???
Cheers,
Cheers,
Re: About GL_SELECT and GL_FEEDBACK
I started to write a while back a small modeling program just with a couple of basic features. I was thinking about continuing it and the combination of glUnproject+glReadPixels just does not work for picking vertexes (or trying it)
exavi- Posts : 37
Join date : 2008-10-21
Re: About GL_SELECT and GL_FEEDBACK
I really don't see why glReadPixels would not work... just render the vertices as points using sio2SetColorIndex to generate a unique color based on the index...
Re: About GL_SELECT and GL_FEEDBACK
thanks! I will give it a try
exavi- Posts : 37
Join date : 2008-10-21
Permissions in this forum:
You cannot reply to topics in this forum
|
|