Re: [Mesa3d-dev] Capturing 3D geometries

2006-01-18 Thread Brian Paul
Which coordinate space do you want to get your geometry in? Vertex programs produce vertices in clip coordinates (after the modelview and projection transformations). So even if you could capture coords immediately after the vertex program, you may have to apply an inverse transformation to

Re: [Mesa3d-dev] Capturing 3D geometries

2006-01-17 Thread Michael Frumin
you're right.  that worked, but it turns out the FeedbackBuffer is not the approach I'm looking for.  there's no Z-depth because its in screen coordinates, and it clips everything to the viewing frustum, as opposed to giving me polygons _before_ clipping and flattening. will maybe pursue the re-use

Re: [Mesa3d-dev] Capturing 3D geometries

2006-01-17 Thread Brian Paul
Michael Frumin wrote: On 1/17/06, *Brian Paul* <[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 OpenG

Re: [Mesa3d-dev] Capturing 3D geometries

2006-01-17 Thread Michael Frumin
On 1/17/06, Brian Paul <[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 captureOpenGL geometry after it's been transformed to screen space, before rasterization.Wow, I

Re: [Mesa3d-dev] Capturing 3D geometries

2006-01-17 Thread Brian Paul
Michael Frumin wrote: I am attempting to capture 3D geometries from OpenGL applications for re-use in an art and animation context, and am wondering if Mesa could be a useful tool for this. I have been developing and testing a "DLL Proxy" on MS windows that captures, and forwards OpenGL calls f

Re: [Mesa3d-dev] Capturing 3D geometries

2006-01-17 Thread Michał Król
2006/1/16, Michael Frumin <[EMAIL PROTECTED]>: > > I am attempting to capture 3D geometries from OpenGL applications for re-use [...] > 1) Would the Mesa code for > compiling/interpreting/evaluating vertex programs against a > set of vertices be easily re-usable by my DLL proxy? If you want to sim

[Mesa3d-dev] Capturing 3D geometries

2006-01-16 Thread Michael Frumin
I am attempting to capture 3D geometries from OpenGL applications for re-use in an art and animation context, and am wondering if Mesa could be a useful tool for this. I have been developing and testing a "DLL Proxy" on MS windows that captures, and forwards OpenGL calls from the application