Michael Frumin wrote:
On 1/17/06, *Brian Paul* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Michael Frumin wrote:
> I am attempting to capture 3D geometries from OpenGL applications for
>
Have you looked at OpenGL's feedback feature? It lets you capture
OpenGL geometry after it's been transformed to screen space, before
rasterization.
Wow, I wish I had known about that earlier. That's a great idea, in
fact it was super easy to rig something up to capture the whole buffer.
Any suggestions as to how to easily build a parser for the binary string
returned in the buffer, that is structured according to the grammar at:
http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/feedbackbuffer.html
(preferable in windows, but *nix would be fine just to see how it works)?
You don't really need a parser. I think that a switch statement with
some loops (over the polygon vertices) would suffice.
-Brian
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev