Re: [PD] exporting opengl as vector

2016-02-03 Thread Jack
I think, a loop like this should be doable (not sure, expert on shader can help) ? : Your coord vertices -> convert to RGB colors on fragment -> frame buffer as texture -> get your new color on vertices from texture (with shader). You will need to grab back texture on each frame if you want to get

Re: [PD] exporting opengl as vector

2016-02-03 Thread Jack
Le 03/02/2016 17:48, cyrille henry a écrit : > hello, > > There are exemple on how to export an obj file made of simple primitive. > (in Gem exemple directory 11.obj_exporter). But it will not work with > shaders. > > > since shader are computed in the graphic card, it's not easy to import a > g

Re: [PD] exporting opengl as vector

2016-02-03 Thread Jack
Hello, Putting XYZ coord in RGB texture could be a way to achieve what you want (in a shader) ? Things should be automatically compute between vertex and fragment (to get texture). ++ Jack Le 03/02/2016 17:33, Py Fave a écrit : > Hello list, > > > is it possible to export the result of a gem

Re: [PD] exporting opengl as vector

2016-02-03 Thread cyrille henry
Le 03/02/2016 21:20, Py Fave a écrit : that's what i was thinking too... i remember a long time ago :-) there was a "fake driver" for graphics cards made for ripping 3d game graphics.(on directx windows IIRC) yes, it was coppying the information send from the CPU to the GPU. but since you u

Re: [PD] exporting opengl as vector

2016-02-03 Thread Py Fave
that's what i was thinking too... i remember a long time ago :-) there was a "fake driver" for graphics cards made for ripping 3d game graphics.(on directx windows IIRC) does software emulator for GPU exists?debugger? on linux or windows? or a (not too hard) way to access the GPU's memory and d

Re: [PD] exporting opengl as vector

2016-02-03 Thread cyrille henry
hello, There are exemple on how to export an obj file made of simple primitive. (in Gem exemple directory 11.obj_exporter). But it will not work with shaders. since shader are computed in the graphic card, it's not easy to import a geometry back to the CPU. but you can use your algorythm to

[PD] exporting opengl as vector

2016-02-03 Thread Py Fave
Hello list, is it possible to export the result of a gem window as vectors? i am doing the classical plane 3d extrusion (via a shader) but need vectors as output 2d vector(prefered ) or 3d model what would work ? any hint welcome! i saw it was already asked a long time ago. any news in this a